Improve libm-test XFAILing for ibm128-libgcc.
[glibc.git] / ChangeLog
blob983f0d731022b21687c047c3a099c55fbc05c5dc
1 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
4         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5         and those that can underflow to zero.
6         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7         add others.
8         * math/auto-libm-test-out: Regenerated.
10         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
11         supported.
12         (feholdexcept_tests): Skip tests requiring exceptions or rounding
13         modes support if not supported.
15         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
16         Add libc.so PLT entry.
17         (__tls_get_addr): Make ld.so PLT entry optional.
19 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
22         * string/bits/string3.h: ... here.
24 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
26         [BZ #21028]
27         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
28         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
29         if EXCEPTION_TESTS returns false.
31 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33         [BZ #20558]
34         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
35         strings_fortified.h.
36         [__USE_MISC] (bzero): Likewise.
37         [__USE_MISC] (explicit_bzero): Likewise.
38         * string/strings.h: Include strings_fortified.h.
39         * string/Makefile (headers): Add strings_fortified.h.
40         * string/bits/strings_fortified.h: New file.
41         * include/bits/strings_fortified.h: Likewise.
43 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
45         * elf/tst-tls13.c (TIMEOUT): Remove.
46         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
47         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
48         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
49         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
50         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
52         [BZ #21026]
53         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
54         (readahead): New syscall entry.
56 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
58         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
59         around tests of strncat with large sizes.
61         * malloc/tst-malloc.c: Include <libc-internal.h>.
62         (do_test): Disable -Walloc-size-larger-than= around tests of
63         malloc with negative sizes.
64         * malloc/tst-mcheck.c: Include <libc-internal.h>.
65         (do_test): Disable -Walloc-size-larger-than= around tests of
66         malloc and realloc with negative sizes.
67         * malloc/tst-realloc.c: Include <libc-internal.h>.
68         (do_test): Disable -Walloc-size-larger-than= around tests of
69         realloc with negative sizes.
71         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
72         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
73         allowed to 16 ulps.
74         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
75         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
76         * math/auto-libm-test-out: Regenerated.
78 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
80         * math/Makefile (libm-calls): Move wrappers...
81         (libm-compat-call-auto): Here.
82         (libm-routines): Add items in libm-compat-calls-auto.
83         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
84         the filenames of the wrappers that have been renamed.
85         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
86         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
88         * math/w_acos.c: Add _compat suffix to filename.
89         * math/w_acosf.c: Likewise.
90         * math/w_acosh.c: Likewise.
91         * math/w_acoshf.c: Likewise.
92         * math/w_acoshl.c: Likewise.
93         * math/w_acosl.c: Likewise.
94         * math/w_asin.c: Likewise.
95         * math/w_asinf.c: Likewise.
96         * math/w_asinl.c: Likewise.
97         * math/w_atan2.c: Likewise.
98         * math/w_atan2f.c: Likewise.
99         * math/w_atan2l.c: Likewise.
100         * math/w_atanh.c: Likewise.
101         * math/w_atanhf.c: Likewise.
102         * math/w_atanhl.c: Likewise.
103         * math/w_cosh.c: Likewise.
104         * math/w_coshf.c: Likewise.
105         * math/w_coshl.c: Likewise.
106         * math/w_exp10.c: Likewise.
107         * math/w_exp10f.c: Likewise.
108         * math/w_exp10l.c: Likewise.
109         * math/w_exp2.c: Likewise.
110         * math/w_exp2f.c: Likewise.
111         * math/w_exp2l.c: Likewise.
112         * math/w_fmod.c: Likewise.
113         * math/w_fmodf.c: Likewise.
114         * math/w_fmodl.c: Likewise.
115         * math/w_hypot.c: Likewise.
116         * math/w_hypotf.c: Likewise.
117         * math/w_hypotl.c: Likewise.
118         * math/w_j0.c: Likewise.
119         * math/w_j0f.c: Likewise.
120         * math/w_j0l.c: Likewise.
121         * math/w_j1.c: Likewise.
122         * math/w_j1f.c: Likewise.
123         * math/w_j1l.c: Likewise.
124         * math/w_jn.c: Likewise.
125         * math/w_jnf.c: Likewise.
126         * math/w_jnl.c: Likewise.
127         * math/w_log10.c: Likewise.
128         * math/w_log10f.c: Likewise.
129         * math/w_log10l.c: Likewise.
130         * math/w_log2.c: Likewise.
131         * math/w_log2f.c: Likewise.
132         * math/w_log2l.c: Likewise.
133         * math/w_log.c: Likewise.
134         * math/w_logf.c: Likewise.
135         * math/w_logl.c: Likewise.
136         * math/w_pow.c: Likewise.
137         * math/w_powf.c: Likewise.
138         * math/w_powl.c: Likewise.
139         * math/w_remainder.c: Likewise.
140         * math/w_remainderf.c: Likewise.
141         * math/w_remainderl.c: Likewise.
142         * math/w_scalb.c: Likewise.
143         * math/w_scalbf.c: Likewise.
144         * math/w_scalbl.c: Likewise.
145         * math/w_sinh.c: Likewise.
146         * math/w_sinhf.c: Likewise.
147         * math/w_sinhl.c: Likewise.
148         * math/w_sqrt.c: Likewise.
149         * math/w_sqrtf.c: Likewise.
150         * math/w_sqrtl.c: Likewise.
151         * math/w_tgamma.c: Likewise.
152         * math/w_tgammaf.c: Likewise.
153         * math/w_tgammal.c: Likewise.
155         * math/w_acos_compat.c: New file copied from above and
156         adjusted for new #includes path
157         * math/w_acosf_compat.c: Likewise.
158         * math/w_acosh_compat.c: Likewise.
159         * math/w_acoshf_compat.c: Likewise.
160         * math/w_acoshl_compat.c: Likewise.
161         * math/w_acosl_compat.c: Likewise.
162         * math/w_asin_compat.c: Likewise.
163         * math/w_asinf_compat.c: Likewise.
164         * math/w_asinl_compat.c: Likewise.
165         * math/w_atan2_compat.c: Likewise.
166         * math/w_atan2f_compat.c: Likewise.
167         * math/w_atan2l_compat.c: Likewise.
168         * math/w_atanh_compat.c: Likewise.
169         * math/w_atanhf_compat.c: Likewise.
170         * math/w_atanhl_compat.c: Likewise.
171         * math/w_cosh_compat.c: Likewise.
172         * math/w_coshf_compat.c: Likewise.
173         * math/w_coshl_compat.c: Likewise.
174         * math/w_exp10_compat.c: Likewise.
175         * math/w_exp10f_compat.c: Likewise.
176         * math/w_exp10l_compat.c: Likewise.
177         * math/w_exp2_compat.c: Likewise.
178         * math/w_exp2f_compat.c: Likewise.
179         * math/w_exp2l_compat.c: Likewise.
180         * math/w_fmod_compat.c: Likewise.
181         * math/w_fmodf_compat.c: Likewise.
182         * math/w_fmodl_compat.c: Likewise.
183         * math/w_hypot_compat.c: Likewise.
184         * math/w_hypotf_compat.c: Likewise.
185         * math/w_hypotl_compat.c: Likewise.
186         * math/w_j0_compat.c: Likewise.
187         * math/w_j0f_compat.c: Likewise.
188         * math/w_j0l_compat.c: Likewise.
189         * math/w_j1_compat.c: Likewise.
190         * math/w_j1f_compat.c: Likewise.
191         * math/w_j1l_compat.c: Likewise.
192         * math/w_jn_compat.c: Likewise.
193         * math/w_jnf_compat.c: Likewise.
194         * math/w_jnl_compat.c: Likewise.
195         * math/w_log10_compat.c: Likewise.
196         * math/w_log10f_compat.c: Likewise.
197         * math/w_log10l_compat.c: Likewise.
198         * math/w_log2_compat.c: Likewise.
199         * math/w_log2f_compat.c: Likewise.
200         * math/w_log2l_compat.c: Likewise.
201         * math/w_log_compat.c: Likewise.
202         * math/w_logf_compat.c: Likewise.
203         * math/w_logl_compat.c: Likewise.
204         * math/w_pow_compat.c: Likewise.
205         * math/w_powf_compat.c: Likewise.
206         * math/w_powl_compat.c: Likewise.
207         * math/w_remainder_compat.c: Likewise.
208         * math/w_remainderf_compat.c: Likewise.
209         * math/w_remainderl_compat.c: Likewise.
210         * math/w_scalb_compat.c: Likewise.
211         * math/w_scalbf_compat.c: Likewise.
212         * math/w_scalbl_compat.c: Likewise.
213         * math/w_sinh_compat.c: Likewise.
214         * math/w_sinhf_compat.c: Likewise.
215         * math/w_sinhl_compat.c: Likewise.
216         * math/w_sqrt_compat.c: Likewise.
217         * math/w_sqrtf_compat.c: Likewise.
218         * math/w_sqrtl_compat.c: Likewise.
219         * math/w_tgamma_compat.c: Likewise.
220         * math/w_tgammaf_compat.c: Likewise.
221         * math/w_tgammal_compat.c: Likewise.
223         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
224         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
225         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
226         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
227         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
228         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
229         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
230         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
231         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
232         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
233         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
234         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
235         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
236         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
237         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
238         * sysdeps/ia64/fpu/w_powl.c: Likewise.
239         * sysdeps/ia64/fpu/w_powf.c: Likewise.
240         * sysdeps/ia64/fpu/w_pow.c: Likewise.
241         * sysdeps/ia64/fpu/w_logl.c: Likewise.
242         * sysdeps/ia64/fpu/w_logf.c: Likewise.
243         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
244         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
245         * sysdeps/ia64/fpu/w_log2.c: Likewise.
246         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
247         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
248         * sysdeps/ia64/fpu/w_log10.c: Likewise.
249         * sysdeps/ia64/fpu/w_log.c: Likewise.
250         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
251         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
252         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
253         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
254         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
255         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
256         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
257         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
258         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
259         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
260         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
261         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
262         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
263         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
264         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
265         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
266         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
267         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
268         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
269         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
270         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
271         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
272         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
273         * sysdeps/ia64/fpu/w_asin.c: Likewise.
274         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
275         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
276         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
277         * sysdeps/ia64/fpu/w_acos.c: Likewise.
278         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
279         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
280         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
281         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
282         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
283         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
284         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
285         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
286         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
287         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
288         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
289         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
290         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
291         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
292         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
293         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
294         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
295         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
296         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
297         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
298         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
299         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
300         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
301         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
302         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
303         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
304         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
305         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
306         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
307         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
308         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
309         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
310         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
311         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
312         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
313         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
314         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
315         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
316         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
317         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
318         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
319         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
320         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
321         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
322         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
324         Likewise.
325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
326         Likewise.
327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
329         Likewise.
330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
331         Likewise.
332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
333         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
334         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
335         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
336         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
337         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
338         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
345         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
346         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
348         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
349         and adjusted for new #includes path
350         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
351         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
352         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
353         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
354         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
355         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
356         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
357         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
358         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
359         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
360         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
361         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
362         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
363         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
364         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
365         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
366         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
367         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
368         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
369         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
370         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
371         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
372         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
373         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
374         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
375         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
376         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
377         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
378         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
379         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
380         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
381         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
382         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
383         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
384         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
385         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
386         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
387         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
388         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
389         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
390         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
391         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
392         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
393         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
394         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
395         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
396         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
397         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
398         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
399         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
400         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
401         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
402         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
403         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
404         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
405         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
406         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
407         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
408         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
409         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
410         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
411         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
412         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
413         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
414         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
415         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
416         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
417         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
418         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
419         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
420         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
421         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
422         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
423         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
424         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
425         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
426         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
427         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
428         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
429         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
430         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
431         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
432         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
433         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
434         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
435         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
436         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
437         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
438         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
439         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
440         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
441         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
442         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
443         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
444         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
445         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
446         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
447         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
448         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
450         Likewise.
451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
452         Likewise.
453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
454         Likewise.
455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
456         Likewise.
457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
458         Likewise.
459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
460         Likewise.
461         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
462         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
463         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
464         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
465         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
466         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
468         Likewise.
469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
470         Likewise.
471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
472         Likewise.
473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
474         Likewise.
475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
476         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
477         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
478         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
480 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
482         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
483         __jmp_buf_internal_tag.
485         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
486         preserve NaN payload if [__mips_nan2008].
487         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
489         [BZ #21022]
490         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
492 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
494         * sysdeps/i386/fpu/libm-test-ulps: Update.
496 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
498         * sysdeps/ia64/strcat.c: Remove file.
499         * sysdeps/powerpc/strcat.c: Likewise.
500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
501         C implementation.
502         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
503         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
505 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
506             Steven Munroe  <sjmunroe@us.ibm.com>
507             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
509         [BZ #20822]
510         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
511         (__lll_lock_elision): Access adapt_count via C11 atomics.
512         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
513         (__lll_trylock_elision): Likewise.
514         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
515         (__lll_unlock_elision):  Update adapt_count variable inside the
516         critical section using C11 atomics.
518 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
520         * math/test-fenvinline.c (do_test): Disable tests of raised
521         exceptions if !EXCEPTION_TESTS (FLOAT).
523 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
525         [BZ #19390]
526         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
527         maximum string size.
528         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
529         in pointer addition.
530         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
531         Likewise.
533 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
535         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
536         passed to tst-ldconfig-X.sh.
538 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
540         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
542 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
544         [BZ #21019]
545         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
546         New syscall entry.
547         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
548         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
549         lseek.
551         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
552         power4 glibc for powerpc-linux-gnu.
554 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
556         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
557         semctl.
559 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
561         * math/test-nearbyint-except.c: Include <stdbool.h>.
562         (any_supported): New variable.
563         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
564         set any_supported.
565         (do_test): Return 77 if no floating-point type supported
566         exceptions.
568         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
569         condition on [__mips_hard_float].
571 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
573         [BZ #21014]
574         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
575         in pointer addition.
576         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
578 2017-01-02  Torvald Riegel  <triegel@redhat.com>
580         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
581         new condvar.
583 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
585         * scripts/build-many-glibcs.py (Context.checkout): Default
586         binutils version to 2.28 branch.
588 2017-01-01  Florian Weimer  <fweimer@redhat.com>
590         * support/support_format_netent.c (support_format_netent): Work
591         around alpha struct netent definition difference.
593 2017-01-01  Florian Weimer  <fweimer@redhat.com>
595         * support/xwrite.c (xwrite): Use %td for pointer difference.
597 2017-01-01  Florian Weimer  <fweimer@redhat.com>
599         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
600         have-tunables only.
601         (tests-static): Add tst-malloc-usable-static-tunables for
602         have-tunables only.
604 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
606         * scripts/config.guess: Update to version 2017-01-01.
607         * scripts/config.sub: Update to version 2017-01-01.
609         * NEWS: Update copyright dates.
610         * catgets/gencat.c (print_version): Likewise.
611         * csu/version.c (banner): Likewise.
612         * debug/catchsegv.sh: Likewise.
613         * debug/pcprofiledump.c (print_version): Likewise.
614         * debug/xtrace.sh (do_version): Likewise.
615         * elf/ldconfig.c (print_version): Likewise.
616         * elf/ldd.bash.in: Likewise.
617         * elf/pldd.c (print_version): Likewise.
618         * elf/sotruss.sh: Likewise.
619         * elf/sprof.c (print_version): Likewise.
620         * iconv/iconv_prog.c (print_version): Likewise.
621         * iconv/iconvconfig.c (print_version): Likewise.
622         * locale/programs/locale.c (print_version): Likewise.
623         * locale/programs/localedef.c (print_version): Likewise.
624         * login/programs/pt_chown.c (print_version): Likewise.
625         * malloc/memusage.sh (do_version): Likewise.
626         * malloc/memusagestat.c (print_version): Likewise.
627         * malloc/mtrace.pl: Likewise.
628         * manual/libc.texinfo: Likewise.
629         * nptl/version.c (banner): Likewise.
630         * nscd/nscd.c (print_version): Likewise.
631         * nss/getent.c (print_version): Likewise.
632         * nss/makedb.c (print_version): Likewise.
633         * posix/getconf.c (main): Likewise.
634         * scripts/test-installation.pl: Likewise.
635         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
637         * All files with FSF copyright notices: Update copyright dates
638         using scripts/update-copyrights.
639         * intl/plural.c: Regenerated.
640         * locale/programs/charmap-kw.h: Likewise.
641         * locale/programs/locfile-kw.h: Likewise.
643 2016-12-31  Florian Weimer  <fweimer@redhat.com>
645         [BZ #20593]
646         Update DNS RR type definitions.
647         * scripts/gen-rrtypes.py: New file.
648         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
649         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
650         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
651         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
652         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
653         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
654         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
655         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
656         ns_t_ta, ns_t_dlv.
657         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
658         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
659         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
660         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
661         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
662         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
663         Define.
664         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
665         entry for ns_t_zxfr.
667 2016-12-31  Florian Weimer  <fweimer@redhat.com>
669         [BZ #18784]
670         CVE-2015-5180
671         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
672         T_UNSPEC.  Adjust value.
673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
674         * resolv/res_query.c (__libc_res_nquery): Likewise.
675         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
676         QTYPEs.
677         * resolv/tst-resolv-qtypes.c: New file.
678         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
679         (tst-resolv-qtypes): Link against libresolv and libpthread.
681 2016-12-31  Florian Weimer  <fweimer@redhat.com>
683         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
685 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
687         * manual/tunables.texi: New chapter.
688         * manual/Makefile (chapters): Add it.
689         * manual/probes.texi (@node): Point to the Tunables chapter.
691         * Makeconfig (have-tunables): Check for non-negative instead
692         of positive.
693         * configure.ac: Add 'valstring' as a valid value for
694         --enable-tunables.
695         * configure: Regenerate.
696         * elf/Makefile (have-tunables): Check for non-negative instead
697         of positive.
698         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
699         dl-tunables.c.
700         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
701         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
702         (tunables_strdup): Likewise.
703         (disable_tunables): Likewise.
704         (parse_tunables): Likewise.
705         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
706         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
707         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
708         (TUNABLES_FRONTEND_yes): New macro, define as
709         TUNABLES_FRONTEND_valstring by default.
710         * manual/install.texi: Document new acceptable values for
711         --enable-tunables.
712         * INSTALL: Regenerate.
714         * config.make.in (have-loop-to-function): Define.
715         * elf/Makefile (CFLAGS-dl-tunables.c): Add
716         -fno-tree-loop-distribute-patterns.
717         * elf/dl-tunables.c: Include libc-internals.h.
718         (GLIBC_TUNABLES): New macro.
719         (tunables_strdup): New function.
720         (parse_tunables): New function.
721         (min_strlen): New function.
722         (__tunables_init): Use the new functions and macro.
723         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
724         * malloc/tst-malloc-usable-tunables.c: New test case.
725         * malloc/tst-malloc-usable-static-tunables.c: New test case.
726         * malloc/Makefile (tests, tests-static): Add tests.
728         * manual/install.texi: Add --enable-tunables option.
729         * INSTALL: Regenerate.
730         * README.tunables: New file.
731         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
732         (before-compile): Generate dl-tunable-list.h early.
733         * config.h.in: Add HAVE_TUNABLES.
734         * config.make.in: Add have-tunables.
735         * configure.ac: Add --enable-tunables option.
736         * configure: Regenerate.
737         * csu/init-first.c (__libc_init_first): Move
738         __libc_init_secure earlier...
739         * csu/init-first.c (LIBC_START_MAIN):... to here.
740         Include dl-tunables.h, libc-internal.h.
741         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
742         binaries.
743         * elf/Makefile (dl-routines): Add dl-tunables.
744         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
745         namespace.
746         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
747         only when !HAVE_TUNABLES.
748         * elf/rtld.c (process_envvars): Likewise.
749         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
750         (_dl_sysdep_start): Call __tunables_init.
751         * elf/dl-tunable-types.h: New file.
752         * elf/dl-tunables.c: New file.
753         * elf/dl-tunables.h: New file.
754         * elf/dl-tunables.list: New file.
755         * malloc/tst-malloc-usable-static.c: New test case.
756         * malloc/Makefile (tests-static): Add it.
757         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
758         Define TUNABLE_NAMESPACE.
759         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
760         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
761         callback functions.
762         (ptmalloc_init): Set tunable values.
763         * scripts/gen-tunables.awk: New file.
764         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
765         (_dl_sysdep_start): Call __tunables_init.
767 2016-12-31  Florian Weimer  <fweimer@redhat.com>
769         * resolv/resolv.h (RES_BLAST): Deprecate.
770         * resolv/res_debug.c (p_option): Remove RES_BLAST.
771         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
772         to RES_BLAST.
774 2016-12-27  Florian Weimer  <fweimer@redhat.com>
776         [BZ #19582]
777         Deprecate RES_USE_INET6.
778         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
779         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
780         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
781         RES_USE_INET6.
782         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
783         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
784         (_nss_nisplus_gethostbyaddr_r): Likewise.
785         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
786         of res_use_inet6.
787         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
788         instead of RES_USE_INET6.
789         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
790         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
791         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
792         Likewise.
793         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
794         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
795         Likewise.
796         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
797         (_nss_dns_gethostbyname_r): Likewise.
798         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
799         alternate RES_USE_INET6 handling.
800         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
801         instead of RES_USE_INET6.
802         * resolv/res_init.c (res_setoptions): Likewise.
803         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
804         * resolv/resolv-internal.h: New file.
805         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
806         make the deprecation warning non-fatal.
807         * resolv/README (Using the resolver in multi-threaded code): Drop
808         reference to RES_USE_INET6.
809         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
810         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
812 2016-12-31  Florian Weimer  <fweimer@redhat.com>
814         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
815         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
816         tst-resolv-search.
817         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
818         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
819         with libresolv and libpthread.
820         * resolv/tst-bug18665.c: New file.
821         * resolv/tst-bug18665-tcp: Likewise.
822         * resolv/tst-res_use_inet6: Likewise.
823         * resolv/tst-resolv-basic: Likewise.
824         * resolv/tst-resolv-network: Likewise.
825         * resolv/tst-resolv-search: Likewise.
826         * support/Makefile (libsupport-routines): Add check_addrinfo,
827         check_dns_packet, check_hostent, check_netent, resolv_test,
828         support_format_address_family, support_format_addrinfo,
829         support_format_dns_packet, support_format_herrno,
830         support_format_hostent, support_format_netent, support_run_diff,
831         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
832         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
833         xstrdup, xwrite.
834         * support/check_addrinfo.c: New file.
835         * support/check_dns_packet.c: Likewise.
836         * support/check_hostent.c: Likewise.
837         * support/check_netent.c: Likewise.
838         * support/check_nss.h: Likewise.
839         * support/format_nss.h: Likewise.
840         * support/resolv_test.c: Likewise.
841         * support/resolv_test.h: Likewise.
842         * support/run_diff.h: Likewise.
843         * support/support_format_address_family.c: Likewise.
844         * support/support_format_addrinfo.c: Likewise.
845         * support/support_format_dns_packet.c: Likewise.
846         * support/support_format_herrno.c: Likewise.
847         * support/support_format_hostent.c: Likewise.
848         * support/support_format_netent.c: Likewise.
849         * support/support_run_diff.c: Likewise.
850         * support/xaccept.c: Likewise.
851         * support/xbind.c: Likewise.
852         * support/xconnect.c: Likewise.
853         * support/xfclose.c: Likewise.
854         * support/xfopen.c: Likewise.
855         * support/xgetsockname.c: Likewise.
856         * support/xlisten.c: Likewise.
857         * support/xmemstream.c: Likewise.
858         * support/xmemstream.h: Likewise.
859         * support/xpoll.c: Likewise.
860         * support/xpthread_once.c: Likewise.
861         * support/xrecvfrom.c: Likewise.
862         * support/xsendto.c: Likewise.
863         * support/xsetsockopt.c: Likewise.
864         * support/xstdio.h: Likewise.
865         * support/xstrdup.c: Likewise.
866         * support/support.h (xstrdup): Declare.
867         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
868         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
869         * support/xthread.h (xpthread_once): Likwise.
870         * support/xunistd.h (xwrite): Declare.
872 2016-12-31  Florian Weimer  <fweimer@redhat.com>
874         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
875         (test_verbose): Declare.
876         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
877         * support/support_test_main.c (default_options): Likewise.
878         (usage, support_test_main): Handle 'v'.
879         (test_verbose): Define.
880         * support/tst-support_record_failure.c (do_test): Use
881         test_verbose.
882         * support/tst-support_record_failure-2.sh (different_status): Add
883         --verbose test.
885 2016-12-31  Florian Weimer  <fweimer@redhat.com>
887         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
888         test failures are recorded.
889         * support/check.c (support_print_failure_impl): Call
890         support_record_failure.
891         (support_exit_failure_impl): Call support_record_failure if status
892         indicates failure.
893         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
894         * support/xasprintf.c (xasprintf): Likewise.
895         * support/xfork.c (xfork): Likewise.
896         * support/xpthread_check_return.c (xpthread_check_return):
897         Likewise.
898         * support/xsocket.c (xsocket): Likeweise.
899         * support/xwaitpid.c (xwaitpid): Likewise.
900         * support/support_record_failure.c (struct test_failures): Adjust
901         to coding style.
902         * support/support_test_verify_impl.c (support_test_verify_impl):
903         Adjust error messages.
904         * support/tst-support_record_failure-2.sh (different_status):
905         Adjust error messages.
907 2016-12-31  Florian Weimer  <fweimer@redhat.com>
909         * support/namespace.h: New file.
910         * support/support_become_root.c: Likewise.
911         * support/support_enter_network_namespace.c: Likewise.
912         * support/tst-support-namespace.c: Likewise.
913         * support/xsocket.c: Likewise.
914         * support/xsocket.h: Likewise.
915         * support/Makefile (libsupport-routines): Add support_become_root,
916         support_enter_network_namespace, xsocket.
917         (tests): Add tst-support-namespace.
919 2016-12-31  Florian Weimer  <fweimer@redhat.com>
921         [BZ #17252]
922         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
923         __USE_GNU.
925 2016-12-31  Torvald Riegel  <triegel@redhat.com>
927         [BZ #13165]
928         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
929         use new algorithm.
930         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
931         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
932         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
933         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
934         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
935         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
936         __condvar_cleanup_waiting, __condvar_dec_grefs,
937         __pthread_cond_wait_common): New.
938         (__condvar_cleanup): Remove.
939         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
940         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
941         Likewise.
942         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
943         Likewise.
944         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
945         * nptl/tst-cond1.c: Add comment.
946         * nptl/tst-cond20.c (do_test): Adapt.
947         * nptl/tst-cond22.c (do_test): Likewise.
948         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
949         structure.
950         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
951         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
952         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
953         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
954         Likewise.
955         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
956         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
957         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
958         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
959         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
960         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
961         Likewise.
962         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
963         Likewise.
964         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
965         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
966         (COND_CLOCK_BITS): Adapt.
967         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
968         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
969         __PTHREAD_COND_SHARED_MASK): New.
970         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
971         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
972         * nptl/nptl_lock_constants.pysym: Adapt.
973         * nptl/test-cond-printers.py: Adapt.
974         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
975         cond_compat_check_and_clear): Adapt.
976         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
977         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
978         (__pthread_cond_timedwait): ... and move here.
979         * nptl/DESIGN-condvar.txt: Remove file.
980         * nptl/lowlevelcond.sym: Likewise.
981         * nptl/pthread_cond_timedwait.c: Likewise.
982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
985         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
986         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
989         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
990         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
992         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
993         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
997         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
999 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1001         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1002         (fromfp): New declaration.
1003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1006         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1011         * math/math.h: Include <bits/types.h>.
1012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1013         constant and macro.
1014         (FP_INT_DOWNWARD): Likewise.
1015         (FP_INT_TOWARDZERO): Likewise.
1016         (FP_INT_TONEARESTFROMZERO): Likewise.
1017         (FP_INT_TONEAREST): Likewise.
1018         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1019         (fromfpf): Likewise.
1020         (fromfpl): Likewise.
1021         (ufromfp): Likewise.
1022         (ufromfpf): Likewise.
1023         (ufromfpl): Likewise.
1024         (fromfpx): Likewise.
1025         (fromfpxf): Likewise.
1026         (fromfpxl): Likewise.
1027         (ufromfpx): Likewise.
1028         (ufromfpxf): Likewise.
1029         (ufromfpxl): Likewise.
1030         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1031         s_fromfpxF and s_ufromfpxF.
1032         * math/gen-fromfp-tests.py: New file.
1033         * math/gen-fromfp-tests-inputs: Likewise.
1034         * math/libm-test.inc: Include <stdint.h>
1035         (check_intmax_t): New function.
1036         (check_uintmax_t): Likewise.
1037         (struct test_fiu_M_data): New type.
1038         (struct test_fiu_U_data): Likewise.
1039         (RUN_TEST_fiu_M): New macro.
1040         (RUN_TEST_LOOP_fiu_M): Likewise.
1041         (RUN_TEST_fiu_U): Likewise.
1042         (RUN_TEST_LOOP_fiu_U): Likewise.
1043         (fromfp_test_data): New array.
1044         (fromfp_test): New function.
1045         (fromfpx_test_data): New array.
1046         (fromfpx_test): New function.
1047         (ufromfp_test_data): New array.
1048         (ufromfp_test): New function.
1049         (ufromfpx_test_data): New array.
1050         (ufromfpx_test): New function.
1051         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1052         ufromfpx_test.
1053         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1054         characters.
1055         * math/test-tgmath-ret.c: Include <stdint.h>.
1056         (rm): New variable.
1057         (width): Likewise.
1058         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1059         called function.
1060         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1061         CHECK_RET_CONST_TYPE.
1062         (CHECK_RET_CONST_DOUBLE): Likewise.
1063         (CHECK_RET_CONST_LDOUBLE): Likewise.
1064         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1065         macros.
1066         (fromfp): New CHECK_RET_CONST call.
1067         (ufromfp): Likewise.
1068         (fromfpx): Likewise.
1069         (ufromfpx): Likewise.
1070         (do_test): Call check_return_fromfp, check_return_ufromfp,
1071         check_return_fromfpx and check_return_ufromfpx.
1072         * math/test-tgmath.c: Include <stdint.h>
1073         (NCALLS): Increase to 138.
1074         (F(compile_test)): Initialize i.  Call fromfp functions.
1075         (F(fromfp)): New function.
1076         (F(fromfpx)): Likewise.
1077         (F(ufromfp)): Likewise.
1078         (F(ufromfpx)): Likewise.
1079         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1080         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1081         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1082         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1083         ufromfpxl.
1084         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1085         ufromfp and ufromfpx.
1086         * math/fromfp.h: New file.
1087         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1088         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1089         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1090         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1091         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1092         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1093         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1094         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1095         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1096         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1097         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1098         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1099         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1100         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1101         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1102         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1103         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1104         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1105         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1106         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1107         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1108         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1109         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1110         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1111         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1112         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1113         ufromfp, fromfpx and ufromfpx.
1114         (CFLAGS-nldbl-fromfp.c): New variable.
1115         (CFLAGS-nldbl-fromfpx.c): Likewise.
1116         (CFLAGS-nldbl-ufromfp.c): Likewise.
1117         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1118         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1119         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1120         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1121         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1122         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1123         * sysdeps/nacl/libm.abilist: Update.
1124         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1125         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1126         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1127         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1128         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1129         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1130         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1131         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1132         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1133         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1134         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1135         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1137         Likewise.
1138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1139         Likewise.
1140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1141         Likewise.
1142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1143         Likewise.
1144         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1145         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1146         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1147         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1148         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1150         Likewise.
1151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1152         Likewise.
1153         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1154         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1155         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1157 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1159         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1160         compat-gethnamaddr.
1161         (CPPFLAGS): Remove.
1162         * resolv/gethnamaddr.c: Rename ...
1163         * resolv/compat-gethnamaddr.c: ... to this file.
1164         (_endhtent): Make static.
1165         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1166         symbol.
1167         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1168         compat symbol.
1169         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1170         symbol.
1171         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1172         Turn into compat symbol.
1173         * include/resolv.h (_endhtent): Remove declaration.
1175 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1177         * bits/types.h (__intmax_t): New typedef.
1178         (__uintmax_t): Likewise.
1179         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1180         (intmax_t): Define using __intmax_t.
1181         (uintmax_t): Define using __uintmax_t.
1183         * support/Makefile (tests-special): Make definition conditional on
1184         [$(run-built-tests) = yes].
1185         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1186         on [$(run-built-tests) = yes].
1188 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1190         * Rules (tests): Add tests-printers-programs to tests to be
1191         built.
1193 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1195         * sysvipc/Makefile (tests): Add test-sysvshm.
1196         * sysvipc/test-sysvshm.c: New file.
1198         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1199         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1200         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1201         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1202         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1203         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1204         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1205         Likewise.
1206         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1207         Likewise.
1208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1209         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1210         is defined.
1212         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1213         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1214         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1215         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1216         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1217         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1218         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1219         Likewise.
1220         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1221         Likewise.
1222         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1223         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1224         defined.
1226         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1227         oldshmctl.
1228         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1229         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1230         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1231         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1232         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1233         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1234         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1235         Likewise.
1236         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1237         Likewise.
1238         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1239         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1240         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1241         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1242         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1243         implementation.
1244         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1245         if it is defined.
1247         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1248         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1249         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1250         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1251         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1252         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1253         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1254         Likewise.
1255         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1256         Likewise.
1257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1258         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1259         Define to __NR_osf_shmat.
1260         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1261         defined.
1263         * sysvipc/Makefile (tests): Add test-sysvsem.
1264         * sysvipc/test-sysvsem.c: New file.
1266         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1267         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1268         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1269         Likewise.
1270         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1271         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1272         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1273         Likewise.
1274         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1275         Likewise.
1276         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1277         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1278         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1279         add a comment about s390 syscall difference from default one.
1280         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1281         syscall if it is defined.
1283         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1284         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1285         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1286         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1287         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1288         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1289         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1290         Likewise.
1291         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1292         Likewise.
1293         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1294         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1295         defined.
1297         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1298         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1299         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1300         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1301         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1302         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1303         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1304         Likewise.
1305         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1306         Likewise.
1307         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1308         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1309         if it is defined.
1311         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1312         oldsemctl.
1313         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1314         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1315         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1316         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1317         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1318         implementation.
1319         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1320         syscall if it is defined.
1321         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1322         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1323         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1324         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1325         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1326         Likewise.
1327         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1329         * sysvipc/Makefile (tests): Add test-sysvmsg.
1330         * sysvipc/test-sysvmsg.c: New file.
1331         * support/check.h (FAIL_UNSUPPORTED): New define.
1333         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1334         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1335         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1336         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1337         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1338         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1339         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1340         Likewise.
1341         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1342         Likewise.
1343         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1344         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1345         define.
1347         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1348         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1349         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1350         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1351         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1352         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1353         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1354         Likewise.
1355         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1356         Likewise.
1357         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1358         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1359         if defined.
1361         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1362         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1363         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1364         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1365         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1366         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1367         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1368         Likewise.
1369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1370         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1371         Likewise.
1372         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1373         if defined.
1374         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1376         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1377         oldmsgctl.
1378         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1379         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1380         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1381         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1382         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1383         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1384         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1385         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1386         Likewise.
1387         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1388         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1389         implementation.
1390         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1391         if defined.
1393         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1394         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1395         definition and define its own.
1396         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1397         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1398         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1399         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1400         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1401         definitions to common header.
1402         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1403         operation from ipc_ops.h.
1405         * sysdeps/unix/sysv/linux/kernel-features.h
1406         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1407         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1408         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1409         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1410         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1411         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1412         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1413         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1414         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1415         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1416         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1417         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1418         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1420         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1422 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1424         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1425         overflow in pointer addition.
1427 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1429         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1430         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1432         (strchr): Add __strchr_power8 to list of strchr functions.
1433         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1434         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1435         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1436         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1437         (strchr): Add __strchr_power8 to ifunc list.
1438         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1439         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1440         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1441         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1443 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1445         * support/Makefile (libsupport-routines): Add
1446         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1447         (tests): Add tst-support_record_failure.
1448         (tests-special): tst-support_record_failure-2.
1449         (tst-support_record_failure-2.out): Depend on
1450         tst-support_record_failure-2.sh and tst-support_record_failure.
1451         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1452         (support_test_verify_impl, support_record_failure)
1453         (support_report_failure, support_report_failure_reset): Declare.
1454         * support/support_test_main.c (adjust_exit_status): New function.
1455         (support_test_main): Call it to incorporate record test failures.
1456         * support/support_test_verify_impl.c: New file.
1457         * support/support_record_failure.c: Likewise.
1458         * support/tst-support_record_failure.c: Likewise.
1459         * support/tst-support_record_failure-2.sh: Likewise.
1460         * support/xunistd.h: Likewise.
1461         * support/xfork.c: Likewise.
1462         * support/xwaitpid.c: Likewise.
1464 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1466         * scripts/check-c++-types.sh: Add comments.
1468 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1470         [BZ #19514]
1471         * resolv/res_send.c: Fix typo in comment.
1472         * sysdeps/i386/i386-mcount.S: Likewise.
1473         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1474         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1475         * sysdeps/sparc/sparc-mcount.S: Likewise.
1477 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1479         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1480         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1481         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1482         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1483         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1484         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1485         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1486         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1488 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1490         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1492 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1494         [BZ #17252]
1495         * posix/unistd.h (getentropy): Declare.
1497 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1499         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1500         Remove.
1501         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1502         (cmd): Remove spoof, nospoof, spoofalert.
1503         (parse_line): Ignore spoof-related lines.
1504         (do_init): Do not process RESOLV_SPOOF_CHECK.
1506 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1508         [BZ #20964]
1509         sunrpc: Always obtain AF_INET addresses from NSS.
1510         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1511         * sunrpc/rpc_gethostbyname.c: New file.
1512         * sunrpc/Makefile (routines): Add it.
1513         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1514         * sunrpc/clnt_simp.c (callrpc): Likewise.
1515         * sunrpc/getrpcport.c (getrpcport): Likewise.
1517 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1519         * sunrpc/rpcinfo.c: Remove.
1520         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1522 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1524         [BZ# 19387]
1525         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1526         addition.
1527         * string/test-memchr.c (do_test): Remove alignment limitation.
1528         (test_main): Add test that trigger BZ# 19387.
1530 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1532         [BZ #7065]
1533         Enable stack protectore if requested by ./configure.
1534         * Makeconfig (+stack-protector): New variable.
1535         (+cflags): Use it.
1537 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1539         [BZ #7065]
1540         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1541         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1542         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1543         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1544         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1546 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1548         [BZ #7065]
1549         * login/Makefile (pt_chown-cflags): Remove.
1550         * nscd/Makefile (CFLAGS-nscd): Likewise.
1551         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1553 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1555         [BZ #7065]
1556         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1557         non-libc-linking testcase.
1559 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1560             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1561             Florian Weimer  <fweimer@redhat.com>
1563         [BZ #7065]
1564         PLT avoidance for __stack_chk_fail*.
1565         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1566         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1567         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1568         __stack_chk_fail_local alias.
1569         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1570         (__stack_chk_fail): Turn into hidden reference to
1571         __stack_chk_fail_local.
1573 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1575         [BZ #7065]
1576         * configure.ac: Add check for unsupported stack-protection level.
1577         (libc_cv_predef_stack_protector): Remove.
1578         (no_ssp): New variable.
1579         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1580         (stack_protector): Set to -fno-stack-protector similarly.
1581         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1582         (libc_cv_asm_set_directive): Likewise.
1583         (libc_cv_protected_data): Likewise.
1584         (libc_cv_z_combreloc): Likewise.
1585         (libc_cv_hashstyle): Likewise.
1586         (libc_cv_has_glob_dat): Likewise.
1587         (libc_cv_output_format): Likewise.
1588         (libc_cv_output_format): Likewise.
1589         (libc_cv_ehdr_start): Likewise.
1590         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1591         (LIBC_LINKER_FEATURE): Likewise.
1592         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1594 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1596         [BZ #7065]
1597         * elf/Makefile (dummy-stack-chk-fail): New.
1598         (librtld.map): Use it.
1600 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1602         [BZ #7065]
1603         Compile the dynamic linker without stack protection.
1604         * elf/Makefile (elide-stack-protector): New.
1605         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1606         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1607         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1608         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1610 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1612         [BZ #7065]
1613         * config.make.in (have-ssp, no-stack-protector): New.
1614         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1615         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1616         (CFLAGS-sbrk.op): Likewise.
1617         (CFLAGS-brk.o): Likewise.
1618         (CFLAGS-brk.op): Likewise.
1619         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1620         (CFLAGS-wordcopy.c): Likewise.
1622 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1624         [BZ #7065]
1625         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1626         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1627         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1628         (__ifunc_resolver): Use it.
1629         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1630         inhibit_stack_protector.
1631         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1632         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1633         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1634         (foo_protected_ifunc): Likewise.
1635         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1636         (foo_protected_ifunc): Likewise.
1637         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1638         * sysdeps/nacl/nacl_interface_query.c
1639         (nacl_interface_query_ifunc): Likewise.
1640         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1641         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1642         Likewise.
1643         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1644         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1645         the generated vDSO syscall resolver.
1647 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1648             Florian Weimer  <fweimer@redhat.com>
1650         [BZ #7065]
1651         Initialize the stack guard earlier when linking statically.
1652         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1653         (__pthread_initialize_minimal): Declare.
1654         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1655         declaration.
1656         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1657         stack canary and apply_irel initialization up.  Call
1658         __pthread_initialize_minimal only if linked in.
1659         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1660         constant values.
1661         (__pthread_initialize_minimal): Remove.
1662         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1663         (__pthread_initialize_minimal_internal): Do not call
1664         __libc_setup_tls.
1666 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1668         [BZ #7065]
1669         * configure.ac (libc_cv_ssp): Move up.
1670         (libc_cv_ssp_strong): Likewise.
1671         (libc_cv_ssp_all): New.
1672         (stack_protector): Augment, adding -fstack-protector-all.
1673         (no_stack_protector): New.
1674         (STACK_PROTECTOR_LEVEL): New.
1675         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1676         * manual/install.texi (--enable-stack-protector): Document it.
1677         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1679 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1681         * README.pretty-printers: Must specify CPPFLAGS-* also.
1682         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1683         (CPPFLAGS-test-mutex-printers.c): Define.
1684         (CPPFLAGS-test-condattr-printers.c): Define.
1685         (CPPFLAGS-test-cond-printers.c): Define.
1686         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1687         (CPPFLAGS-test-rwlock-printers.c): Define.
1689         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1690         (tests): Add tst-cancel-getpwuid_r.
1691         * nss/tst-cancel-getpwuid_r.c: New file.
1693         [BZ #11941]
1694         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1695         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1696         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1697         tst-nodelete-dlclose.
1698         (modules-names): Add tst-nodelete-dlclose-dso and
1699         tst-nodelete-dlclose-plugin.
1700         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1701         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1702         ($(objpfx)tst-nodelete-dlclose): Define.
1703         ($(objpfx)tst-nodelete-dlclose.out): Define.
1705 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1707         * scripts/test_printers_common.py: Log GDB output in case of
1708         Python detection failure.
1710 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1712         * configure.ac: Check for python3 or python.
1713         * configure: Regenerated.
1714         * config.make.in (PYTHON): New variable.
1715         * benchtests/Makefile: Don't define PYTHON.
1716         (bench): Define target only if PYTHON was defined.
1717         * Rules: Don't define PYTHON.
1718         Define pretty printer targets only if PYTHON was defined.
1719         (tests-printers): Add to tests-unsupported if PYTHON is not
1720         found.
1721         (python-flags, python-invoke): Remove.
1722         (tests-printers-out): Use PYTHON instead of python-invoke.
1724 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1726         [BZ #20978]
1727         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1728         Compare name == NULL, not name != NULL.
1730         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1731         trailing whitespace removed.
1732         * scripts/config.guess: Update to version 2016-10-02.
1733         * scripts/config.sub: Update to version 2016-11-19.
1734         * scripts/install-sh: Update to version 2016-01-11.22.
1735         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1736         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1738 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1740         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1741         (do_one_test) Restore original string so iteration works.
1742         * string/string-inlines.c (do_test): Create better input strings.
1743         (test_main) Reduce number of testruns.
1744         * string/string-inlines.c (__old_strsep_1c): New function.
1745         (__old_strsep_2c): Likewise.
1746         (__old_strsep_3c): Likewise.
1747         * string/strsep.c (__strsep): Remove case of small delim string.
1748         Call strcspn directly rather than strpbrk.
1749         * string/bits/string2.h (__strsep): Remove define.
1750         (__strsep_1c): Remove.
1751         (__strsep_2c): Remove.
1752         (__strsep_3c): Remove.
1753         (strsep): Remove.
1754         * sysdeps/unix/sysv/linux/internal_statvfs.c
1755         (__statvfs_getflags): Rename to __strsep.
1757 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1759         * csu/libc-tls.c (_dl_tls_setup): Remove.
1760         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1761         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1762         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1764 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1766         [BZ #7065]
1767         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1768         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1770 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1771             Florian Weimer  <fweimer@redhat.com>
1773         [BZ #7065]
1774         * csu/Makefile (tests): Empty assignment and document it.
1775         (tests-static): Remove.
1776         * csu/tst-empty.c: Move to...
1777         * misc/tst-empty.c: ... here.  Switch to new test driver.
1778         * csu/tst-atomic.c: Move to...
1779         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1780         * csu/tst-atomic-long.c: Move to...
1781         * misc/tst-atomic-long.c: ... here.
1782         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1783         tst-atomic-long.
1784         (tests-static): Add tst-empty.
1786 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1788         * manual/nss.texi: Change incorrect @vtable to @table.
1789         * manual/arith.texi: Convert @tables of variables to @vtables
1790         and remove unnecessary indexing.
1791         * manual/filesys.texi: Likewise.
1792         * manual/llio.texi: Likewise.
1793         * manual/memory.texi: Likewise.
1794         * manual/process.texi: Likewise.
1795         * manual/resource.texi: Likewise.
1796         * manual/search.texi: Likewise.
1797         * manual/signal.texi: Likewise.
1798         * manual/socket.texi: Likewise.
1799         * manual/stdio.texi: Likewise.
1800         * manual/sysinfo.texi: Likewise.
1801         * manual/syslog.texi: Likewise.
1802         * manual/terminal.texi: Likewise.
1803         * manual/time.texi: Likewise.
1804         * manual/users.texi: Likewise.
1806 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1808         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1809         (roundeven): New declaration.
1810         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1811         macro.
1812         * math/Versions (roundeven): New libm symbol at version
1813         GLIBC_2.25.
1814         (roundevenf): Likewise.
1815         (roundevenl): Likewise.
1816         * math/Makefile (libm-calls): Add s_roundevenF.
1817         * math/libm-test.inc (roundeven_test_data): New array.
1818         (roundeven_test): New function.
1819         (main): Call roundeven_test.
1820         * math/test-tgmath.c (NCALLS): Increase to 134.
1821         (F(compile_test)): Call roundeven.
1822         (F(roundeven)): New function.
1823         * manual/arith.texi (Rounding Functions): Document roundeven,
1824         roundevenf and roundevenl.
1825         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1826         * include/math.h (roundeven): Use libm_hidden_proto.
1827         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1828         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1829         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1830         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1831         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1832         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1833         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1834         roundeven.
1835         (CFLAGS-nldbl-roundeven.c): New variable.
1836         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1837         * sysdeps/nacl/libm.abilist: Update.
1838         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1851         Likewise.
1852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1853         Likewise.
1854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1855         Likewise.
1856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1857         Likewise.
1858         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1864         Likewise.
1865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1866         Likewise.
1867         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1871 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1873         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1874         preprocessor indentation inside #if.
1876 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1878         * math/libm-test.inc (fmt_ftostr): New function.
1879         (print_float, check_float_internal): Replace some uses of
1880         FTOSTR with uses of fmt_ftostr.
1881         (print_max_error, print_complex_max_error, print_function_ulps)
1882         (print_complex_function_ulps): Remove uses of the macros
1883         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1884         * math/test-double.h (FTOSTR): Define to strfromd.
1885         (PRINTF_EXPR): Delete.
1886         (PRINTF_XEXPR): Likewise.
1887         (PRINTF_NEXPR): Likewise.
1888         * math/test-float.h (FTOSTR): Define to strfromf.
1889         (PRINTF_EXPR): Delete.
1890         (PRINTF_XEXPR): Likewise.
1891         (PRINTF_NEXPR): Likewise.
1892         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1893         (PRINTF_EXPR): Delete.
1894         (PRINTF_XEXPR): Likewise.
1895         (PRINTF_NEXPR): Likewise.
1897 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1899         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1900         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1901         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1902         (__lll_lock_elision): Decrement adapt_count while unlocking
1903         instead of before locking.
1904         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1905         (__lll_trylock_elision): Likewise.
1906         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1907         (__lll_unlock_elision): Likewise.
1909 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1911         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1912         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1913         Use __libc_tbegin_retry macro.
1915 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1917         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1918         Add -msoft-float.
1919         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1920         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1921         Use __libc_t* transaction macros instead of __builtin_t*.
1922         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1923         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1925 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1927         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1928         (__lll_lock_elision): Use atomics to load / store adapt_count.
1929         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1930         (__lll_trylock_elision): Likewise.
1932 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1934         Do not require memset elimination in explicit_bzero test.
1935         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1936         (enum test_expectation): Add NO_EXPECTATIONS.
1937         (subtests): NO_EXPECTATIONS for ordinary clear.
1938         (check_test_buffer): Handle NO_EXPECTATIONS.
1939         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1941 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1943         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1944         (fmaxmag): New declaration.
1945         (fminmag): Likewise.
1946         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1947         macro.
1948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1949         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1950         (fmaxmagf): Likewise.
1951         (fmaxmagl): Likewise.
1952         (fminmag): Likewise.
1953         (fminmagf): Likewise.
1954         (fminmagl): Likewise.
1955         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1956         * math/s_fmaxmag_template.c: New file.
1957         * math/s_fminmag_template.c: Likewise.
1958         * math/libm-test.inc (fmaxmag_test_data): New array.
1959         (fmaxmag_test): New function.
1960         (fminmag_test_data): New array.
1961         (fminmag_test): New function.
1962         (main): Call fmaxmag_test and fminmag_test.
1963         * math/test-tgmath.c (NCALLS): Increase to 132.
1964         (F(compile_test)): Call fmaxmag and fminmag.
1965         (F(fminmag)): New function.
1966         (F(fmaxmag)): Likewise.
1967         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1968         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1969         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1970         fminmag.
1971         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1972         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1973         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1974         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1975         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1976         and fminmag.
1977         (CFLAGS-nldbl-fmaxmag.c): New variable.
1978         (CFLAGS-nldbl-fminmag.c): Likewise.
1979         * sysdeps/nacl/libm.abilist: Update.
1980         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1981         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1982         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1983         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1984         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1985         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1986         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1987         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1988         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1990         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1991         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1993         Likewise.
1994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1995         Likewise.
1996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1999         Likewise.
2000         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2001         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2002         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2003         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2004         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2006         Likewise.
2007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2008         Likewise.
2009         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2010         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2011         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2013 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2015         [BZ #20973]
2016         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2017         wake-up in robust mutexes.
2018         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2020 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2022         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2023         (CFLAGS-bench-fmaxf.c): New rule.
2024         (CFLAGS-bench-fminf.c): Likewise.
2025         * benchtests/fmaxf-inputs: New file.
2026         * benchtests/fminf-inputs: Likewise.
2028         * benchtests/Makefile (bench-math): Add fmin and fmax.
2029         (CFLAGS-bench-fmax.c): New rule.
2030         (CFLAGS-bench-fmin.c): Likewise.
2031         * benchtests/fmax-inputs: New file.
2032         * benchtests/fmin-inputs: Likewise.
2034         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2035         parenthesis.
2036         (CMDLINE_PROCESS): Define using function instead of macro.
2037         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2038         of test-skeleton.
2039         * benchtests/bench-memchr.c: Likewise.
2040         * benchtests/bench-memcmp.c: Likewise.
2041         * benchtests/bench-memcpy-large.c: Likewise.
2042         * benchtests/bench-memcpy.c: Likewise.
2043         * benchtests/bench-memmem.c: Likewise.
2044         * benchtests/bench-memmove-large.c: Likewise.
2045         * benchtests/bench-memmove.c: Likewise.
2046         * benchtests/bench-memset-large.c: Likewise.
2047         * benchtests/bench-memset.c: Likewise.
2048         * benchtests/bench-rawmemchr.c: Likewise.
2049         * benchtests/bench-strcasecmp.c: Likewise.
2050         * benchtests/bench-strcasestr.c: Likewise.
2051         * benchtests/bench-strcat.c: Likewise.
2052         * benchtests/bench-strchr.c: Likewise.
2053         * benchtests/bench-strcmp.c: Likewise.
2054         * benchtests/bench-strcpy.c: Likewise.
2055         * benchtests/bench-strcpy_chk.c: Likewise.
2056         * benchtests/bench-strlen.c: Likewise.
2057         * benchtests/bench-strncasecmp.c: Likewise.
2058         * benchtests/bench-strncmp.c: Likewise.
2059         * benchtests/bench-strncpy.c: Likewise.
2060         * benchtests/bench-strnlen.c: Likewise.
2061         * benchtests/bench-strpbrk.c: Likewise.
2062         * benchtests/bench-strrchr.c: Likewise.
2063         * benchtests/bench-strsep.c: Likewise.
2064         * benchtests/bench-strspn.c: Likewise.
2065         * benchtests/bench-strstr.c: Likewise.
2066         * benchtests/bench-strtok.c: Likewise.
2068 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2070         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2071         stepping identification.
2072         (init_cpu_features): Add handle of Haswell.
2074 2016-11-25  Jim Meyering  <meyering@fb.com>
2076         [BZ #20386]
2077         Let gcc detect assert(a = 1) errors.
2078         * assert/assert.h (assert): Rewrite, retaining the old definintion
2079         when required, but otherwise putting the expression as-is in an "if"
2080         expression (hence, with no added parentheses) within a statement
2081         expression.
2083 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2085         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2086         DSO.
2088 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2090         * Rules (python-flags, python-invoke): New.
2091         ($(test-printers-out)): Use $(python-flags).
2093 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2095         * manual/arith.texi (Math Error Reporting): Document that sNaN
2096         arguments are not considered domain errors.
2098 2016-12-16  Zack Weinberg <zackw@panix.com>
2099             Florian Weimer <fweimer@redhat.com>
2100             Nick Mathewson <nickm@torproject.org>
2102         * string/explicit_bzero.c: New routine.
2103         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2104         * string/Makefile (routines, strop-tests, tests): Add them.
2105         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2106         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2108         * debug/explicit_bzero_chk.c: New routine.
2109         * debug/Makefile (routines): Add it.
2110         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2111         * string/bits/string3.h: Fortify explicit_bzero.
2113         * manual/string.texi: Document explicit_bzero.
2114         * NEWS: Mention addition of explicit_bzero.
2116         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2117         data before returning, using explicit_bzero.
2118         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2119         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2120         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2122         * include/string.h: Redirect internal uses of explicit_bzero
2123         to __explicit_bzero_chk[_internal].
2124         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2125         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2126         * sysdeps/arm/nacl/libc.abilist
2127         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2128         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2129         * sysdeps/unix/sysv/linux/arm/libc.abilist
2130         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2131         * sysdeps/unix/sysv/linux/i386/libc.abilist
2132         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2133         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2134         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2135         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2136         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2137         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2138         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2139         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2140         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2145         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2146         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2147         * sysdeps/unix/sysv/linux/sh/libc.abilist
2148         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2149         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2152         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2153         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2154         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2155         Add entries for explicit_bzero and __explicit_bzero_chk.
2157 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2159         * math/fenv.h
2160         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2161         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2162         * math/test-fe-snans-always-signal.c: New file.
2163         * math/Makefile (tests): Add test-fe-snans-always-signal.
2164         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2165         * manual/arith.texi (Infinity and NaN): Document
2166         FE_SNANS_ALWAYS_SIGNAL.
2168 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2170         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2171         bracket.
2173 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2175         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2176         before calling execv.
2178 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2180         [BZ# 20971]
2181         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2182         overflow in pointer addition.
2183         * string/test-memchr.c (do_test): Add an argument to pass as
2184         the size on memchr.
2185         (test_main): Add check for SIZE_MAX.
2187 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2189         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2190         (libm-calls): Add w_scalblnF.
2191         * math/w_scalbln.c: Remove.
2192         * math/w_scalblnf.c: Likewise.
2193         * math/w_scalblnl.c: Likewise.
2194         * math/w_scalbln_template.c: New file with type-generic
2195         implementation based on math/w_scalbln.c.
2196         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2197         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2199 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2201         [BZ #20947]
2202         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2203         either is a signaling NaN.
2204         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2205         follow fmaxl more closely.
2206         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2207         when either is a signaling NaN.
2208         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2209         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2210         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2211         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2212         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2213         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2214         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2215         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2216         (fmin_test_data): Likewise.
2218 2016-12-15  Andreas Schwab  <schwab@suse.de>
2220         * support/support_test_main.c (support_test_main): Don't shadow
2221         file-local variable test_pid.
2223 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2225         [BZ #20947]
2226         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2227         either is a signaling NaN.
2228         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2230 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2232         [BZ #20947]
2233         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2234         when either is a signaling NaN.
2235         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2237         * bits/long-double.h: New file.
2238         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2239         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2240         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2241         * sysdeps/mips/bits/long-double.h: Likewise.
2242         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2243         * math/Makefile (headers): Add bits/long-double.h.
2244         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2245         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2246         <bits/wordsize.h>.
2247         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2248         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2249         * math/math.h: Do not include <bits/mathdef.h>.
2250         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2251         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2252         inclusion.
2253         * sysdeps/ia64/bits/mathdef.h: Remove file.
2254         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2255         * sysdeps/mips/bits/mathdef.h: Likewise.
2256         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2257         * sysdeps/s390/bits/mathdef.h: Likewise.
2258         * sysdeps/sparc/bits/mathdef.h: Likewise.
2259         * sysdeps/x86/bits/mathdef.h: Likewise.
2260         * sysdeps/s390/s390-32/bits/wordsize.h
2261         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2262         conditional code.
2263         * sysdeps/s390/s390-64/bits/wordsize.h
2264         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2265         Likewise.
2266         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2267         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2268         Likewise.
2269         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2270         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2271         Likewise.
2272         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2273         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2274         Likewise.
2276         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2277         <linux/falloc.h>.
2278         (FALLOC_FL_KEEP_SIZE): Remove.
2279         (FALLOC_FL_PUNCH_HOLE): Likewise.
2280         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2281         (FALLOC_FL_ZERO_RANGE): Likewise.
2283 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2285         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2287 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2289         * sysdeps/unix/sysv/linux/renameat.c: New file.
2290         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2292         * sysdeps/unix/sysv/linux/rename.c: New file.
2293         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2295 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2297         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2298         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2299         * string/strtok_r.c (__strtok_r): Optimize for performance.
2300         * string/string-inlines.c (__old_strtok_r_1c): New function.
2301         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2303 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2305         * math/Makefile (gen-libm-calls): Add w_log1pF.
2306         (libm-calls): Remove w_log1pF.
2307         * math/w_log1p.c: Remove.
2308         * math/w_log1pf.c: Likewise.
2309         * math/w_log1pl.c: Likewise.
2310         * math/w_log1p_template.c: New file with type-generic
2311         implementation based on math/w_log1p.c.
2312         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2313         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2315 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2317         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2319 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2321         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2322         kernel version to 4.9.
2324 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2326         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2327         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2329 2016-12-13  Andreas Schwab  <schwab@suse.de>
2331         * sysdeps/powerpc/dl-procinfo.c: Don't define
2332         _dl_powerpc_platforms.
2333         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2334         constants instead of referencing _dl_powerpc_platforms.
2335         (_dl_platform_string): Remove.
2337 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2339         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2341 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2343         * Rules (binaries-shared-tests, binaries-pie-tests)
2344         (binaries-static-tests): Link with $(link-extra-libs-tests).
2345         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2346         Remove $(link-extra-libs-tests).
2348 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2350         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2351         (sysdep_routines): Add strncmp_power9.
2352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2353         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2354         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2355         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2356         (strncmp): Add __strncmp_power9 to ifunc list.
2357         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2359 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2361         [BZ #17252]
2362         Add getentropy, getrandom.
2363         * stdlib/sys/random.h: New file.
2364         (headers): Add it.
2365         * stdlib/Makefile (routines): Add getentropy, getrandom.
2366         (tests): Add tst-getrandom.
2367         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2368         * stdlib/getentropy.c: New file.
2369         * stdlib/getrandom.c: Likewise.
2370         * stdlib/tst-getrandom.c: Likewise.
2371         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2372         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2373         * manual/crypt.texi (Unpredictable Bytes): New section.
2374         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2375         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2376         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2379         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2380         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2381         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2382         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2383         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2384         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2385         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2386         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2387         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2388         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2389         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2393         Likewise.
2394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2400         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2403         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2404         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2407 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2409         [BZ #20956]
2410         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2411         as additional compiler barriers.
2412         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2413         (fn2, do_test): Declare with external linkage.
2414         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2415         (do_test): Declare with external linkage.
2416         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2417         (do_test): Declare with external linkage.
2418         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2419         (do_test): Declare with external linkage.
2421 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2423         * support/support_test_main.c (support_test_main): Use correct
2424         timeout.
2426 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2427             Florian Weimer  <fweimer@redhat.com>
2429         [BZ #16421]
2430         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2431         and __u6_addr32 members.
2432         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2433         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2434         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2435         Use __u6_addr32.
2436         * inet/tst-checks.c: Use <support/test-driver.c>
2437         * inet/tst-checks-posix.c: New file.
2438         * inet/Makefile (tests): Add it.
2439         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2441 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2443         New subdirectory support for build and test infrastructure.
2444         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2445         setting install-lib.
2446         * Makeconfig (link-extra-libs-tests): Define.
2447         (+link-pie-tests, +link-static-tests, +link-tests): Use
2448         link-extra-libs-tests.
2449         (rpath-dirs, all-subdirs): Add support.
2450         (built-modules): Add libsupport.
2451         (libsupport): Define.
2452         * support: New directory.
2453         * support/Makefile: New file.
2454         * support/check.c: Likewise.
2455         * support/check.h: Likewise.
2456         * support/delayed_exit.c: Likewise.
2457         * support/ignore_stderr.c: Likewise.
2458         * support/oom_error.c: Likewise.
2459         * support/set_fortify_handler.c: Likewise.
2460         * support/support.h: Likewise.
2461         * support/temp_file-internal.h: Likewise.
2462         * support/temp_file.c: Likewise.
2463         * support/test-driver.c: Likewise.
2464         * support/test-driver.h: Likewise.
2465         * support/test_main.c: Likewise.
2466         * support/write_message.c: Likewise.
2467         * support/xasprintf.c: Likewise.
2468         * support/xcalloc.c: Likewise.
2469         * support/xmalloc.c: Likewise.
2470         * support/xpthread_barrier_destroy.c: Likewise.
2471         * support/xpthread_barrier_init.c: Likewise.
2472         * support/xpthread_barrier_wait.c: Likewise.
2473         * support/xpthread_cancel.c: Likewise.
2474         * support/xpthread_check_return.c: Likewise.
2475         * support/xpthread_cond_wait.c: Likewise.
2476         * support/xpthread_create.c: Likewise.
2477         * support/xpthread_detach.c: Likewise.
2478         * support/xpthread_join.c: Likewise.
2479         * support/xpthread_mutex_lock.c: Likewise.
2480         * support/xpthread_mutex_unlock.c: Likewise.
2481         * support/xpthread_sigmask.c: Likewise.
2482         * support/xpthread_spin_lock.c: Likewise.
2483         * support/xpthread_spin_unlock.c: Likewise.
2484         * support/xrealloc.c: Likewise.
2485         * support/xsignal.h: Likewise.
2486         * support/xthread.h: Likewise.
2487         * support_tempfile.h: Likewise.
2488         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2489         (TEST_DATA_LIMIT): Remove unused macro.
2490         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2491         <support/check.h>.
2492         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2493         (ignore_stderr, set_fortify_handler): Remove.  Now in
2494         <support/support.h>.
2495         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2496         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2497         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2498         (xpthread_join): Remove.  Now in <support/xthread.h>.
2499         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2500         Introduce legacy wrappers.
2501         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2502         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2503         (write_message): Remove.
2504         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2505         test-skeleton.c.
2506         * io/test-open-tmpfile: Likewise.
2507         * io/tst-posix_fallocate-common.c: Likewise.
2508         * libio/tst-fseek.c: Likewise.
2509         * malloc/tst-malloc-backtrace.c: Likewise.
2510         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2511         * malloc/tst-malloc-thread-exit.c: Likewise.
2512         * nptl/tst-cancel7.c: Likewise.
2513         * nptl/tst-cleanup0.c: Likewise.
2514         * posix/tst-posix_fadvise-common.c: Likewise.
2515         * rt/tst-shm.c: Likewise.
2516         * time/bug-getdate1.c: Likewise.
2517         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2518         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2519         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2521 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2523         * Rules [$(run-built-tests) != no] (tests-expected): Add
2524         $(tests-printers).
2525         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2527 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2529         [BZ #20539]
2530         * math/Makefile (install-lib-ldscripts): Add libm.a.
2531         (install_subdir): Remove.
2532         (install-others): Add.
2533         ($(inst_libdir)/libm.a): Add rule for installation as
2534         linker script.
2535         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2537 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2539         * INSTALL: Regenerated.
2540         * Makeconfig: Add comments and whitespace to make the control flow
2541         clearer.
2542         (+link-printers-tests, +link-pie-printers-tests,
2543         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2544         built-rtld-LDFLAGS, link-libc-rpath,
2545         link-libc-tests-after-rpath-link,
2546         link-libc-printers-tests): New.
2547         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2548         link-libc-tests): Use the new variables as required.
2549         * Makerules ($(py-const)): New rule.
2550         generated: Add $(py-const).
2551         * README.pretty-printers: New file.
2552         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2553         (others): Depend on $(py-const).
2554         (tests): Depend on $(tests-printers-programs) or
2555         $(tests-printers-out),
2556         as required.  Pass $(tests-printers) to merge-test-results.sh.
2557         * manual/install.texi: Add requirements for testing the pretty
2558         printers.
2559         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2560         tests-printers, CFLAGS-test-mutexattr-printers.c
2561         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2562         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2563         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2564         * nptl/nptl-printers.py: New file.
2565         * nptl/nptl_lock_constants.pysym: Likewise.
2566         * nptl/test-cond-printers.c: Likewise.
2567         * nptl/test-cond-printers.py: Likewise.
2568         * nptl/test-condattr-printers.c: Likewise.
2569         * nptl/test-condattr-printers.py: Likewise.
2570         * nptl/test-mutex-printers.c: Likewise.
2571         * nptl/test-mutex-printers.py: Likewise.
2572         * nptl/test-mutexattr-printers.c: Likewise.
2573         * nptl/test-mutexattr-printers.py: Likewise.
2574         * nptl/test-rwlock-printers.c: Likewise.
2575         * nptl/test-rwlock-printers.py: Likewise.
2576         * nptl/test-rwlockattr-printers.c: Likewise.
2577         * nptl/test-rwlockattr-printers.py: Likewise.
2578         * scripts/gen-py-const.awk: Likewise.
2579         * scripts/test_printers_common.py: Likewise.
2580         * scripts/test_printers_exceptions.py: Likewise.
2582 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2584         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2585         argument.
2586         (Glibc.build_glibc): Strip installed shared libraries if
2587         requested.
2588         (get_parser): Add --strip option.
2589         (main): Update Context call.
2591 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2592             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2594         [BZ #20847]
2595         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2596         array bounds for else branch.
2597         (__execvpe): Style fixes.
2598         * posix/tst-vfork3.c (run_script): New function.
2599         (create_script): Likewise.
2600         (do_test): Use run_script internal function.
2601         (do_prepare): Use create_script internal function.
2603 2016-12-07  Andreas Schwab  <schwab@suse.de>
2605         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2606         (__elision_available): Don't declare.
2607         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2608         (__elision_available): Don't define.
2609         (elision_init): Don't set __elision_available.
2611 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2613         [BZ #20940]
2614         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2615         return Inf for arguments Inf and sNaN.
2616         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2617         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2618         Likewise.
2619         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2620         Likewise.
2621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2622         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2623         for arguments Inf and sNaN.  When returning a NaN, compute it by
2624         arithmetic on the arguments.
2625         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2626         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2627         arguments.
2629 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2631         [BZ #20916]
2632         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2633         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2634         to compute result.
2635         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2636         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2638 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2640         * include/atomic.h (__atomic_check_size_ls): New.
2641         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2642         atomic_store_release): Use it.
2643         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2644         (elision_adapt, ELIDE_LOCK): Use atomics.
2645         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2646         atomics and improve code comments.
2647         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2648         (__lll_trylock_elision): Likewise.
2650 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2652         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2653         programs.
2655 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2657         [BZ #20916]
2658         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2659         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2660         arguments to compute result.
2661         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2662         1 for arguments (sNaN, 0) or (1, sNaN).
2663         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2664         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2666         [BZ #20919]
2667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2668         NaN first argument when raised to power 0.
2669         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2670         raising to power zero.
2671         * math/w_powf.c (__powf): Likewise.
2672         * math/w_powl.c (__powl): Likewise.
2673         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2674         pow (0, 0) or pow (NaN, 0).
2676 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2678         [BZ #20918]
2679         * configure.ac: Test for static NSS cryptographic libraries and set
2680         libc_cv_static_nss_crypt.
2681         * configure: Regenerate.
2682         * config.make.in (static-nss-crypt): Define.
2683         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2684         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2685         (CFLAGS-tst-linkall-static.c): Define.
2686         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2687         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2688         ($(objpfx)tst-linkall-static): Define.
2689         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2690         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2692 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2694         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2695         (one-hundred, tst-tls-many-dynamic-modules): Define.
2696         (modules-names): Add $(tst-tls-many-dynamic-modules).
2697         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2698         macros.
2699         (tst-tls-manydynamic): Link against libdl, libpthread.
2700         (tst-tls-manydynamic.out): The test needs the test modules at run
2701         time.
2702         * elf/tst-tls-manydynamic.c: New file.
2703         * elf/tst-tls-manydynamic.h: Likewise.
2704         * elf/tst-tls-manydynamicmod.c: Likewise.
2706 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2708         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2709         (TLS_DTV_UNALLOCATED): Add.
2710         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2711         offsets.
2713 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2715         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2717 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2719         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2720         Add -fno-optimize-sibling-calls.
2722 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2724         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2725         New declaration.
2726         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2727         macro.
2728         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2729         New macro.
2730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2731         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2732         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2733         (llogbf): Likewise.
2734         (llogbl): Likewise.
2735         * math/Makefile (gen-libm-calls): Add w_llogbF.
2736         (tests): Add test-fp-llogb-constants.
2737         * math/w_llogb_template.c: New file.  Based on
2738         math/w_ilogb_template.c.
2739         * math/libm-test.inc (llogb_test_data): New array.
2740         (llogb_test): New function.
2741         (main): Call llogb_test.
2742         * math/test-fp-llogb-constants.c: New file.  Based on
2743         math/test-fp-ilogb-constants.c.
2744         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2745         (do_test): Call check_return_llogb.
2746         * math/test-tgmath.c (NCALLS): Increase to 126.
2747         (F(compile_test)): Call llogb.
2748         (F(llogb)): New function.
2749         * manual/math.texi (Exponents and Logarithms): Document llogb,
2750         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2751         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2752         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2753         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2754         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2755         (CFLAGS-nldbl-llogb.c): New variable.
2756         * sysdeps/nacl/libm.abilist: Update.
2757         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2758         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2759         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2760         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2763         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2764         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2765         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2766         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2767         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2768         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2770         Likewise.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2772         Likewise.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2778         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2779         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2780         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2783         Likewise.
2784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2785         Likewise.
2786         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2787         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2788         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2790 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2792         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2793         _Float128 instead of long double.
2794         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2796         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2797         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2798         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2799         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2800         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2801         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2802         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2803         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2804         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2805         Likewise.
2807 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2809         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2810         Remove redirection to __strrchr_ppc.
2812 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2814         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2815         (sysdep_routines): Add strcmp_power9.
2816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2817         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2818         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2819         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2820         (strcmp): Add __strcmp_power9 to ifunc list.
2821         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2823 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2825         * bits/fp-logb.h: New file.
2826         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2827         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2828         * sysdeps/x86/bits/fp-logb.h: Likewise.
2829         * math/Makefile (headers): Add bits/fp-logb.h.
2830         * math/math.h: Include <bits/fp-logb.h>.
2831         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2832         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2833         * bits/mathdef.h (FP_ILOGB0): Remove.
2834         (FP_ILOGBNAN): Likewise.
2835         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2836         (FP_ILOGBNAN): Likewise.
2837         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2838         (FP_ILOGBNAN): Likewise.
2839         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2840         (FP_ILOGBNAN): Likewise.
2841         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2842         (FP_ILOGBNAN): Likewise.
2843         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2844         (FP_ILOGBNAN): Likewise.
2845         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2846         (FP_ILOGBNAN): Likewise.
2847         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2848         (FP_ILOGBNAN): Likewise.
2849         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2850         (FP_ILOGBNAN): Likewise.
2851         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2852         (FP_ILOGBNAN): Likewise.
2854         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2855         time module.
2856         (Context.__init__): Initialize self.logsdir_old.
2857         (Context.run_builds): Handle bot action.
2858         (Context.bot_cycle): Copy logs directory before running builds.
2859         (Context.bot_run_self): Take argument for whether to check
2860         subprocess result.  Flush stdout before running subprocess.
2861         (Context.bot): New function.
2862         (get_parser): Allow bot action.
2864 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2866         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2867         Import email.mime.text, email.utils and smtplib modules.
2868         (Context.__init__): Initialize self.bot_config_json.
2869         (Context.run_builds): Handle bot-cycle action.
2870         (Context.load_bot_config_json): New function.
2871         (Context.part_build_old): Likewise.
2872         (Context.bot_cycle): Likewise.
2873         (Context.bot_build_mail): Likewise.
2874         (Context.bot_run_self): Likewise.
2875         (get_parser): Allow bot-cycle action.
2877 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2879         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2880         Remove redirection to __stpcpy_ppc.
2882 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2884         Remove __libc_memalign from ld.so because it is unused.
2885         * elf/dl-minimal.c: Update comment on the malloc implementation.
2886         (malloc): Renamed from __libc_memalign, replacing the original
2887         malloc implementation.  Replace the align parameter with
2888         MALLOC_ALIGNMENT.
2889         * elf/Versions (ld): Update comment and remove __libc_memalign.
2890         * sysdeps/nacl/ld.abilist: Likewise.
2891         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2892         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2893         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2894         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2895         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2896         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2897         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2898         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2899         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2900         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2901         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2902         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2903         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2907         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2908         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2909         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2910         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2911         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2914         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2915         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2916         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2917         * sysdeps/generic/localplt.data (ld.so): Likewise.
2918         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2919         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2920         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2921         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2922         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2923         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2924         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2925         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2926         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2928         (ld.so): Likewise.
2929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2930         (ld.so): Likewise.
2931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2932         Likewise.
2933         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2934         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2935         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2936         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2937         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2939 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2941         [BZ #16628]
2942         Implement _dl_catch_error, _dl_signal_error in libc.so.
2943         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2944         (catch_hook): Define as thread-local or regular variable,
2945         depending on DL_ERROR_BOOTSTRAP.
2946         (CATCH_HOOK): Remove.
2947         (dl_signal_error, _dl_catch_error): Use
2948         catch_hook.  Add hidden definition for libc.
2949         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2950         for DL_ERROR_BOOTSTRAP only.
2951         * elf/dl-error.c: New file.
2952         * elf/dl-error-minimal.c: Likewise.
2953         * elf/tst-latepthread.c: Likewise.
2954         * elf/tst-latepthreadmod.c: Likewise.
2955         * elf/Makefile (routines): Add dl-error.
2956         (dl-routines): Remove dl-error.
2957         (rtld-routines): Add dl-error-minimal.
2958         [build-shared] (tests): Add tst-latepthread.
2959         (module-names): Add tst-latepthreadmod.
2960         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2961         symbol.
2962         (tst-latepthreadmod.so): Link against libpthread.
2963         (tst-latepthread): Link against libdbl.
2964         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2965         _dl_catch_error.
2966         [ld] (GLIBC_PRIVATE): Likewise.
2967         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2968         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2969         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2970         directly.
2971         * elf/dl-tsd.c: Remove file.
2972         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2973         _dl_catch_error, _dl_signal_error.
2974         (_dl_initial_error_catch_tsd): Remove definition.
2975         (do_preload): Remove initialization of dl_error_catch_tsd.
2976         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2977         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2978         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2979         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2980         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2981         set dl_error_catch_tsd.
2982         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2983         _dl_error_catch_tsd member.
2984         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2985         members.
2986         (_dl_initial_error_catch_tsd): Remove declaration.
2987         (_dl_dprintf): Provide definition for use outside of ld.so.
2988         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2989         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2990         prototype for libc.
2991         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2992         _dl_catch_error.
2993         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2994         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2995         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2996         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2997         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2998         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3000         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3001         Likewise.
3002         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3004         (ld.so): Likewise.
3005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3006         (ld.so): Likewise.
3007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3008         Likewise.
3009         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3010         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3011         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3012         Likewise.
3013         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3014         Likewise.
3015         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3017 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3019         [BZ #4099]
3020         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3021         _IO_BUFSIZ (8192).
3023 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3025         * PROJECTS: Remove file.
3027 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3029         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3031 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3032             Steve Ellcey  <sellcey@caviumnetworks.com>
3034         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3035         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3036         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3037         fxstatat.
3038         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3039         lxstat.
3040         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3041         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3042         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3043         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3044         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3045         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3046         __xstat.
3048 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3050         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3051         Define.
3052         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3053         definition.
3055 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3057         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3058         version and turn into strong alias.  Remove compat symbol.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3061         (__longjmp): Remove.
3063 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3065         * bits/fp-fast.h: New file.
3066         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3067         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3068         * math/Makefile (headers): Add bits/fp-fast.h.
3069         * math/math.h: Include <bits/fp-fast.h>.
3070         * bits/mathdef.h (FP_FAST_FMA): Remove.
3071         (FP_FAST_FMAF): Likewise.
3072         (FP_FAST_FMAL): Likewise.
3073         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3074         (FP_FAST_FMAF): Likewise.
3075         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3076         (FP_FAST_FMAF): Likewise.
3077         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3078         (FP_FAST_FMAF): Likewise.
3079         (FP_FAST_FMAL): Likewise.
3080         * sysdeps/arm/bits/mathdef.h: Remove file.
3081         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3082         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3083         * sysdeps/tile/bits/mathdef.h: Likewise.
3085 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3087         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3088         * math/w_ilogb.c: Remove.
3089         * math/w_ilogbf.c: Likewise.
3090         * math/w_ilogbl.c: Likewise.
3091         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3092         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3093         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3094         (libm-calls): Remove w_ilogbF.
3095         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3096         (LDOUBLE_ilogbl_libm_version): New macro.
3098         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3100         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3101         [!__STRICT_ANSI__ && !__cplusplus].
3103 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3105         [BZ #20750]
3106         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3107         of PIC.
3109 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3110             Yury Norov  <ynorov@caviumnetworks.com>
3111             Steve Ellcey  <sellcey@caviumnetworks.com>
3113         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3114         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3115         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3116         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3117         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3118         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3119         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3120         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3121         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3122         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3123         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3124         to get correct reg name for ILP32.
3125         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3126         (RELA_SIZE): New Macro.
3127         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3128         to support ILP32.
3129         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3130         cast for ILP32 mode.
3131         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3132         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3133         * sysdeps/aarch64/memset.S (__memset): Ditto.
3134         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3135         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3136         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3137         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3138         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3139         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3140         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3141         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3142         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3143         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3144         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3145         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3146         change PTR_MANGLE call to use register numbers instead of names.
3147         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3148         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3149         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3150         * sysdeps/aarch64/start.S (_start): Ditto.
3151         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3152         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3153         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3154         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3155         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3156         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3157         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3158         Make defined values dependent on __ILP32__.
3159         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3160         (sem_t): Change __align type.
3161         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3162         PTR_SIZE): New Macros.
3163         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3164         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3165         Set when in ILP32 mode.
3166         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3167         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3168         Set elf flags for ILP32.
3169         (add_system_dir): Set ILP32 library directories.
3170         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3171         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3172         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3173         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3174         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3175         New Macros.
3176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3178 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3180         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3181         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3182         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3184 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3186         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3187         <asm/cachectl.h>.
3189 2016-11-27  Zack Weinberg  <zackw@panix.com>
3191         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3192         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3194 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3196         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3197         error_t to fix usage in C++ programs.
3199 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3201         * scripts/build-many-glibcs.py: Import datetime module.
3202         (Context.__init__): Load JSON build state.  Initialize list of
3203         status logs.
3204         (Context.run_builds): Update saved build state.
3205         (Context.add_makefile_cmdlist): Update list of status logs.
3206         (Context.load_build_state_json): New function.
3207         (Context.store_build_state_json): Likewise.
3208         (Context.clear_last_build_state): Likewise.
3209         (Context.update_build_state): Likewise.
3210         (CommandList.status_logs): Likewise.
3212 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3214         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3215         script being executed.
3216         (Context.get_script_text): New function.
3217         (Context.exec_self): Likewise.
3218         (Context.checkout): Re-exec script if changed by checkout process.
3220 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3222         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3223         (setpayloadsig): New declaration.
3224         * math/Versions (setpayloadsig): New libm symbol at version
3225         GLIBC_2.25.
3226         (setpayloadsigf): Likewise.
3227         (setpayloadsigl): Likewise.
3228         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3229         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3230         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3231         (setpayloadsig_test_data): New array.
3232         (setpayloadsig_test): New function.
3233         (main): Call setpayloadsig_test.
3234         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3235         setpayloadsigf and setpayloadsigl.
3236         * manual/libm-err-tab.pl: Update comment on interfaces without
3237         ulps tabulated.
3238         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3239         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3240         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3241         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3242         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3243         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3244         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3245         setpayloadsig.
3246         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3247         * sysdeps/nacl/libm.abilist: Update.
3248         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3249         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3250         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3251         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3252         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3253         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3254         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3255         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3256         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3257         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3258         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3259         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3261         Likewise.
3262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3263         Likewise.
3264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3265         Likewise.
3266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3267         Likewise.
3268         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3269         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3272         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3276         Likewise.
3277         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3278         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3279         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3281         * scripts/build-many-glibcs.py: Import json module.
3282         (Context.__init__): Take replace_sources argument.  Load
3283         versions.json.
3284         (Context.load_versions_json): New function.
3285         (Context.store_json): Likewise.
3286         (Context.store_versions_json): Likewise.
3287         (Context.set_component_version): Likewise.
3288         (Context.checkout): Update versions.json.  Check for and handle
3289         changes of version.  Prefer previously explicitly specified
3290         version to default version.
3291         (Context.checkout_vcs): Return a revision identifier.
3292         (Context.git_checkout): Likewise.
3293         (Context.gcc_checkout): Likewise.
3294         (get_parser): Add --replace-sources option.
3295         (main): Pass replace_sources argument to Context call.
3297 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3299         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3300         * nptl/allocatestack.c (allocate_stack): Likewise.
3301         (__reclaim_stacks): Likewise.
3302         (setxid_signal_thread): Obtain pid through syscall.
3303         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3304         (sighandle_setxid): Likewise.
3305         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3306         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3307         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3308         Likewise.
3309         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3310         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3311         comment.
3312         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3313         * nptl/descr.h (struct pthread): Change comment about pid value.
3314         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3315         pid assert.
3316         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3317         Do not set pid value.
3318         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3319         pid cache check.
3320         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3321         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3322         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3323         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3324         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3325         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3326         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3327         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3328         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3329         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3330         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3331         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3332         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3333         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3334         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3335         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3336         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3337         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3338         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3339         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3340         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3341         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3342         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3343         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3344         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3347         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3348         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3349         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3350         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3351         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3352         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3353         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3354         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3355         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3356         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3357         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3358         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3359         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3360         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3361         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3362         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3365         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3366         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3367         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3368         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3369         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3370         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3371         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3372         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3373         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3374         struct access.
3375         (clone_test): Remove function.
3376         (do_test): Rewrite to take in consideration pid is not cached anymore.
3378 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3380         * bits/flt-eval-method.h: New file.
3381         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3382         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3383         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3384         * math/Makefile (headers): Add bits/flt-eval-method.h.
3385         * math/math.h: Include <bits/flt-eval-method.h>.
3386         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3387         [__USE_ISOC99] (double_t): Likewise.
3388         * bits/mathdef.h (float_t): Remove.
3389         (double_t): Likewise.
3390         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3391         (double_t): Likewise.
3392         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3393         (double_t): Likewise.
3394         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3395         (double_t): Likewise.
3396         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3397         (double_t): Likewise.
3398         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3399         (double_t): Likewise.
3400         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3401         (double_t): Likewise.
3402         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3403         (double_t): Likewise.
3404         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3405         (double_t): Likewise.
3406         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3407         (double_t): Likewise.
3408         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3409         (double_t): Likewise.
3410         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3411         (double_t): Likewise.
3412         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3413         (double_t): Likewise.
3414         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3415         (double_t): Likewise.
3417 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3419         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3420         instead of PIC.
3422 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3424         [BZ #20859]
3425         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3426         (-0x7fffffff) instead of 0x80000001.
3427         * math/test-fp-ilogb-constants.c: New file.
3428         * math/Makefile (tests): Add test-fp-ilogb-constants.
3430 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3432         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3433         (_init): Use it in place of hardcoded R_MIPS_JALR.
3434         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3435         (_init): Use it in place of hardcoded R_MIPS_JALR.
3436         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3437         (_init): Use it in place of hardcoded R_MIPS_JALR.
3439 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3441         [BZ #20787]
3442         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3443         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3444         (double_t): Do not define to double if [__x86_64__] when
3445         __FLT_EVAL_METHOD__ is nonzero.
3446         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3447         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3448         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3449         test-flt-eval-method-387 and test-flt-eval-method-sse.
3450         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3451         variable.
3452         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3454 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3456         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3457         use of -fno-isolate-erroneous-paths options for tilepro.
3459 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3461         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3462         structure initialization is no longer needed.
3464 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #20855]
3467         * bits/mathdef.h (float_t): Define to float.
3468         * math/test-flt-eval-method.c: New file.
3469         * math/Makefile (tests): Add test-flt-eval-method.
3470         (CFLAGS-test-flt-eval-method.c): New variable.
3472 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3474         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3475         and __fstatfs.  Make them aliases of __fstatfs64 if
3476         STATFS_IS_STATFS64 is set to non-zero.
3477         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3478         and __statfs64.
3479         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3480         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3481         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3482         for __statfs and statfs.
3483         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3484         to 0.
3485         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3486         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3487         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3488         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3489         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3490         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3493         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3494         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3495         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3496         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3498 2016-11-22  Andreas Schwab  <schwab@suse.de>
3500         * misc/mkstemp.c: Include <fcntl.h>.
3501         * misc/mkstemps.c: Likewise.
3502         * misc/mkostemp.c: Likewise.
3503         * misc/mkostemps.c: Likewise.
3505 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3507         [BZ #20847]
3508         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3509         array bounds.
3510         (__execvpe): Likewise.
3512 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3514         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3515         -fno-isolate-erroneous-paths options for tilepro.
3517 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3519         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3520         to 0 when in 32 bit mode.
3521         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3522         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3523         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3524         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3526         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3527         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3528         XSTAT_IS_XSTAT64 test.
3529         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3530         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3531         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3532         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3533         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3534         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3535         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3536         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3537         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3538         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3539         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3541 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3543         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3544         (setpayload): New declaration.
3545         * math/Versions (setpayload): New libm symbol at version
3546         GLIBC_2.25.
3547         (setpayloadf): Likewise.
3548         (setpayloadl): Likewise.
3549         * math/Makefile (libm-calls): Add s_setpayloadF.
3550         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3551         test_Ff_b1_data.
3552         (RUN_TEST_Ff_b1): New macro.
3553         (RUN_TEST_LOOP_Ff_b1): Likewise.
3554         (canonicalize_test_data): Update type.
3555         (setpayload_test_data): New array.
3556         (setpayload_test): New function.
3557         (main): Call setpayload_test.
3558         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3559         setpayloadf and setpayloadl.
3560         * manual/libm-err-tab.pl: Update comment on interfaces without
3561         ulps tabulated.
3562         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3563         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3564         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3565         Likewise.
3566         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3567         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3568         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3569         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3570         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3571         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3572         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3573         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3574         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3575         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3576         setpayload.
3577         (CFLAGS-nldbl-setpayload.c): New variable.
3578         * sysdeps/nacl/libm.abilist: Update.
3579         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3580         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3581         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3582         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3583         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3584         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3585         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3586         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3587         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3588         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3589         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3590         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3592         Likewise.
3593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3594         Likewise.
3595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3596         Likewise.
3597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3598         Likewise.
3599         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3602         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3603         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3605         Likewise.
3606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3607         Likewise.
3608         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3609         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3610         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3612 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3614         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3615         * include/unistd.h: Extend comment about __access_noerrno return
3616         semantics.
3617         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3618         (access_common): Correct typo for EACCES.
3620 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3622         * sysdeps/tile/math-tests.h: New file.
3624         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3625         (__old_set_dataplane): Rename from set_dataplane and make a
3626         compatibility symbol.
3627         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3628         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3629         sys/dataplane.h.
3631 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3633         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3634         script quote words in command output to log suitably for input to
3635         the shell.
3637 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3638             Maciej W. Rozycki  <macro@imgtec.com>
3640         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3641         `.Lno_weak_fn' label.
3642         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3643         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3645 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3646             Yury Norov  <ynorov@caviumnetworks.com>
3648         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3649         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3650         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3651         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3652         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3653         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3654         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3655         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3656         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3657         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3658         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3659         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3660         (sysdep_routines): Remove oldgetrlimit64.
3661         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3662         (sysdep_routines): Likewise.
3663         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3664         (sysdep_routines): Likewise.
3665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3666         [$(subdir) = resource] (sysdep_routines): Likewise.
3667         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3668         [$(subdir) = resource] (sysdep_routines): Likewise.
3669         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3670         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3671         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3672         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3673         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3674         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3675         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3676         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3677         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3678         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3679         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3680         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3681         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3682         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3683         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3684         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3685         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3686         setrlimit and getrlimit.
3687         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3688         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3689         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3694         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3696         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3697         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3698         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3699         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3700         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3701         (__old_getrlimit64): Add compatibility symbol.
3702         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3704 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3706         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3707         newly built gmp, mpfr and mpc.
3709         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3711 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3713         * conform/Makefile (linknamespace-libs): Rename to
3714         linknamespace-libs-thr.
3715         (linknamespace-libs-posix): New variable.
3716         (linknamespace-libs-xsi): Likewise.
3717         (linknamespace-libs-XPG3): Include libcrypt.a.
3718         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3719         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3720         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3721         (linknamespace-libs-XOPEN2K): Likewise.
3722         (linknamespace-libs-XOPEN2K8): Likewise.
3723         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3725         [BZ #20829]
3726         * stdio-common/Versions (__snprintf): Add to version
3727         GLIBC_PRIVATE.
3728         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3729         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3730         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3731         of snprintf.
3732         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3734 2016-11-16  Zack Weinberg  <zackw@panix.com>
3736         * string/string.h: Remove obsolete comment stating that
3737         strcoll_l and strxfrm_l have not yet been standardized.
3739 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3741         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3742         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3743         __access_noerrno.
3744         * io/access.c (__access_noerrno): New function.
3745         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3746         (hurd_fail_seterrno): Likewise.
3747         (access_common): Likewise.
3748         (__access_noerrno): Likewise.
3749         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3750         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3751         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3752         macro.
3754 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3756         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3757         Only declare fpregs if [__SH_FPU_ANY__].
3759 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3761         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3762         Make code unconditional.
3763         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3765 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3767         * manual/sysinfo.texi (S_APPEND): Delete.
3768         (S_IMMUTABLE): Likewise.
3770 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3771             Magnus Granberg  <zorry@gentoo.org>
3772             Mike Frysinger  <vapier@gentoo.org>
3774         [BZ #20662]
3775         * configure.ac (libc_cv_predef_stack_protector): Also check for
3776         __stack_chk_fail_local symbols.
3777         * configure: Regenerated.
3779 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3781         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3782         (libc_hidden_def): Remove redefinition.
3783         (__sigsetjmp): Add hidden definition.
3784         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3785         (libc_hidden_def): Remove redefinition.
3786         (__sigsetjmp): Add hidden definition.
3788 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3790         * scripts/build-many-glibcs.py (os.path): Do not import.
3791         (Context): Inherit explicitly from object.  Remove blank line
3792         between class and docstring.
3793         (Config): Likewise.
3794         (Glibc): Likewise.
3795         (Command): Likewise.
3796         (CommandList): Likewise.
3797         (Context.write_files): Store chmod mode in a variable.
3799         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3800         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3801         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3803 2016-11-14  Zack Weinberg  <zackw@panix.com>
3805         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3806         creating or re-creating it.
3808         * string/bits/string2.h: Fix typo in comment.
3810 2016-11-14  Zack Weinberg  <zackw@panix.com>
3812         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3813         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3814         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3815         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3816         of redirected function names.
3818         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3819         as well.  Document that MESSAGE must be a single string literal.
3821 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3823         * scripts/build-many-glibcs.py: New file.
3825         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3826         (do_test): Disable -Wmaybe-uninitialized around uses of
3827         except_mask.
3829         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3831 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3833         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3834         (atomic_store_release): Provide tilepro-specific implementations.
3836 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3838         * math/math.h (__MATH_TG): New macro.
3839         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3840         [__USE_ISOC99] (signbit): Likewise.
3841         [__USE_ISOC99] (isfinite): Likewise.
3842         [__USE_ISOC99] (isnan): Likewise.
3843         [__USE_ISOC99] (isinf): Likewise.
3844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3846         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3847         __MATH_TG and __MATH_EVAL_FMT2.
3848         * sysdeps/generic/math_private.h (fabs_tg): Define using
3849         __MATH_TG.
3850         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3851         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3852         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3853         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3854         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3855         macro.
3856         (__iscanonical): Likewise.
3857         (iscanonical): Define using __MATH_TG.
3859 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3861         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3862         guards.
3864         * sysdeps/unix/sysv/linux/access.c: New file.
3865         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3867 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3869         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3870         and __WORDSIZE32_PTRDIFF_LONG.
3872 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3874         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3876 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3878         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3879         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3880         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3881         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3882         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3884         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3885         * sysdeps/unix/sysv/linux/truncate.c: New file.
3886         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3887         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3888         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3889         Remove.
3890         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3891         Likewise.
3893         * posix/tst-truncate-common.c: New file.
3894         * posix/tst-truncate.c: Use tst-truncate-common.c.
3895         * posix/tst-truncate64.c: Likewise and add LFS tests.
3896         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3897         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3898         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3899         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3900         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3902         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3903         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3904         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3905         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3906         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3907         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3908         Remove.
3909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3910         Likewise.
3912 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3914         [BZ #20790]
3915         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3916         to MAXLINESIZE.
3917         * sunrpc/bug20790.x: New file.
3918         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3919         variable.
3920         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3921         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3923         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3925         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3927         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3928         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3929         calloc, realloc, free, memalign and __libc_memalign rather than
3930         making them optional.
3932         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3933         for libc.so.
3935 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3937         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3938         ptw-lseek64.
3939         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3940         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3941         Likewise.
3942         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3943         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3944         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3945         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3946         * sysdeps/unix/sysv/linux/lseek.c: New file.
3947         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3948         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3949         __libc_lseek64 from auto-generation.
3950         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3951         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3953 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3955         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3956         * nptl/tst-cleanup1.c (do_test): Likewise.
3957         * nptl/tst-cleanup3.c (do_test): Likewise.
3958         * nptl/tst-key1.c (do_test): Likewise.
3959         * nptl/tst-key2.c (tf, do_test): Likewise.
3960         * nptl/tst-key3.c (tf, do_test): Likewise.
3961         * nptl/tst-stdio1.c (do_test): Likewise.
3962         * nptl/tst-stdio2.c (do_test): Likewise.
3964         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3965         * nptl/tst-kill6.c (handler): Likewise.
3966         * nptl/tst-tls2.c (CB): Likewise.
3967         * nptl/tst-tls3.c (CB): Likewise.
3969 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3971         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3973 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3974             Steve Ellcey  <sellcey@caviumnetworks.com>
3976         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3977           __ASSUME_ST_INO_64_BIT as 0
3978         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3979         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3980           over the code where __ASSUME_ST_INO_64_BIT is used.
3981         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3982         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3983         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3985 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3987         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3988         Document ABI exposure of the __kind offset.
3989         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3990         Mention reason for the __kind offset exposure in the ABI.
3991         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3992         Likewise.
3993         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3994         Likewise.
3995         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3996         Likewise.
3997         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3998         (struct __pthread_mutex_s): Likewise.
3999         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4000         Likewise.
4001         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4002         Likewise.
4003         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4004         Likewise.
4005         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4006         Likewise.
4007         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4008         Likewise.
4009         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4010         Likewise.
4011         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4012         (struct __pthread_mutex_s): Likewise.
4013         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4014         (struct __pthread_mutex_s): Likewise.
4015         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4016         Likewise.
4018 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4020         * test-skeleton.c: Document do_test usage.
4022 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4024         * iconv/gconv.h (__gconv_info): Define __data element using a
4025         zero-length array.
4027 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4029         * math/test-tgmath2.c: Split up test function.
4031 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4033         * Rules (tests-expected): New variable, depending on
4034         $(run-built-tests).
4035         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4036         $(tests).
4038         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4039         $(tests-unsupported).
4041 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4043         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4044         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4046 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4048         [BZ #20768]
4049         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4050         __fegetenv instead of fegetenv.
4052         [BZ #14139]
4053         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4054         (find_files): Obtain platform name from libm-test-ulps-name and
4055         store in %pplatforms.
4056         (canonicalize_platform): Remove.
4057         (print_platforms): Use $pplatforms directly.
4058         (by_platforms): Do not allow for platforms missing from
4059         %pplatforms.
4060         * sysdeps/aarch64/libm-test-ulps-name: New file.
4061         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4062         * sysdeps/arm/libm-test-ulps-name: Likewise.
4063         * sysdeps/generic/libm-test-ulps-name: Likewise.
4064         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4065         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4066         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4067         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4068         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4069         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4070         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4071         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4072         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4073         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4074         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4075         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4076         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4077         * sysdeps/sh/libm-test-ulps-name: Likewise.
4078         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4079         * sysdeps/tile/libm-test-ulps-name: Likewise.
4080         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4082         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4084         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4085         (test-xfail-check-execstack): New variable.
4087         * sysdeps/mips/localplt.data: New file.
4089 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4090             Steve Ellcey  <sellcey@caviumnetworks.com>
4092         * bits/wordsize.h: Add documentation.
4093         * sysdeps/aarch64/bits/wordsize.h : New file
4094         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4095         definitions.
4096         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4097         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4098         with #if instead of #ifdef.
4099         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4100         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4101         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4102         Add or change defines.
4103         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4104         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4105         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4106         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4107         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4108         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4109         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4110         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4111         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4112         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4113         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4114         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4115         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4116         * sysdeps/x86/bits/wordsize.h: Likewise.
4118 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4119             Kevin Petit  <kevin.petit@arm.com>
4121         * sysdeps/aarch64/memchr.S (__memchr): New file.
4123 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4125         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4127 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4129         [BZ #19398]
4130         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4131         $(linknamespace-symlists-tests).
4133 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4135         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4137 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4138             Carlos O'Donell  <carlos@redhat.com>
4140         [Bug #20729]
4141         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4142         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4143         for -Os related change.
4145 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4147         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4149 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4151         [BZ #19673]
4152         * manual/math.texi (Exponents and Logarithms): Correct description
4153         of clog10.
4155 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4157         [Bz #20729]
4158         * locale/weight.h: Include libc-internal.h.
4159         * locale/weightwc.h: Likewise.
4160         * nptl/nptl_dbP.h: Likewise.
4162 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4164         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4165         when it is MACH_PORT_NULL.
4167 2016-10-31  Andreas Schwab  <schwab@suse.de>
4169         [BZ #20707]
4170         * posix/glob.c (glob): Initialize pglob before checking for
4171         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4172         valid brace expression despite GLOB_BRACE.
4173         * posix/globtest.sh: Test it.
4175 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4177         [BZ #20729]
4178         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4179         Define.
4180         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4181         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4182         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4183         for seq2.back_us and seq1.back_us only for -Os compiles.
4184         * locale/weightwc.h (findix): Likewise.
4185         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4186         DB_GET_FIELD_ADDRESS only for -Os compiles.
4187         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4188         for slen only for -Os compiles.
4189         * string/strcoll_l.c (get_next_seq): Ignore
4190         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4191         for -Os compiles.
4193         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4194         * include/crypt.h: New file.
4196 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4198         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4199         from test-skeleton.c.
4200         (statclass): Replace calls to write with calls to write_message.
4202 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4204         * math/math.h
4205         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4206         New macro.
4207         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4208         Likewise.
4209         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4210         Likewise.
4211         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4212         SNANL.
4213         * math/test-double.h (snan_value_MACRO): New macro.
4214         * math/test-float.h (snan_value_MACRO): Likewise.
4215         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4216         * math/libm-test.inc (issignaling_test_data): Add tests of
4217         snan_value_MACRO.
4219 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4221         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4222         behavior when eliding a lock not held by the current thread.
4223         * sysdeps/powerpc/nptl/elide.h: Likewise.
4225 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4227         [BZ #20728]
4228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4229         branch to _exit() by a function call.
4231 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4233         * malloc/malloc.c: Update chunk layout comments.
4234         (chunk_main_arena): Update comment.
4236 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4238         * crypt/sha256.c, crypt/sha256-block.c,
4239         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4240         sha256_process_block to __sha256_process_block.
4241         * crypt/sha512.c, crypt/sha512-block.c,
4242         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4243         sha512_process_block to __sha512_process_block.
4245 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4247         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4249         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4251 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4253         [BZ #20019]
4254         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4255         definition in unrelocated shared library.
4256         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4258 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4260         [BZ #20729]
4261         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4262         * sysdeps/unix/sysv/linux/i386/Makefile
4263         (uses-6-syscall-arguments): Define.
4264         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4265         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4266         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4267         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4268         Likewise.
4269         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4270         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4271         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4272         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4273         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4274         (CFLAGS-fallocate64.os): Likewise.
4275         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4276         (CFLAGS-pthread_rwlock_timedrdlock.os)
4277         (CFLAGS-pthread_rwlock_timedwrlock.o)
4278         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4279         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4280         (CFLAGS-sem_timedwait.os): Likewise.
4282 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4284         * elf/tst-linkall-static.c: New file.
4285         * elf/Makefile (tests-static): Add tst-linkall-static.
4286         (tst-linkall-static): Link against static libraries.
4288 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4290         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4291         mmaped chunks.
4293 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4295         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4296         members to mchunk_prev_size, mchunk_size.
4297         (chunk_main_arena): Reverse sense and rename from
4298         chunk_non_main_arena.
4299         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4300         mchunk_size instead of size.
4301         (set_non_main_arena): Define.
4302         (chunksize): Use chunksize_nomask instead of direct member access.
4303         (chunksize_nomask): Define.
4304         (next_chunk): Use chunksize instead of direct member access.
4305         (prev_size, set_prev_size): Define.
4306         (prev_chunk): Use prev_size instead of direct member access.
4307         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4308         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4309         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4310         (mchunk_prev_size, mchunk_size): Poison tokens.
4311         (unlink): Use chunksize_nomask, prev_size accessors.
4312         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4313         (do_check_free_chunk): Use prev_size accessor.
4314         (sysmalloc): Use set_prev_size, set_head accessors.
4315         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4316         (__libc_free): Use chunksize_nomask accessor.
4317         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4318         chunk_main_arena accessors.
4319         (_int_free): Use chunksize_nomask, prev_size accessors.
4320         (malloc_consolidate): Use chunksize, prev_size accessors.
4321         (_int_realloc): Use chunksize_nomask accessor.
4322         (_int_memalign): Use set_prev_size accessor.
4323         (__malloc_info): Use chunksize_nomask accessor.
4324         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4325         accessors.
4326         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4327         (heap_trim): Use chunksize_nomask, prev_size accessors.
4329 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4331         [BZ #19380]
4332         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4333         for inexact results.
4334         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4335         of inexact result where mpfr_subnormalize is the only inexact
4336         step.
4337         * stdlib/tst-strtod-round-data.h: Regenerated.
4338         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4339         Define to 0.
4340         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4342 2016-10-27  David S. Miller  <davem@davemloft.net>
4344         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4346 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4348         * malloc/malloc.c (do_set_mallopt_check): New function.
4349         (do_set_mmap_threshold): Likewise.
4350         (do_set_mmaps_max): Likewise.
4351         (do_set_top_pad): Likewise.
4352         (do_set_perturb_byte): Likewise.
4353         (do_set_trim_threshold): Likewise.
4354         (do_set_arena_max): Likewise.
4355         (do_set_arena_test): Likewise.
4356         (__libc_mallopt): Use them.
4358 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4361         (canonicalize): New declaration.
4362         * math/Versions (canonicalize): New libm symbol at version
4363         GLIBC_2.25.
4364         (canonicalizef): Likewise.
4365         (canonicalizel): Likewise.
4366         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4367         * math/s_canonicalize_template.c: New file.
4368         * math/libm-test.inc: Update comment on functions tested and
4369         testing of NaN payloads.
4370         (TEST_NAN_PAYLOAD): New macro.
4371         (NO_TEST_INLINE): Update value.
4372         (XFAIL_TEST): Likewise.
4373         (ERRNO_UNCHANGED): Likewise.
4374         (ERRNO_EDOM): Likewise.
4375         (ERRNO_ERANGE): Likewise.
4376         (IGNORE_RESULT): Likewise.
4377         (NON_FINITE): Likewise.
4378         (TEST_SNAN): Likewise.
4379         (NO_TEST_MATHVEC): Likewise.
4380         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4381         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4382         (struct test_Ffp_b1_data): New type.
4383         (RUN_TEST_Ffp_b1): New macro.
4384         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4385         (canonicalize_test_data): New array.
4386         (canonicalize_test): New function.
4387         (main): Call canonicalize_test.
4388         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4389         canonicalizef and canonicalizel.
4390         * manual/libm-err-tab.pl: Update comment on interfaces without
4391         ulps tabulated.
4392         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4393         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4394         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4395         canonicalize.
4396         (CFLAGS-nldbl-canonicalize.c): New variable.
4397         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4398         to ...
4399         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4400         ... here.
4401         (do_test): Also test canonicalizel.
4402         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4403         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4404         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4405         file.
4406         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4407         Use libm_hidden_def.
4408         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4409         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4410         (do_test): Also test canonicalizel.
4411         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4412         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4413         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4414         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4415         libm_hidden_def.
4416         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4417         macro.
4418         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4419         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4420         * sysdeps/nacl/libm.abilist: Update.
4421         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4422         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4423         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4424         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4425         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4426         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4427         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4428         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4429         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4430         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4431         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4432         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4434         Likewise.
4435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4436         Likewise.
4437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4438         Likewise.
4439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4440         Likewise.
4441         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4442         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4443         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4444         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4445         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4447         Likewise.
4448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4449         Likewise.
4450         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4454         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4455         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4456         getpayload.
4457         (CFLAGS-nldbl-getpayload.c): New variable.
4459 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4461         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4462         integer from the format string.
4464 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4466         [BZ #19473]
4467         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4468         declarations.
4469         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4470         weak aliases.
4471         * malloc/hooks.c (__malloc_get_state): Remove definition.
4472         (malloc_get_state): New stub implementation as
4473         compatibility symbol.
4474         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4475         compat symbol.
4476         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4477         malloc_set_state.
4478         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4480 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4482         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4483         (names): Turn into concatenation of strings.
4484         (gconv_init): Adapt iteration over names.
4486 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4488         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4489         make const.
4490         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4491         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4492         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4493         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4494         character in sbconv.
4495         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4496         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4497         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4499 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4501         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4503         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4504         (M_TRIM_THRESHOLD): Likewise.
4506         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4507         (M_ARENA_MAX): Likewise.
4508         * malloc/malloc.c: Remove obsolete comment.
4510         * manual/memory.texi: Add environment variable alternatives to
4511         setting mallopt parameters.
4513 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4515         * include/atomic.h
4516         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4517         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4519 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4521         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4522         * stdlib/tst-strfrom.h: New file.
4523         * stdlib/tst-strfrom.c: New file.
4524         * stdlib/tst-strfrom-locale.c: New file.
4526         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4527         * stdlib/bug-strtod2.c: Likewise.
4528         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4529         * stdlib/tst-strtod6.c: Likewise.
4530         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4532 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4534         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4535         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4536         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4537         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4538         * stdlib/stdlib.h (strfromd): New declaration.
4539         (strfromf): Likewise.
4540         (strfroml): Likewise.
4541         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4542         strfrom.
4543         * stdlib/strfromd.c: New file.
4544         * stdlib/strfromf.c: Likewise.
4545         * stdlib/strfroml.c: Likewise.
4546         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4547         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4548         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4549         * sysdeps/arm/nacl/libc.abilist: Update.
4550         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4551         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4552         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4553         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4554         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4555         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4556         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4557         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4558         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4559         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4561         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4562         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4563         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4568         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4569         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4570         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4571         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4572         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4575         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4576         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4577         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4579 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4581         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4582         instead of cmpli.
4583         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4584         instead of cmpli.
4586 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4588         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4589         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4590         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4591         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4592         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4593         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4595 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4597         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4598         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4599         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4600         SYSCALL_LL64_PRW.
4601         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4602         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4603         __ASSUME_PRW_DUMMY_ARG.
4604         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4605         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4606         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4607         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4608         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4609         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4611 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4613         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4615 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4617         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4618         "C++", to override a potential extern "C" directive around the
4619         header file inclusion.
4621 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4623         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4625 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4627         * sysdeps/powerpc/fpu/fenv_private.h:
4628         (_FPU_MASK_ALL): Rename to...
4629         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4630         XE FPSCR bits.
4632         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4634         (_FPU_MASK_ROUNDING): Rename to...
4635         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4636         NI bits.
4638         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4639         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4640         bits and rounding bits.
4642         (__libc_feholdbits_ppc): New inline function to mask, set,
4643         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4644         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4645         (libc_feholdexcept_setround_ppc): Likewise.
4647         (__libc_femergeenv_ppc): New function to dynamically mask both
4648         old and new FP environments and merge.
4649         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4650         (libc_feresetround_ppc): Likewise.
4651         (libc_feupdateenv_test_ppc): Likewise.
4652         (libc_feupdateenv_ppc): Likewise.
4654         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4655         of ISA RN bits, and update macro names.
4656         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4657         effectively the same as the previously mentioned function.
4659         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4660         usage with fe_resetround_ppc.
4662         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4663         to be used.
4664         (libc_feholdexcept_setround_ctxf): Likewise.
4665         (libc_feholdexcept_setround_ctxl): Likewise.
4667 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4669         [BZ #20715]
4670         * math/math.h [__cplusplus] (iszero): Define as function template.
4671         * math/Makefile [CXX] (tests): Add test-math-iszero.
4672         (CFLAGS-test-math-iszero.cc): Set.
4673         * math/test-math-iszero.cc: New file.
4675 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4677         [BZ #20660]
4678         * sysdeps/arm/e_sqrt.c: New file.
4679         * sysdeps/arm/e_sqrtf.c: Likewise.
4681 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4683         [BZ #20718]
4684         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4685         not use floating-point comparisons to test sign.
4686         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4687         Likewise.
4689         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4690         (getpayload): New declaration.
4691         * math/Versions (getpayload): New libm symbol at version
4692         GLIBC_2.25.
4693         (getpayloadf): Likewise.
4694         (getpayloadl): Likewise.
4695         * math/Makefile (libm-calls): Add s_getpayloadF.
4696         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4697         (struct test_f_f_data): Add comment.
4698         (RUN_TEST_fp_f): New macro.
4699         (RUN_TEST_LOOP_fp_f): Likewise.
4700         (getpayload_test_data): New array.
4701         (getpayload_test): New function.
4702         (main): Call getpayload_test.
4703         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4704         descriptor.
4705         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4706         getpayloadf and getpayloadl.
4707         * manual/libm-err-tab.pl: Update comment on interfaces without
4708         ulps tabulated.
4709         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4710         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4711         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4712         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4713         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4714         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4715         * sysdeps/nacl/libm.abilist: Update.
4716         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4717         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4718         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4719         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4720         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4721         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4722         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4723         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4724         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4725         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4726         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4727         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4729         Likewise.
4730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4731         Likewise.
4732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4733         Likewise.
4734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4735         Likewise.
4736         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4737         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4738         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4739         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4740         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4742         Likewise.
4743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4744         Likewise.
4745         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4746         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4747         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4749 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4751         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4752         tst-fallocate{64}.
4753         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4754         on syscall return.
4756 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4758         [BZ #20689]
4759         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4760         usable.
4762 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4764         * sysdeps/generic/nan-high-order-bit.h: New file.
4765         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4766         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4767         * sysdeps/hppa/math_private.h: Remove file.
4768         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4769         not define here.
4770         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4771         <nan-high-order-bit.h>.
4772         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4773         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4774         <nan-high-order-bit.h>.
4775         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4776         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4777         <nan-high-order-bit.h>.
4778         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4779         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4780         <nan-high-order-bit.h>.
4781         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4782         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4783         <nan-high-order-bit.h>.
4784         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4785         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4786         <nan-high-order-bit.h>.
4787         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4788         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4789         <nan-high-order-bit.h>.
4790         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4791         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4792         <nan-high-order-bit.h>.
4793         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4794         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4795         <nan-high-order-bit.h>.
4796         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4797         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4798         <nan-high-order-bit.h>.
4799         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4800         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4801         <nan-high-order-bit.h>.
4802         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4803         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4804         <nan-high-order-bit.h>.
4805         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4806         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4807         <nan-high-order-bit.h>.
4808         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4809         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4810         <nan-high-order-bit.h>.
4811         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4812         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4813         <nan-high-order-bit.h>.
4814         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4815         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4816         <nan-high-order-bit.h>.
4817         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4818         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4819         <nan-high-order-bit.h>.
4820         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4821         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4822         <nan-high-order-bit.h>.
4823         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4825 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4827         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4829 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4831         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4832         abort-instr.h.
4833         (EFAULT): Remove conditional define.
4834         (ENOSYS): Likewise.
4835         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4836         instead of conditional branch instructions.
4838 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4840         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4841         (totalordermag): New declaration.
4842         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4843         New macro.
4844         * math/Versions (totalordermag): New libm symbol at version
4845         GLIBC_2.25.
4846         (totalordermagf): Likewise.
4847         (totalordermagl): Likewise.
4848         * math/Makefile (libm-calls): Add s_totalordermagF.
4849         * math/libm-test.inc (totalordermag_test_data): New array.
4850         (totalordermag_test): New function.
4851         (main): Call totalordermag_test.
4852         * math/test-tgmath.c (NCALLS): Increase to 125.
4853         (F(compile_test)): Call totalordermag.
4854         (F(totalordermag)): New function.
4855         * manual/arith.texi (FP Comparison Functions): Document
4856         totalordermag, totalordermagf and totalordermagl.
4857         * manual/libm-err-tab.pl: Update comment on interfaces without
4858         ulps tabulated.
4859         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4860         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4861         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4862         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4863         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4864         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4865         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4866         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4867         totalordermag.
4868         (CFLAGS-nldbl-totalordermag.c): New variable.
4869         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4870         (do_test): Also test totalordermagl.
4871         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4872         Likewise.
4873         * sysdeps/nacl/libm.abilist: Update.
4874         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4875         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4876         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4877         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4878         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4889         Likewise.
4890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4891         Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4893         Likewise.
4894         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4895         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4896         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4897         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4898         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4900         Likewise.
4901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4902         Likewise.
4903         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4904         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4905         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4907 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4909         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4910         boolean.
4912 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4914         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4915         raising FE_INVALID with feraisexcept in case where part of
4916         argument is infinite, subtract that part of argument from itself.
4917         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4918         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4919         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4921 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4923         * math/libm-test.inc (totalorder_test_data): Add more tests.
4925 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4927         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4928         Undefine weak_alias and add a comment why mips64 require
4929         versioning.
4931 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4933         [BZ #20647]
4934         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4935         maximum CPUID level is less than 2.
4937 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4939         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4940         (totalorder): New declaration.
4941         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4942         New macro.
4943         * math/Versions (totalorder): New libm symbol at version
4944         GLIBC_2.25.
4945         (totalorderf): Likewise.
4946         (totalorderl): Likewise.
4947         * math/Makefile (libm-calls): Add s_totalorderF.
4948         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4949         string.
4950         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4951         (qnan_value_pl): Likewise.
4952         (snan_value_pl): Likewise.
4953         (qnan_value): Define using qnan_value_pl.
4954         (snan_value): Define using snan_value_pl.
4955         (struct test_ff_i_data): Add comment about which tests use this
4956         structure.
4957         (RUN_TEST_ff_b): New macro.
4958         (RUN_TEST_LOOP_ff_b): Likewise.
4959         (totalorder_test_data): New array.
4960         (totalorder_test): New function.
4961         (main): Call totalorder_test.
4962         * math/test-tgmath.c (NCALLS): Increase to 122.
4963         (F(compile_test)): Call totalorder.
4964         (F(totalorder)): New function.
4965         * manual/arith.texi (FP Comparison Functions): Document
4966         totalorder, totalorderf and totalorderl.
4967         * manual/libm-err-tab.pl: Update comment on interfaces without
4968         ulps tabulated.
4969         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4970         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4971         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4972         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4973         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4974         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4975         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4976         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4977         totalorder.
4978         (CFLAGS-nldbl-totalorder.c): New variable.
4979         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4980         file.
4981         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4982         Add test-totalorderl-ldbl-128ibm.
4983         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4984         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4985         test-totalorderl-ldbl-96.
4986         * sysdeps/nacl/libm.abilist: Update.
4987         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4988         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4989         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4990         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4991         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4992         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4993         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4994         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4995         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4996         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4997         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4998         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5000         Likewise.
5001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5004         Likewise.
5005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5009         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5010         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5011         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5013         Likewise.
5014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5015         Likewise.
5016         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5017         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5018         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5020 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5022         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5023         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5024         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5025         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5026         remove ENOSYS implementation.
5027         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5028         Consolidate all Linux implementations.
5030 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5032         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5033         * resolv/herror.c (herror): Cast away const-ness.
5034         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5035         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5037 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5039         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5040         instead of M_NAN + M_NAN.
5041         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5043 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5045         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5046         unused variable 'p'.
5048 2016-10-09  Alan Modra  <amodra@gmail.com>
5049             Andreas Schwab  <schwab@linux-m68k.org>
5051         [BZ #20554]
5052         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5053         [PIC && !SHARED]: Set up PIC register for PLT call.
5055 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5057         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5058         conditional on value of [__FLT_EVAL_METHOD__].
5059         * math/test-iseqsig-excess-precision.c: New file.
5060         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5062 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5064         * math/s_iseqsig_template.c: Include math-private.h.
5066         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5067         * posix/tst-posix_fadvise.c: New file.
5068         * posix/tst-posix_fadvise64.c: Likewise.
5069         * posix/tst-posix_fadvise-common.c: Likewise.
5070         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5071         (__ASSUME_FADVISE64_64_6ARG): Define.
5072         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5073         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5075         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5076         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5077         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5078         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5079         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5080         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5081         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5082         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5083         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5086         Likewise.
5087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5088         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5089         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5090         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5091         Alias to __posix_fadvise64_l32.
5092         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5093         Add compat definition to posix_fadvise64.
5094         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5095         Add versioned definition to posix_fadvise64.
5096         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5097         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5098         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5099         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5100         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5102         * io/Makefile (tests): Add tst-posix_fallocate and
5103         tst-posix_fallocate64.
5104         * io/tst-posix_fallocate-common.c: New file.
5105         * io/tst-posix_fallocate.c: Likewise.
5106         * io/tst-posix_fallocate64.c: Likewise.
5107         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5108         file.
5109         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5110         Likewise.
5111         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5112         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5115         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5116         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5117         SYSCALL_LL to pass both offset and len arguments.
5118         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5119         Likewise.
5120         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5121         __libc_pwrite64 alias used by posix_fallocate64.
5123         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5124         tst-fallocate64.
5125         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5126         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5127         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5128         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5129         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5130         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5131         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5132         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5133         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5134         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5135         macro on offset argument.
5136         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5137         SYSCALL_LL64 on offset argument.
5139         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5140         tst-fallocate64.
5141         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5142         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5143         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5144         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5145         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5146         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5147         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5148         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5149         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5150         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5151         macro on offset argument.
5152         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5153         SYSCALL_LL64 on offset argument.
5154         * test-skeleton.c (FAIL_RET): Add macro.
5155         (FAIL_EXIT): Likewise.
5156         (FAIL_EXIT1): Likewise.
5157         (_FAIL): Likewise.
5159 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5161         [BZ #20629]
5162         resolv: Remove RES_USEBSTRING and its implementation.
5163         * resolv/resolv.h (RES_USEBSTRING): Remove.
5164         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5165         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5166         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5167         (labellen): Remove extended label types support.
5168         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5169         * resolv/res_init.c (res_setoptions): Likewise.
5170         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5172 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5174         resolv: Remove RES_NOIP6DOTINT and its implementation.
5175         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5176         (RES_NOIP6DOTINT): Remove.
5177         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5178         handling.
5179         * resolv/res_debug.c (p_option): Likewise.
5180         * resolv/res_init.c (res_setoptions): Likewise.
5181         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5183 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5185         resolv: Deprecate unimplemented flags.
5186         * misc/sys/cdefs.h (__glibc_macro_warning1)
5187         (__glibc_macro_warning): Define.
5188         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5189         (RES_KEEPTSIG): Mark as deprecated.
5190         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5191         RES_NOCHECKNAME, RES_KEEPTSIG.
5192         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5194 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5196         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5197         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5198         Use strong_alias to create symbols for glibc verison 2.19.
5200 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5202         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5204 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5206         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5208 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5210         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5212 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5214         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5215         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5216         in header for using it as type for ifunc function because __GI_* symbols
5217         for ppc32 do not target the ifunc symbols.
5218         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5220 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5222         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5223         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5224         libc_ifunc_hidden_def.
5225         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5226         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5227         Redirect ifunced function in header for using it as type of ifunc'ed
5228         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5229         function for __GI_* symbol.
5230         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5231         * include/libc-symbols.h
5232         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5234 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5236         [BZ #20478]
5237         * sysdeps/s390/multiarch/ifunc-resolve.h
5238         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5239         to create ifunc symbols.
5240         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5241         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5242         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5243         for using it as type for ifunc function.
5244         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5245         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5246         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5247         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5248         * sysdeps/s390/multiarch/strcat.c: Likewise.
5249         * sysdeps/s390/multiarch/strchr.c: Likewise.
5250         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5251         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5252         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5253         * sysdeps/s390/multiarch/strlen.c: Likewise.
5254         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5255         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5256         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5257         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5258         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5259         * sysdeps/s390/multiarch/strspn.c: Likewise.
5260         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5261         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5262         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5263         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5264         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5265         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5266         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5267         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5268         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5269         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5270         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5271         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5273 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5275         * include/libc-symbols.h (__ifunc_resolver):
5276         New macro is used by __ifunc* macros.
5277         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5278         depending on HAVE_GCC_IFUNC.
5279         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5280         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5282         Redirect ifunced function in header for using as type for ifunc function.
5283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5288         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5289         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5290         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5291         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5292         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5293         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5294         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5295         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5296         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5302         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5303         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5304         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5305         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5306         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5307         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5308         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5309         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5310         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5311         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5312         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5313         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5314         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5315         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5317         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5318         instead of libc_ifunc() macro.
5319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5320         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5322 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5324         * config.h.in (HAVE_GCC_IFUNC): New undef.
5325         * configure.ac: Add check if gcc supports attribute ifunc feature.
5326         * configure: Regenerated.
5327         * manual/install.texi: Add recommendation for gcc with
5328         indirect-function support.
5329         * INSTALL: Regenerated.
5331 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5333         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5334         macro.
5335         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5336         (__iseqsig): New declaration.
5337         * math/s_iseqsig_template.c: New file.
5338         * math/Versions (__iseqsigf): New libm symbol at version
5339         GLIBC_2.25.
5340         (__iseqsig): Likewise.
5341         (__iseqsigl): Likewise.
5342         * math/libm-test.inc (iseqsig_test_data): New array.
5343         (iseqsig_test): New function.
5344         (main): Call iseqsig_test.
5345         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5346         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5347         * manual/libm-err-tab.pl: Update comment on interfaces without
5348         ulps tabulated.
5349         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5350         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5351         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5352         * sysdeps/nacl/libm.abilist: Update.
5353         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5354         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5366         Likewise.
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5372         Likewise.
5373         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5374         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5376         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5381         Likewise.
5382         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5384         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5386 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5388         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5389         do_sincos_2, sloww, sloww1): Update comments.
5391         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5392         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5394         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5395         K boolean and rename it.
5396         (__sin): Adjust.
5397         (__cos): Adjust.
5399 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5400             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5402         * manual/nss.texi: Fix typos in the manual.
5404 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5406         * manual/contrib.texi: Fix typos in the manual.
5408         * manual/maint.texi: Fix typos in the manual.
5410         * manual/install.texi: Fix typos in the manual.
5411         * INSTALL: Regenerated.
5413         * manual/lang.texi: Fix typos in the manual.
5415         * manual/probes.texi: Fix typos in the manual.
5417         * manual/threads.texi: Fix typos in the manual.
5419         * manual/debug.texi: Fix typos in the manual.
5421         * manual/crypt.texi: Fix typos in the manual.
5423         * manual/conf.texi: Fix typos in the manual.
5425         * manual/sysinfo.texi: Fix typos in the manual.
5427         * manual/users.texi: Fix typos in the manual.
5429         * manual/job.texi: Fix typos in the manual.
5431         * manual/process.texi: Fix typos in the manual.
5433         * manual/argp.texi: Fix typos in the manual.
5434         * manual/getopt.texi: Likewise.
5435         * manual/startup.texi: Likewise.
5437         * manual/signal.texi: Fix typos in the manual.
5439         * manual/setjmp.texi: Fix typos in the manual.
5441         * manual/resource.texi: Fix typos in the manual.
5443         * manual/time.texi: Fix typos in the manual.
5445         * manual/arith.texi: Fix typos in the manual.
5447         * manual/math.texi: Fix typos in the manual.
5449         * manual/syslog.texi: Fix typos in the manual.
5451         * manual/terminal.texi: Fix typos in the manual.
5453         * manual/socket.texi: Fix typos in the manual.
5455         * manual/filesys.texi: Fix typos in the manual.
5457         * manual/llio.texi: Fix typos in the manual.
5459         * manual/stdio.text: Fix typos in the manual.
5461 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5463         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5464         instead of K1.
5466         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5467         SHIFT_QUADRANT and make it bool.
5468         (do_sincos_2): Likewise.
5469         (sloww): Likewise.
5470         (sloww1): Likewise.
5471         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5472         (__cos): Likewise.
5474 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5476         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5478 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5480         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5481         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5482         0x7fffffffL].
5483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5485 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5487         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5488         inline by __inline__.
5489         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5490         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5491         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5492         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5493         sigset_t from signal.h.
5494         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5495         which is already required.
5497 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5499         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5501 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5503         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5504         (struct tcp_repair_window): New type.
5506 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5508         * libio/tst-memstream3.c: Include string.h.
5510 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5512         [BZ #18241]
5513         [BZ #20181]
5514         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5515         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5516         write position is at the end the buffer.
5517         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5518         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5519         (_IO_str_seekoff): Set correct offset from negative displacement and
5520         set EINVAL for invalid ones.
5521         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5522         buffer length.
5523         (_IO_wstr_switch_to_get_mode): New function.
5524         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5525         set EINVAL for invalid ones.
5526         * libio/tst-memstream3.c: New file.
5527         * libio/tst-wmemstream3.c: Likewise.
5528         * manual/examples/memstrm.c: Remove warning when priting size_t.
5530 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5532         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5533         macro to use __builtin_fma.
5534         * sysdeps/x86_64/fpu/dla.h: Remove file.
5536         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5537         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5538         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5540 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5542         [BZ #20292]
5543         * elf/Makefile (routines): Add dl-addr-obj.
5544         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5545         tst-_dl_addr_inside_object.
5546         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5547         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5548         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5549         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5550         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5551         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5552         * elf/dl-open.c: Likewise.
5553         * elf/dl-addr-obj.c: New file.
5554         * elf/tst-_dl_addr_inside_object.c: New file.
5556 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5558         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5559         <bits/iscanonical.h>.
5560         * bits/iscanonical.h: New file.
5561         * math/s_iscanonicall.c: Likewise.
5562         * math/Versions (__iscanonicall): New libm symbol at version
5563         GLIBC_2.25.
5564         * math/libm-test.inc (iscanonical_test_data): New array.
5565         (iscanonical_test): New function.
5566         (main): Call iscanonical_test.
5567         * math/Makefile (headers): Add bits/iscanonical.h.
5568         (type-ldouble-routines): Add s_iscanonicall.
5569         * manual/arith.texi (Floating Point Classes): Document
5570         iscanonical.
5571         * manual/libm-err-tab.pl: Update comment on interfaces without
5572         ulps tabulated.
5573         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5574         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5575         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5576         Likewise.
5577         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5578         test-iscanonical-ldbl-128ibm.
5579         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5580         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5581         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5582         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5583         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5584         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5585         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5587         Likewise.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5589         Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5591         Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5595         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5597 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5599         * string/bits/string3.h: Remove C++ style comments.
5601 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5603         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5604         instead of ternary condition.
5605         (do_sincos_2): Likewise.
5606         (__sin): Likewise.
5607         (__cos): Likewise.
5608         (slow): Likewise.
5609         (sloww): Likewise.
5610         (sloww1): Likewise.
5611         (bsloww): Likewise.
5612         (bsloww1): Likewise.
5614         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5615         instead of ternary condition.
5616         (do_sin_slow): Likewise.
5617         (do_sincos_1): Likewise.
5618         (do_sincos_2): Likewise.
5619         (__cos): Likewise.
5620         (sloww): Likewise.
5621         (sloww1): Likewise.
5622         (sloww2): Likewise.
5623         (bsloww): Likewise.
5624         (bsloww1): Likewise.
5625         (bsloww2): Likewise.
5627         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5628         check from here...
5629         (slow2): ... and here...
5630         (__sin): ... to here.
5632 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5634         * math/math.h
5635         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5636         Cast argument to its own type.
5637         * math/test-iszero-excess-precision.c: New file.
5638         * math/Makefile (tests): Add test-iszero-excess-precision.
5639         (CFLAGS-test-iszero-excess-precision.c): New variable.
5641 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5643         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5644         field, add err field.
5645         (__spawni_child): Report error through err member instead of pipe.
5646         (__spawnix): Likewise.
5648 2016-09-28  Zack Weinberg  <zackw@panix.com>
5650         * scripts/check-installed-headers.sh: Generalize treatment of
5651         sys/elf.h to all target architectures.
5653         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5654         deleted typedef ucontext_t.
5656 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5658         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5659         (__INTERNAL_SYSCALL1): Likewise.
5660         (__INTERNAL_SYSCALL2): Likewise.
5661         (__INTERNAL_SYSCALL3): Likewise.
5662         (__INTERNAL_SYSCALL4): Likewise.
5663         (__INTERNAL_SYSCALL5): Likewise.
5664         (__INTERNAL_SYSCALL6): Likewise.
5665         (__INTERNAL_SYSCALL7): Likewise.
5666         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5667         (__INTERNAL_SYSCALL_NARGS): Likewise.
5668         (__INTERNAL_SYSCALL_DISP): Likewise.
5669         (INTERNAL_SYSCALL_CALL): Likewise.
5670         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5671         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5672         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5673         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5674         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5675         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5676         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5677         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5678         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5679         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5680         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5681         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5682         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5684 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5686         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5687         macro.
5688         * math/libm-test.inc (iszero_test_data): New array.
5689         (iszero_test): New function.
5690         (main): Call iszero_test.
5691         * manual/arith.texi (Floating Point Classes): Document iszero.
5692         * manual/libm-err-tab.pl: Update comment on interfaces without
5693         ulps tabulated.
5695 2016-09-23  Zack Weinberg  <zackw@panix.com>
5697         * scripts/check-installed-headers.sh: New script.
5698         * Rules: In each directory that defines header files to be installed,
5699         run check-installed-headers.sh on them as a special test.
5700         * Makefile: Likewise for the headers installed at top level.
5702         * include/aliases.h, include/alloca.h, include/argz.h
5703         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5704         * include/elf.h, include/envz.h, include/err.h
5705         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5706         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5707         * include/link.h, include/malloc.h, include/mcheck.h
5708         * include/mntent.h, include/netinet/ether.h
5709         * include/nss.h, include/obstack.h, include/printf.h
5710         * include/pty.h, include/resolv.h, include/rpc/auth.h
5711         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5712         * include/rpc/clnt.h, include/rpc/des_crypt.h
5713         * include/rpc/key_prot.h, include/rpc/netdb.h
5714         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5715         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5716         * include/rpc/rpc_msg.h, include/rpc/svc.h
5717         * include/rpc/svc_auth.h, include/rpc/xdr.h
5718         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5719         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5720         * include/rpcsvc/ypupd.h, include/shadow.h
5721         * include/stdio_ext.h, include/sys/epoll.h
5722         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5723         * include/sys/prctl.h, include/sys/profil.h
5724         * include/sys/statfs.h, include/sys/sysctl.h
5725         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5726         * sysdeps/arm/nacl/include/bits/setjmp.h
5727         * sysdeps/mips/include/sys/asm.h
5728         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5729         * sysdeps/unix/sysv/linux/include/sys/timex.h
5730         * sysdeps/x86/fpu/include/bits/fenv.h:
5731         Add #ifndef _ISOMAC guard around internal declarations.
5732         Add multiple-inclusion guard if not already present.
5734 2016-09-23  Zack Weinberg  <zackw@panix.com>
5736         * sysdeps/generic/sys/ucontext.h
5737         * sysdeps/arm/sys/ucontext.h
5738         * sysdeps/i386/sys/ucontext.h
5739         * sysdeps/m68k/sys/ucontext.h
5740         * sysdeps/mips/sys/ucontext.h
5741         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5742         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5743         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5744         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5745         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5746         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5747         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5748         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5749         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5750         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5751         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5752         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5753         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5754         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5755         Include both bits/sigcontext.h and bits/sigstack.h.
5756         Fix grammar error in comment, if present.
5758         * bits/sigstack.h
5759         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5760         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5761         * sysdeps/unix/sysv/linux/bits/sigstack.h
5762         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5763         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5764         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5765         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5766         * bits/sigcontext.h
5767         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5768         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5769         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5770         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5771         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5772         as well as signal.h, if this was not already allowed.  Request
5773         definition of size_t if necessary.  Minimize semantically-null
5774         differences across files.
5776 2016-09-23  Zack Weinberg  <zackw@panix.com>
5778         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5779         Remove all logic conditional on __need macros.  Move all the
5780         conditionally defined types to their own headers...
5781         * time/bits/types/clock_t.h: Define clock_t here.
5782         * time/bits/types/clockid_t.h: Define clockid_t here.
5783         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5784         * time/bits/types/struct_timespec.h: Define struct timespec here.
5785         * time/bits/types/struct_timeval.h: Define struct timeval here.
5786         * time/bits/types/struct_tm.h: Define struct tm here.
5787         * time/bits/types/time_t.h: Define time_t here.
5788         * time/bits/types/timer_t.h: Define timer_t here.
5789         * time/Makefile: Install the new headers.
5791         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5792         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5793         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5794         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5795         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5796         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5797         * sysdeps/unix/sysv/linux/bits/resource.h
5798         * sysdeps/unix/sysv/linux/bits/timex.h
5799         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5800         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5801         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5802         * sysdeps/unix/sysv/linux/sys/acct.h
5803         * sysdeps/unix/sysv/linux/sys/timerfd.h
5804         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5805         * time/sys/time.h, time/sys/timeb.h
5806         Use the new bits/types headers.
5808         * include/time.h: Remove __need logic.
5809         * include/bits/time.h
5810         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5811         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5812         * include/bits/types/struct_itimerspec.h
5813         * include/bits/types/struct_timespec.h
5814         * include/bits/types/struct_timeval.h
5815         * include/bits/types/struct_tm.h:
5816         New wrapper headers.
5818 2016-09-23  Zack Weinberg  <zackw@panix.com>
5820         * sysdeps/mach/hurd/net/if_ppp.h
5821         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5822         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5823         if __USE_MISC is defined, to ensure struct ifreq is declared.
5825         * inet/netinet/ether.h: Condition all function prototypes
5826         on __USE_MISC, to ensure struct ether_addr is declared.
5828         * socket/bits/types/struct_osockaddr.h: New header.
5829         * include/bits/types/struct_osockaddr.h: New wrapper.
5830         * socket/Makefile: Install the new header.
5831         * socket/sys/socket.h, inet/protocols/talkd.h:
5832         Refer to bits/types/struct_osockaddr.h for the definition of
5833         struct osockaddr.
5835 2016-09-23  Zack Weinberg  <zackw@panix.com>
5837         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5838         * inet/protocols/routed.h, inet/protocols/talkd.h
5839         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5840         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5841         * sysdeps/generic/netinet/if_ether.h
5842         * sysdeps/generic/netinet/in_systm.h
5843         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5844         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5845         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5846         * sysdeps/mach/hurd/net/if_arp.h
5847         * sysdeps/mach/hurd/net/if_ppp.h
5848         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5849         * sysdeps/unix/sysv/linux/bits/in.h
5850         * sysdeps/unix/sysv/linux/net/ethernet.h
5851         * sysdeps/unix/sysv/linux/net/if_arp.h
5852         * sysdeps/unix/sysv/linux/net/if_ppp.h
5853         * sysdeps/unix/sysv/linux/net/if_shaper.h
5854         * sysdeps/unix/sysv/linux/net/route.h
5855         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5856         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5857         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5858         * sysdeps/unix/sysv/linux/netipx/ipx.h
5859         * sysdeps/unix/sysv/linux/sys/acct.h
5860         * include/arpa/nameser.h, include/resolv.h:
5861         Change all uses of u_char to unsigned char,
5862         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5863         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5864         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5865         and u_int64_t and u_quad_t to uint64_t.
5867         * mach/sys/reboot.h: Remove two casts of integer literals
5868         to the types they already have.
5870         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5871         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5872         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5873         from referring to 'unsigned char' to 'uint8_t' for consistency with
5874         the macro definition below.
5876         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5877         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5878         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5879         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5880         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5881         * sysdeps/unix/sysv/linux/sys/acct.h
5882         * include/arpa/nameser.h, include/resolv.h:
5883         Fix indentation disrupted by mechanical edits.
5885         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5886         * sysdeps/generic/netinet/in_systm.h
5887         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5888         * sysdeps/gnu/netinet/udp.h
5889         * sysdeps/unix/sysv/linux/net/ethernet.h
5890         * sysdeps/unix/sysv/linux/net/if_arp.h
5891         * sysdeps/unix/sysv/linux/net/if_ppp.h
5892         * sysdeps/unix/sysv/linux/net/if_shaper.h
5893         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5894         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5895         * sysdeps/unix/sysv/linux/netipx/ipx.h
5896         * sysdeps/unix/sysv/linux/sys/acct.h
5897         Include stdint.h for uintNN_t definitions.
5898         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5900 2016-09-23  Zack Weinberg  <zackw@panix.com>
5902         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5903         * sysdeps/unix/sysv/linux/netrose/rose.h:
5904         Include sys/socket.h and netax25/ax25.h.
5906         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5907         * resolv/arpa/nameser_compat.h:
5908         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5910         * sysdeps/unix/sysv/linux/sys/quota.h:
5911         Use __caddr_t instead of caddr_t.
5912         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5913         Use __clockid_t instead of clockid_t.
5915         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5917         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5918         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5919         expanding it.
5921         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5922         Define __glibc_c99_flexarr_available to 1 when the compiler
5923         supports C99-compatible flexible array members, 0 otherwise.
5924         * sysdeps/unix/sysv/linux/bits/socket.h
5925         * sysdeps/mach/hurd/bits/socket.h
5926         * bits/socket.h: Use __glibc_c99_flexarr_available in
5927         definitions of struct cmsghdr and CMSG_DATA.
5929 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5931         * manual/nss.texi (NSS Modules Interface): Adjust function return
5932         type to enum nss_status.  Document errnop argument.  Clarify
5933         h_errnop semantics.  Fix cross-reference formatting.
5934         (NSS Module Function Internals): Mention that *errnop needs to be
5935         set on failure, but not to zero.
5937 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5939         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5940         (get_random_name): New functions.
5941         (check_wrapper_flags_mode): Use linkat to give the new file a name
5942         determined by get_random_name.
5943         (do_test): Add calls to test open64 and openat64.
5945 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5947         * test-skeleton.c: Remove #include <stdarg.h>.
5949 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5951         [BZ #19826]
5952         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5953         initialization of static TLS entries.
5954         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5955         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5957 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5959         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5960         _hurd_malloc_fork_prepare.
5961         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5962         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5963         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5964         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5965         (_hurd_fork_child_hook): Drop malloc_fork_child.
5966         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5967         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5968         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5969         after locking locks (notably hurd_dtable_lock). Call
5970         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5971         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5972         __malloc_fork_unlock_child.
5973         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5975 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5977         * soft-fp/extendhftf2.c: New.
5978         * soft-fp/fixhfti.c: Likewise.
5979         * soft-fp/fixunshfti.c: Likewise.
5980         * soft-fp/floattihf.c: Likewise.
5981         * soft-fp/floatuntihf.c: Likewise.
5982         * soft-fp/half.h: Likewise.
5983         * soft-fp/trunctfhf2.c: Likewise.
5985 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5987         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5988         macro.
5989         * math/libm-test.inc (issubnormal_test_data): New array.
5990         (issubnormal_test): New function.
5991         * manual/arith.texi (Floating Point Classes): Document
5992         issubnormal.
5993         * manual/libm-err-tab.pl: Update comment on interfaces without
5994         ulps tabulated.
5996         * sysdeps/generic/stdint.h: Define
5997         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5998         <bits/libc-header-start.h> instead of including <features.h>.
5999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6032         * manual/arith.texi (Integers): Document these macros for types
6033         specified by width properties.
6034         * manual/lang.texi (Width of Type): Document these macros for
6035         other standard typedefs.
6036         * stdlib/tst-width-stdint.c: New file.
6037         * stdlib/Makefile (tests): Add tst-width-stdint.
6039 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6041         [BZ #20016]
6042         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6043         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6044         Move ...
6045         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6046         ... here, as compatibility symbols in a new file.
6047         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6048         * resolv/res_init.c (__res_vinit): Adjust member names.
6049         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6050         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6051         (res_send_rhook): Remove.
6052         (struct __res_state): Rename qhook, rhook members.
6054 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6056         malloc: Use __libc_lock wrappers.
6057         * malloc/arena.c (list_lock, free_list_lock): Define using
6058         __libc_lock_define_initialized.
6059         (arena_lock): Adjust formatting.
6060         * malloc/malloc.c (struct malloc_state): Define mutex using
6061         __libc_lock_define.
6062         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6063         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6064         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6065         (mutex_unlock, mutex_trylock): Remove.
6066         (__pthread_initialize): Remove unused macro.
6067         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6068         (mutex_unlock, mutex_trylock): Remove.
6070 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6072         [BZ #20592]
6073         Remove RR type classification macros.
6074         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6075         (ns_t_udp_p, ns_t_xfr_p): Remove.
6077 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6079         Remove misleading version information.
6080         * resolv/arpa/nameser.h (__NAMESER): Remove.
6081         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6083 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6085         Remove the always-defined BIND_4_COMPAT macro.
6086         * resolv/arpa/nameser.h: Unconditionally include
6087         <arpa/nameser_compat.h>.
6088         (BIND_4_COMPAT): Remove.
6089         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6091 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6093         [BZ #20591]
6094         Remove obsolete DNSSEC support.
6095         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6096         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6097         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6098         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6099         (ns_cert_types): Add comment.
6100         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6101         separately.
6102         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6103         (dst_s_dns_key_id): Remove.
6104         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6105         variables.
6107 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6109         [BZ #20524]
6110         * manual/string.texi (String/Array Comparison): Clarify the
6111         strverscmp behavior.
6113 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6115         * test-skeleton.c (xasprintf): Add function.
6116         * io/tst-open-tmpfile.c: New test.
6117         * io/Makefile (tests): Add it.
6119 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6121         Avoid running $(CXX) during build to obtain header file paths.
6122         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6123         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6124         * Makerules (cstdlib, cmath): Remove variables.  Use
6125         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6126         * configure: Regenerate.
6128 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6130         * Makeconfig (all-object-suffixes): Include .op only if
6131         $(build-profile).
6133 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6135         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6136         conditionals.  Do not define PATH_MAX.
6138 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6140         * posix/Makefile (tests): Add tst-spawn3.
6141         * posix/tst-spawn3.c: New file.
6142         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6143         if it is already opened for open action.
6145         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6146         all signals when executing the clone vfork child.
6147         (SIGALL_SET): Remove macro.
6149         * nptl/Makefile (tests): Add tst-exec5.
6150         * nptl/tst-exec5.c: New file.
6151         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6152         asynchronous cancellation.
6154 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6156         * hurd/exc2signal.c: #include <hurd/signal.h>
6157         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6158         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6159         accordingly.
6160         * mach/mach_error.c (mach_error): Fix old-style function definition.
6161         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6163 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6165         * math/Makefile (libm-calls): Remove s_nanF.
6166         (gen-libm-calls): Add s_nanF.
6168         * math/s_nan.c: Refactor into ...
6169         * math/s_nan_template.c: New file.
6171         * math/s_nanf.c: Removed.
6172         * math/s_nanl.c: Removed.
6173         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6174         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6176         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6177         (LDOUBLE_nanl_libm_version): New macro.
6179         * sysdeps/generic/math-type-macros-double.h:
6180         (M_STRTO_NAN): New macro.
6181         * sysdeps/generic/math-type-macros-float.h: Likewise.
6182         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6184         * sysdeps/generic/math-type-macros.h: Document
6185         M_STRTO_NAN.
6187 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6189         * math/s_nanf.c: Remove __nanf undef.
6190         * math/s_nan.c: Remove __nan undef.
6191         * math/s_nanl.c: Remove __nanl undef.
6193         * sysdeps/generic/math_private.h (__nan): Remove macro
6194         override.
6195         (__nanf): Likewise.
6196         (__nanl): Likewise.
6198 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6200         * math/Makefile (gen-all-calls): New variable.
6201         (generated): Replace gen-libm-calls with gen-all-calls.
6202         (gen-libm-templates.stmp): Likewise.  Also, ensure
6203         the output directory exists or is created and add
6204         dependency on the Makefile.
6205         (calls): Move s_ldexpF into gen-calls.
6206         (gen-calls): New variable.
6208         * math/s_ldexpf.c: Removed.
6209         * math/s_ldexpl.c: Removed.
6210         * math/s_ldexp.c: Refactored into ...
6211         * math/s_ldexp_template.c: New file.
6213         * sysdeps/generic/math-type-macros-double.h: Remove
6214         redundant fall-through definition of declare_mgen_alias.
6215         (declare_mgen_alias_2): New macro.
6217         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6218         New macro for function aliased to two exported symbols.
6220         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6221         new template file.
6222         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6224 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6226         * Makeconfig (all-object-suffixes): Remove .og.
6227         * Makerules (elide-routines.og): Remove.
6228         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6229         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6230         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6232 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6234         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6235         .os objects.
6237 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6239         [BZ #20615]
6240         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6241         fpu directory by non-fpu.
6242         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6243         on non-fpu directory from a fpu directory.
6245 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6247         * include/limits.h: Define
6248         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6249         <bits/libc-header-start.h> instead of including <features.h>.
6250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6260         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6261         * manual/lang.texi (Width of Type): Document these macros.
6262         * stdlib/tst-width.c: New file.
6263         * stdlib/Makefile (tests): Add tst-width.
6265 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6267         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6268         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6270 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6272         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6273         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6274         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6276 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6278         [BZ #18243]
6279         * rt/Makefile (test): Add tst-shm-cancel.
6280         * rt/tst-shm-cancel.c: New file.
6281         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6283         [BZ #18243]
6284         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6285         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6286         definition.
6287         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6288         uncontended case.
6289         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6290         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6291         (tf): Fix check for uncontended case.
6292         (do_test): Likewise.
6293         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6294         (tf): Fix check for uncontended case.
6295         (do_test): Likewise.
6296         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6297         (tf): Fix check for uncontended case.
6298         (do_test): Likewise.
6299         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6300         (tf): Fix check for uncontended case.
6301         (do_test): Likewise.
6303         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6304         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6306         [BZ #15765]
6307         * nptl/Makefile (tests): Add tst-sem16.
6308         * nptl/tst-sem16.c: New file.
6309         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6311         * nptl/sem_open.c (sem_open): Init pad value to 0.
6312         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6313         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6315 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6317         [BZ #20611]
6318         * inet/Makefile (routines): Add inet6_scopeid_pton.
6319         (tests): Add tst-inet6_scopeid_pton.
6320         * inet/inet6_scopeid_pton.c: New file.
6321         * inet/net-internal.h: Likewise.
6322         * inet/tst-inet6_scopeid_pton.c: New test.
6323         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6324         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6325         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6327 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6329         Remove support for compiling wrappers with PTW.
6330         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6331         * nptl/Makefile (pthread-compat-wrappers): Define.
6332         (libpthread-routines): Use pthread-compat-wrappers.
6333         * sysdeps/unix/sysv/linux/alpha/Makefile
6334         (libpthread-routines, libpthread-shared-only-routines): Remove
6335         ptw- prefix.
6336         * sysdeps/s390/nptl/Makefile
6337         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6338         * sysdeps/ia64/nptl/Makefile
6339         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6340         * sysdeps/nacl/Makefile (libpthread-routines): Use
6341         pthread-compat-wrappers to filter the routines list instead of the
6342         ptw- prefix.
6344 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6346         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6347         with L() and remove explicit suffix, convert real literals
6348         which can be equivalentally substituted with integers, and
6349         transform -L(x) to L(-x).
6351         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6355         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6357         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6359         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6360         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6361         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6363         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6364         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6365         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6369         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6370         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6371         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6372         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6373         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6374         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6375         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6376         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6377         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6378         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6379         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6380         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6381         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6382         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6383         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6386         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6387         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6388         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6389         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6390         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6391         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6392         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6393         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6394         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6395         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6396         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6397         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6398         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6399         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6400         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6402 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6404         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6406 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6408         * malloc/Makefile (tests): Remove individual static test names
6409         and just add all of tests-static.
6411         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6413 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6415         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6416         file.
6418         * sysdeps/sparc/fpu/fegetmode.c: New file.
6419         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6421         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6422         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6424         * sysdeps/s390/fpu/fegetmode.c: New file.
6425         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6427         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6428         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6429         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6430         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6432         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6434         * sysdeps/mips/fpu/fegetmode.c: New file.
6435         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6437         * sysdeps/m68k/fpu/fegetmode.c: New file.
6438         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6440         * sysdeps/ia64/fpu/fegetmode.c: New file.
6441         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6443         * sysdeps/hppa/fpu/fegetmode.c: New file.
6444         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6446         * sysdeps/arm/fegetmode.c: New file.
6447         * sysdeps/arm/fesetmode.c: Likewise.
6449         * sysdeps/alpha/fpu/fegetmode.c: New file.
6450         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6452         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6453         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6455         * math/fegetmode.c: New file.
6456         * math/fesetmode.c: Likewise.
6457         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6458         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6459         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6460         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6461         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6463         declaration.
6464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6465         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6466         typedef.
6467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6468         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6469         (femode_t): New typedef.
6470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6471         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6472         (femode_t): New typedef.
6473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6474         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6475         (femode_t): New typedef.
6476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6477         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6478         (femode_t): New typedef.
6479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6480         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6481         (femode_t): New typedef.
6482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6483         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6484         (femode_t): New typedef.
6485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6486         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6487         (femode_t): New typedef.
6488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6489         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6490         (femode_t): New typedef.
6491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6492         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6493         (femode_t): New typedef.
6494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6495         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6496         (femode_t): New typedef.
6497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6498         declaration.
6499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6500         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6501         (femode_t): New typedef.
6502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6503         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6504         (femode_t): New typedef.
6505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6506         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6507         (femode_t): New typedef.
6508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6509         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6510         (femode_t): New typedef.
6511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6512         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6513         (femode_t): New typedef.
6514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6515         * manual/arith.texi (FE_DFL_MODE): Document macro.
6516         (fegetmode): Document function.
6517         (fesetmode): Likewise.
6518         * math/Versions (fegetmode): New libm symbol at version
6519         GLIBC_2.25.
6520         (fesetmode): Likewise.
6521         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6522         (tests): Add test-femode and test-femode-traps.
6523         * math/test-femode-traps.c: New file.
6524         * math/test-femode.c: Likewise.
6525         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6526         alias for __fe_dfl_env.
6527         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6528         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6529         (__fe_dfl_mode): Likewise.
6530         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6531         version GLIBC_2.25.
6532         * sysdeps/nacl/libm.abilist: Update.
6533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6548         Likewise.
6549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6550         Likewise.
6551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6559         Likewise.
6560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6566 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6568         [BZ #20495]
6569         [BZ #20508]
6570         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6571         processors, set Use_dl_runtime_resolve_slow and set
6572         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6573         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6574         New.
6575         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6576         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6577         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6578         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6579         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6580         if Use_dl_runtime_resolve_opt is set.  Use
6581         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6582         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6583         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6584         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6585         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6586         New.
6587         (_dl_runtime_resolve_opt): Likewise.
6588         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6589         defined.
6591 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6593         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6594         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6596 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6598         Convert malloc to __libc_lock.  Automated part, using this Perl
6599         s/// command:
6600           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6601             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6602         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6603         conversion.
6605 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6607         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6608         (linknamespace-symlists-tests): Likewise.
6609         (linknamespace-header-tests): Likewise.
6611 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6613         [BZ #19810]
6614         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6615         * elf/tst-noload.c: New test case.
6616         * elf/Makefile (tests): Add tst-noload.
6618 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6620         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6622         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6623         not any more.
6625         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6627 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6629         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6630         (do_cos_slow): Likewise.
6631         (do_sin): Likewise.
6632         (do_sin_slow): Likewise.
6633         (slow): Likewise.
6634         (slow1): Likewise.
6635         (slow2): Likewise.
6636         (sloww): Likewise.
6637         (sloww1): Likewise.
6638         (sloww2): Likewise.
6639         (bsloww): Likewise.
6640         (bsloww1): Likewise.
6641         (bsloww2): Likewise.
6642         (cslow2): Likewise.
6644         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6646         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6647         arguments.  Consolidate input partitioning from callers here.
6648         (do_cos_slow): Likewise.
6649         (do_sin): Likewise.
6650         (do_sin_slow): Likewise.
6651         (do_sincos_1): Remove the no longer necessary input partitioning.
6652         (do_sincos_2): Likewise.
6653         (__sin): Likewise.
6654         (__cos): Likewise.
6655         (slow1): Likewise.
6656         (slow2): Likewise.
6657         (sloww1): Likewise.
6658         (sloww2): Likewise.
6659         (bsloww1): Likewise.
6660         (bsloww2): Likewise.
6661         (cslow2): Likewise.
6663 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6665         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6666         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6667         outside of allocated array.
6669 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6671         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6672         instead of MB_CUR_MAX to avoid variable-length array.
6674 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6676         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6677         (type-double-routines): Add k_rem_pio2.
6678         (type-float-routines): Add k_rem_pio2f.
6680         * sysdeps/generic/math_private.h:
6681         (__kernel_rem_pio2l): Removed.
6683         * math/k_rem_pio2l.c: Removed.
6684         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6685         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6686         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6687         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6689 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6691         * math/Makefile (gen-libm-calls): Add s_fmin
6692         (libm-calls): Remove above.
6694         * math/s_fmin.c: Refactor into ...
6695         * math/s_fmin_template.c: New file.
6697         * math/s_fminf.c: Removed.
6698         * math/s_fminl.c: Removed.
6699         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6700         (LDOUBLE_fmin_libm_version): New macro.
6702         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6703         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6705 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6707         * math/Makefile: (gen-libm-calls): Add s_fmax.
6708         (libm-calls): Remove above.
6710         * math/s_fmax.c: Refactor into ...
6711         * math/s_fmax_template.c: New file.
6712         * math/s_fmaxf.c: Removed.
6713         * math/s_fmaxl.c: Removed.
6715         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6716         (LDOUBLE_fmaxl_libm_version): New macro.
6718         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6719         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6721         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6722         s_fmin.c to pick the aarch64 version of the file.
6723         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6724         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6726 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6728         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6729         (libm-calls): Remove above.
6731         * math/s_nextdown.c: Refactor into ...
6732         * math/s_nextdown_template.c: New file.
6733         * math/s_nextdownf.c: Removed.
6734         * math/s_nextdownl.c: Removed.
6736         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6738 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6740         * math/Makefile (gen-libm-calls): Add s_fdim.
6741         (libm-calls): Move to above.
6743         * math/s_fdim.c: Renamed and refactored into to ...
6744         * math/s_fdim_template.c: New file.
6745         * math/s_fdiml.c: Removed.
6746         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6747         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6749         * sysdeps/generic/math-type-macros-double.h:
6750         (declare_mgen_alias): Don't declare if already declared.
6751         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6752         Likewise.
6754         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6755         (declare_mgen_alias): Don't declare if already declared.
6756         (M_LIBM_NEED_COMPAT): Likewise.
6757         (declare_mgen_libm_compat): Likewise.
6758         (LDOUBLE_fdiml_libm_version): New macro.
6760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6761         Include math/s_fdim.c now that ldbl-opt version is not needed.
6762         (declare_mgen_alias): New macro to disable aliasing.
6764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6765         (declare_mgen_alias): Likewise.
6766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6767         (declare_mgen_alias): Likewise.
6768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6769         (declare_mgen_alias): Likewise.
6770         (M_LIBM_NEED_COMPAT): Likewise.
6772 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6774         [BZ #20525]
6775         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6776         Include <linux/quota.h>.
6777         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6778         and btodb.
6779         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6780         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6781         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6782         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6783         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6784         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6785         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6786         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6787         types.
6788         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6789         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6791 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6793         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6794         (gammal_positive): Fix spacing.
6795         (__ieee754_gammal_r): Likewise.
6797 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6799         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6800         (_Float128): Define as long double, always.
6801         (L): Apply long double type suffix, always.
6803         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6804         _Float128, excepting comments.
6806         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6807         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6808         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6809         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6810         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6811         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6812         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6813         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6814         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6815         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6816         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6818         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6819         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6820         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6821         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6822         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6823         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6824         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6825         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6826         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6827         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6828         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6829         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6830         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6831         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6832         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6833         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6834         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6835         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6836         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6837         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6838         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6839         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6840         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6841         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6842         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6843         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6844         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6846         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6847         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6848         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6849         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6850         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6851         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6852         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6853         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6854         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6855         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6856         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6857         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6858         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6859         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6860         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6861         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6862         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6863         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6864         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6865         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6866         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6867         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6868         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6869         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6870         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6871         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6872         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6875         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6876         _Float128, and include math_private.h.
6877         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6879         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6880         long double semantics.
6881         (_Float128): Likewise.
6882         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6883         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6884         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6885         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6887 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6889         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6890         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6891         * sysdeps/s390/configure: Regenerated.
6892         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6893         instruction for raising over-/underflow if z196 zarch is supported
6894         by default.
6895         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6897 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6899         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6900         it point to a dumb buffer for RPC to fill it.
6902 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6904         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6905         instead of if/else.
6906         (do_sin_slow): Likewise.
6907         (do_sincos_1): Use fabs instead of if/else.
6908         (do_sincos_2): Likewise.
6909         (__sin): Likewise.
6910         (__cos): Likewise.
6911         (slow2): Likewise.
6912         (sloww): Likewise.
6913         (sloww1): Likewise.  Drop argument M.
6914         (sloww2): Use fabs instead of if/else.
6915         (bsloww): Likewise.
6916         (bsloww1): Likewise.
6917         (bsloww2): Likewise.
6919         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6920         fall through comment.
6921         (do_sincos_1): Likewise.
6923         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6924         Consolidate switch cases 0 and 2.
6926 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6928         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6929         (libm-calls): Remove the above.
6931         * math/s_cexp_template.c: Update using type-generic macros.
6932         * math/s_clog10_template.c: Likewise.
6933         * math/s_cpow_template.c: Likewise.
6934         * math/s_clog_template.c: Likewise.
6935         * math/s_cproj_template.c: Likewise.
6936         * math/s_csqrt_template.c: Likewise.
6938         * math/s_cexp.c: Removed.
6939         * math/s_cexpf.c: Removed.
6940         * math/s_cexpl.c: Removed.
6941         * math/s_clog10.c: Removed.
6942         * math/s_clog10f.c: Removed.
6943         * math/s_clog10l.c: Removed.
6944         * math/s_cpow.c: Removed.
6945         * math/s_cpowf.c: Removed.
6946         * math/s_cpowl.c: Removed.
6947         * math/s_clog.c: Removed.
6948         * math/s_clogf.c: Removed.
6949         * math/s_clogl.c: Removed.
6950         * math/s_cproj.c: Removed.
6951         * math/s_cprojf.c: Removed.
6952         * math/s_cprojl.c: Removed.
6953         * math/s_csqrt.c: Removed.
6954         * math/s_csqrtf.c: Removed.
6955         * math/s_csqrtl.c: Removed.
6957         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6958         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6959         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6960         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6961         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6962         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6964         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6965         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6966         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6967         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6968         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6969         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6970         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6971         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6972         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6973         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6974         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6976         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6977         version.
6979         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6980         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6981         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6982         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6984 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6986         * s_cexp_template.c: Copy of s_cexp.c.
6987         * s_clog_template.c: Copy of s_clog.c.
6988         * s_clog10_template.c: Copy of s_clog10.c.
6989         * s_cpow_template.c: Copy of s_cpow.c.
6990         * s_cproj_template.c: Copy of s_cproj.c.
6991         * s_csqrt_template.c: Copy of s_csqrt.c.
6993 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6995         [BZ #20517]
6996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6997         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6998         exported.
7000 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7002         * math/fetestexceptflag.c: New file.
7003         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7004         Stefan Liebler.
7005         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7006         (fetestexceptflag): New function declaration.
7007         * manual/arith.texi (fetestexceptflag): Document function.
7008         * math/Versions (fetestexceptflag): New libm symbol at version
7009         GLIBC_2.25.
7010         * math/Makefile (libm-support): Add fetestexceptflag.
7011         (tests): Add test-fetestexceptflag.
7012         * math/test-fetestexceptflag.c: New file.
7013         * sysdeps/nacl/libm.abilist: Update.
7014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7015         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7018         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7019         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7020         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7021         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7022         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7023         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7024         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7025         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7027         Likewise.
7028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7029         Likewise.
7030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7031         Likewise.
7032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7033         Likewise.
7034         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7035         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7036         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7037         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7040         Likewise.
7041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7042         Likewise.
7043         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7047 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7049         [BZ #20432]
7050         Avoid strong references to malloc-internal symbols when linking
7051         statically, to support statically interposed mallocs.
7052         * include/libc-symbols.h (call_function_static_weak): New macro.
7053         * malloc/Makefile (tests): Add tst-interpose-nothread,
7054         tst-interpose-thread, tst-interpose-static-nothread,
7055         tst-interpose-static-thread.
7056         (tests-static): Add tst-interpose-static-nothread,
7057         tst-interpose-static-thread.
7058         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7059         tst-interpose-aux-thread.o.
7060         (test-extras): Add tst-interpose-aux-nothread,
7061         tst-interpose-aux-thread.
7062         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7063         tst-interpose-aux-nothread.o.
7064         (tst-interpose-thread, tst-interpose-static-thread): Link with
7065         tst-interpose-aux-thread.o and libthread.
7066         * malloc/tst-interpose-aux-nothread.c: New file.
7067         * malloc/tst-interpose-aux-thread.c: Likewise.
7068         * malloc/tst-interpose-aux.c: Likewise.
7069         * malloc/tst-interpose-aux.h: Likewise.
7070         * malloc/tst-interpose-nothread.c: Likewise.
7071         * malloc/tst-interpose-skeleton.c: Likewise.
7072         * malloc/tst-interpose-static-nothread.c: Likewise.
7073         * malloc/tst-interpose-static-thread.c: Likewise.
7074         * malloc/tst-interpose-thread.c: Likewise.
7075         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7076         * sysdeps/mach/hurd/fork.c (__fork): Only call
7077         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7078         __malloc_fork_unlock_child if defined.
7079         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7081 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7083         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7084         timespec C99 designated initialization.
7086 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7088         [BZ #19946]
7089         Avoid expected SIGALRM signals.
7090         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7091         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7092         (xpthread_create, xpthread_detach, xpthread_join)
7093         (delayed_exit_thread, delayed_exit): New functions.
7094         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7095         (tf): Use xpthread_cond_wait.
7096         (do_test): Likewise.  Replace alarm with delayed_exit.
7097         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7098         (do_test): Call delayed_exit.  Report failure.
7099         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7100         (do_test): Call delayed_exit.
7101         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7102         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7103         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7104         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7105         error.
7106         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7107         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7108         error.
7109         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7110         (do_test): Call delayed_exit.
7111         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7112         (do_test): Call delayed_exit.
7113         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7114         (do_test): Call delayed_exit instead of alarm.  Use
7115         xpthread_mutex_lock.
7116         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7117         (do_test): Call delayed_exit instead of alarm.  Use
7118         xpthread_mutex_lock.
7119         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7120         (do_test): Call delayed_exit instead of alarm.
7121         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7122         (do_test): Call delayed_exit instead of alarm.  Use
7123         xpthread_spin_lock.
7124         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7125         (do_test): Call delayed_exit instead of alarm.  Use
7126         xpthread_join.
7128 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7130         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7131         adjust CFA when allocating register save area on re-aligned
7132         stack.
7134 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7136         * string/tst-cmp.c: New test.
7137         * string/Makefile (tests): Add it.
7139 2016-08-25  Mark Wielaard  <mark@klomp.org>
7141         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7142         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7143         (check_tree_recurse): Use newly defined accessors.
7144         (check_tree): Likewise.
7145         (maybe_split_for_insert): Likewise.
7146         (__tfind): Likewise.
7147         (__tdelete): Likewise.
7148         (trecurse): Likewise.
7149         (tdestroy_recurse): Likewise.
7150         (__tsearch): Likewise. And add asserts for malloc alignment.
7151         (__twalk): Cast root to node in case CHECK_TREE is defined.
7153 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7155         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7157 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7159         * math/Makefile (libm-gen-calls): Add
7160         catan, catanh, ctan, ctanh.
7161         (libm-calls): Remove the above.
7163         * math/s_catan_template.c: Update using type-generic macros.
7164         * math/s_catanh_template.c: Likewise.
7165         * math/s_ctan_template.c: Likewise.
7166         * math/s_ctanh_template.c: Likewise.
7168         * math/s_catanf.c: Removed.
7169         * math/s_catan.c: Removed.
7170         * math/s_catanl.c: Removed.
7171         * math/s_catanhf.c: Removed.
7172         * math/s_catanh.c: Removed.
7173         * math/s_catanhl.c: Removed.
7174         * math/s_ctanf.c: Removed.
7175         * math/s_ctan.c: Removed.
7176         * math/s_ctanl.c: Removed.
7177         * math/s_ctanhf.c: Removed.
7178         * math/s_ctanh.c: Removed.
7179         * math/s_ctanhl.c: Removed.
7181         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7182         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7183         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7184         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7185         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7186         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7188         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7189         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7190         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7191         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7193 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7195         * s_catan_template.c: Copy of s_catan.c.
7196         * s_catanh_template.c: Copy of s_catanh.c.
7197         * s_ctan_template.c: Copy of s_ctan.c.
7198         * s_ctanh_template.c: Copy of s_ctanh.c.
7200 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7202         * math/Makefile (gen-libm-calls): Move
7203         casin, casinh, csin, csinh here.
7204         (libm-calls): Remove the above.
7206         * math/s_casin_template.c: Update using type-generic macros.
7207         * math/s_casinh_template.c: Likewise.
7208         * math/s_csin_template.c: Likewise.
7209         * math/s_csinh_template.c: Likewise.
7210         * math/k_casinh_template.c: Likewise.
7212         * math/s_casinf.c: Removed.
7213         * math/s_casin.c: Removed.
7214         * math/s_casinl.c: Removed.
7215         * math/s_casinh.c: Removed.
7216         * math/s_casinhf.c: Removed.
7217         * math/s_casinhl.c: Removed.
7218         * math/s_csin.c: Removed.
7219         * math/s_csinf.c: Removed.
7220         * math/s_csinl.c: Removed.
7221         * math/s_csinh.c: Removed.
7222         * math/s_csinhf.c: Removed.
7223         * math/s_csinhl.c: Removed.
7224         * math/k_casinh.c: Removed.
7225         * math/k_casinhf.c: Removed.
7226         * math/k_casinhl.c: Removed.
7228         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7229         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7230         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7231         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7233         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7234         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7235         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7236         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7237         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7238         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7239         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7240         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7242         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7243         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7244         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7245         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7247         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7248         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7249         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7250         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7252 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7254         * s_casin_template.c: Copy of s_casin.c.
7255         * s_casinh_template.c: Copy of s_casinh.c.
7256         * s_csin_template.c: Copy of s_csin.c.
7257         * s_csinh_template.c: Copy of s_csinh.c.
7258         * k_casinh_template.c: Copy of k_casinh.c.
7260 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7262         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7264 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7266         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7267         (mul_split) Remove, rename as mul_splitl, remove
7268         redundant float.h include, and include via mul_splitl.h
7270         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7271         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7272         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7273         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7274         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7276         * math/mul_splitl.h: New file.
7278         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7279         Move into mul_split.h, and remove redundant float.h include.
7281         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7282         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7283         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7284         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7286         * math/mul_split.h: New file.
7288 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7290         * math/Makefile (libm-gen-calls): Move
7291         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7292         (libm-calls): Remove above.
7294         * math/s_cacos_template.c: Update using type-generic macros.
7295         * math/s_cacosh_template.c: Likewise.
7296         * math/s_ccos_template.c: Likewise.
7297         * math/s_ccosh_template.c: Likewise.
7299         * math/s_cacosf.c: Removed.
7300         * math/s_cacos.c: Removed.
7301         * math/s_cacosl.c: Removed.
7302         * math/s_cacoshf.c: Removed.
7303         * math/s_cacosh.c: Removed.
7304         * math/s_cacoshl.c: Removed.
7305         * math/s_ccosf.c: Removed.
7306         * math/s_ccos.c: Removed.
7307         * math/s_ccosl.c: Removed.
7308         * math/s_ccoshf.c: Removed.
7309         * math/s_ccosh.c: Removed.
7310         * math/s_ccoshl.c: Removed.
7312         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7313         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7314         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7315         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7316         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7317         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7319         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7320         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7321         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7322         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7324         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7325         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7326         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7327         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7329 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7331         * s_cacos_template.c: Copy of s_cacos.c.
7332         * s_cacosh_template.c: Copy of s_cacosh.c.
7333         * s_ccos_template.c: Copy of s_ccos.c.
7334         * s_ccosh_template.c: Copy of s_ccosh.c.
7336 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7338         * stdlib/tst-strtod-round-skeleton.c:
7339         Refactored from tst-strtod-round.c.
7341         (L_): New macro to apply literal modifier.
7342         (FNPFX): New macro to select str or wcs prefix.
7343         (CHAR): New macro to choose wchar_t or char.
7344         (STRM): New macro to choose printf for tested character type.
7346         (STRTO): New macro to choose appropriate string -> real function.
7347         (FNPFXS): Stringitized version of FNPFX.
7348         (STR): Support for above macro.
7349         (STRX): Likewise.
7351         (TEST): Update with above macros.
7352         (test): Likewise.
7353         (GEN_ONE_TEST): Likewise.
7354         (test_in_one_mode): Likewise.
7356         * stdlib/tst-strtod-round.c: New file.
7357         * wcsmbs/tst-wcstod-round.c: New file.
7359         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7360         (tst-wcstod-round): Add libm depencency for fesetround.
7362 2016-08-19  Zack Weinberg  <zackw@panix.com>
7364         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7366 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7368         [BZ #20477]
7369         * resolv/res_hconf.c (do_init): Use atomic access.
7370         * resolv/res_hconf.h: Add comments.
7371         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7372         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7373         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7375 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7377         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7378         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7379         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7380         Likewise.
7382 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7384         [BZ #16907]
7385         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7386         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7387         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7388         (__attribute__): Remove definition.
7390 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7392         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7393         Remove unused sqrtl declaration.
7395 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7397         * math/Makefile: (gen-libm-templates.stmp): New rule.
7398         (libm-calls): Move carg conj cimag and cabs into ...
7399         (gen-libm-calls): New variable.
7400         (generated): Inform Make objects from gen-libm-calls
7401         may be generated.
7403         * sysdeps/generic/math-type-macros.h: New file.
7404         * sysdeps/generic/math-type-macros-float.h: Likewise.
7405         * sysdeps/generic/math-type-macros-double.h: Likewise.
7406         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7407         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7408         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7410         * math/cabs.c: Refactor into
7411         * math/cabs_template.c: new file.
7412         * math/cabsf.c: Removed.
7413         * math/cabsl.c: Removed.
7414         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7415         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7417         * math/carg.c: Refactor into
7418         * math/carg_template.c: new file.
7419         * math/cargf.c: Removed.
7420         * math/cargl.c: Removed.
7421         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7422         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7424         * math/conj.c: Refactor into
7425         * math/conj_template.c: new file.
7426         * math/conjf.c: Removed.
7427         * math/conjl.c: Removed.
7428         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7429         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7431         * math/cimag.c: Refactor into
7432         * math/cimag_template.c: new file.
7433         * math/cimagf.c: Removed.
7434         * math/cimagl.c: Removed.
7435         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7436         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7438         * math/cimag.c: Refactor into
7439         * math/cimag_template.c: new file.
7440         * math/cimagf.c: Removed.
7441         * math/cimagl.c: Removed.
7442         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7443         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7445 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7447         Reduce time to expected nptl/tst-once5 failure.
7448         * nptl/tst-once5.cc (TIMEOUT): Define.
7450 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7452         [BZ #20452]
7453         Avoid additional copies of objects in libc.a in static libraries.
7454         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7455         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7456         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7457         rt-sysdep.
7458         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7459         Add nptl-sysdep.
7460         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7461         Add ptw-sysdep.
7462         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7463         rt-sysdep.
7464         * sysdeps/unix/sysv/linux/alpha/Makefile
7465         (libpthread-shared-only-routines): Add ptw-sysdep,
7466         ptw-sigprocmask, ptw-rt_sigaction.
7467         * sysdeps/unix/sysv/linux/ia64/Makefile
7468         (librt-shared-only-routines): Add rt-sysdep.
7469         * sysdeps/unix/sysv/linux/i386/Makefile
7470         (libpthread-shared-only-routines): Add libc-do-syscall.
7471         * sysdeps/unix/sysv/linux/microblaze/Makefile
7472         (libpthread-shared-only-routines): Add sysdep.
7473         * sysdeps/unix/sysv/linux/powerpc/Makefile
7474         (librt-shared-only-routines): Add rt-sysdep.
7475         (libpthread-shared-only-routines): Add sysdep.
7476         * sysdeps/unix/sysv/linux/s390/Makefile
7477         (librt-shared-only-routines): Add rt-sysdep.
7478         * sysdeps/unix/sysv/linux/sparc/Makefile
7479         (librt-shared-only-routines): Add rt-sysdep.
7480         (libpthread-shared-only-routines): Add sysdep.
7481         * sysdeps/unix/sysv/linux/tile/Makefile
7482         (libpthread-shared-only-routines): Likewise.
7484 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7486         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7487         Mask implicit bit out of unpacked value.
7488         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7492         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7494         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7496         * sysdeps/s390/fpu/fesetexcept.c: New file.
7498         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7499         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7500         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7502         * sysdeps/mips/fpu/fesetexcept.c: New file.
7504         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7506         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7508         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7510         * sysdeps/arm/fesetexcept.c: New file.
7512         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7514         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7516         * math/fesetexcept.c: New file.
7517         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7518         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7519         * math/fenv.h: Define
7520         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7521         <bits/libc-header-start.h> instead of including <features.h>.
7522         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7523         declaration.
7524         * manual/arith.texi (fesetexcept): Document function.
7525         * math/Versions (fesetexcept): New libm symbol at version
7526         GLIBC_2.25.
7527         * math/Makefile (libm-support): Add fesetexcept.
7528         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7529         * math/test-fesetexcept.c: New file.
7530         * math/test-fesetexcept-traps.c: Likewise.
7531         * sysdeps/nacl/libm.abilist: Update.
7532         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7533         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7534         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7535         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7536         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7537         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7538         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7540         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7541         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7542         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7543         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7545         Likewise.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7547         Likewise.
7548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7549         Likewise.
7550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7551         Likewise.
7552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7554         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7558         Likewise.
7559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7560         Likewise.
7561         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7563         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7565 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7567         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7568         New.
7569         (do_test): Apply default_stack_size_in_mb if not set.
7570         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7572 2016-08-15  Andreas Schwab  <schwab@suse.de>
7574         [BZ #20435]
7575         CVE-2016-6323
7576         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7577         as .cantunwind.
7579 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7581         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7582         comment from fraiseexcpt.c.
7584         * math/test-fexcept.c (feraiseexcept_exact): New function.
7585         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7586         (test_except): Likewise.
7588 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7590         [BZ #20455]
7591         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7592         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7593         to be restored.
7595         * math/test-fexcept-traps.c: New file.
7596         * math/test-fexcept.c: Likewise.
7597         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7598         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7599         macro.
7600         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7601         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7603 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7605         * include/atomic.h (atomic_fetch_and_relaxed,
7606         atomic_fetch_and_release, atomic_fetch_or_release,
7607         atomic_fetch_xor_release): New.
7609 2016-08-06  Christian Seiler  <christian@iwakd.de>
7611         [BZ #20444]
7612         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7613         MACH_PORT_NULL.
7615 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7617         * math/s_fdim.c: Avoid alias renamed.
7618         * math/s_fdimf.c: Likewise.
7619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7620         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7621         Add s_fdimf-vis3, s_fdim-vis3.
7622         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7623         (CFLAGS-s_fdim-vis3.c): Likewise.
7624         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7625         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7627 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7630         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7631         Remove s_fdimf-vis3, s_fdim-vis3.
7632         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7633         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7640         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7641         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7643 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7645         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7646         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7647         -Wa,-Av9a -mvis.
7649 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7651         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7652         LIT() to individual constants in simple expressions
7653         after splitting on spaces.
7654         (_apply_lit): Rename replaced version, and use it to
7655         apply to what appears to be a token.
7657         * math/libm-test.inc: Fix many, many issues with
7658         spacing.
7660 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7662         * math/math.h: Move comment about <bits/mathdef.h> definitions
7663         above inclusion of <bits/mathdef.h>.  Do not mention
7664         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7666 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7668         * include/atomic.h (atomic_exchange_relaxed): New.
7670 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7672         * math/e_scalb.c: Do not include <fenv.h>.
7673         (invalid_fn): Do calculation resulting in NaN instead of raising
7674         FE_INVALID and returning a NaN explicitly.
7675         * math/e_scalbf.c: Do not include <fenv.h>.
7676         (invalid_fn): Do calculation resulting in NaN instead of raising
7677         FE_INVALID and returning a NaN explicitly.
7678         * math/e_scalbl.c: Do not include <fenv.h>.
7679         (invalid_fn): Do calculation resulting in NaN instead of raising
7680         FE_INVALID and returning a NaN explicitly.
7682 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7684         * po/de.po: Updated from Translation Project.
7685         * po/fi.po: Likewise.
7686         * po/sv.po: Likewise.
7688 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7690         [BZ #20452]
7691         Use sysdep.o from libc.a in static libraries.
7692         * sysdeps/unix/sysv/linux/i386/Makefile
7693         (libpthread-shared-only-routines): Add sysdep.
7694         (librt-shared-only-routines): Likewise.
7696 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7698         * math/tgmath.h (nextdown): Define if
7699         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7700         (nextup): Likewise.
7702         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7703         macro.
7704         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7705         Document.
7706         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7707         Document macro.
7708         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7709         (exp10f): Likewise.
7710         (exp10l): Likewise.
7711         * math/bits/mathcalls.h (exp10): Declare if
7712         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7714         * manual/arith.texi (nextup): Fix typo in last change.
7716 2016-08-03  Zack Weinberg  <zackw@panix.com>
7718         [BZ #19239]
7719         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7720         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7721         define major, minor, and makedev to issue deprecation warnings on use.
7722         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7723         previously-activated deprecation warnings for these macros and prevent
7724         subsequent inclusions of this header from having any effect.
7725         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7726         including <sys/sysmacros.h>, and undefine it again afterward.
7728 2016-08-03  Zack Weinberg  <zackw@panix.com>
7730         * sysdeps/generic/sys/sysmacros.h: Delete file.
7731         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7732         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7733         * bits/sysmacros.h: ... here; this encoding is now the generic
7734         encoding.  Now defines only the following macros:
7735         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7736         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7737         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7739         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7740         bits/sysmacros.h and the above new macros to generate the
7741         public implementations of major, minor, and makedev.
7742         * misc/tst-makedev.c: New test.
7743         * include/sys/sysmacros.h: New wrapper.
7745         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7746         (routines): Add makedev.
7747         (tests): Add tst-makedev.
7748         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7749         gnu_dev_makedev.
7750         * posix/Makefile (headers): Remove sys/sysmacros.h.
7751         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7753         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7754         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7755         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7756         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7757         * sysdeps/unix/sysv/linux/arm/libc.abilist
7758         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7759         * sysdeps/unix/sysv/linux/i386/libc.abilist
7760         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7761         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7762         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7763         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7764         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7765         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7766         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7767         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7768         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7773         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7774         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7775         * sysdeps/unix/sysv/linux/sh/libc.abilist
7776         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7780         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7781         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7782         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7783         Add GLIBC_2.25.
7785         * include/features.h (__glibc_clang_prereq): New macro.
7786         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7787         (__attribute_deprecated_msg__): New macros.
7789 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7791         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7792         macro.
7793         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7794         * manual/arith.texi (issignaling): Document as ISO from TS
7795         18661-1:2014.
7796         (nextup): Likewise.
7797         (nextupf): Likewise.
7798         (nextupl): Likewise.
7799         (nextdown): Likewise.
7800         (nextdownf): Likewise.
7801         (nextdownl): Likewise.
7802         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7803         macro.
7804         * math/math.h: Define
7805         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7806         <bits/libc-header-start.h> instead of including <features.h>.
7807         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7808         [__USE_GNU].
7809         * math/bits/mathcalls.h (nextdown): Declare if
7810         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7811         (nextup): Likewise.
7812         (__issignaling): Likewise.
7814 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7816         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7817         check, and remove __glibc_likely hint
7818         from FP_INFINITE check.
7819         * s_csinhf.c (__csinhf): Likewise.
7821         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7822         hint from FP_INFINITE check.
7823         * s_csinhl.c (__csinhl): Likewise.
7825 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7827         * math/Makefile (libm-calls): Insert F placeholder into
7828         object names.  Move w_lgamma_compat* routines into
7829         (libm-compat-calls): New variable.
7830         (libm-compat-calls-ldouble-yes): New variable.
7831         (calls): Insert F placeholder.
7832         (generated): Redefine using new type-foreach macro call.
7833         (routines): Likewise.
7835         (types): New variable to hold a list of symbolic names
7836         for each type supported by the target machine.
7837         (libm-routines): Redefine using new types variable.
7838         (type-foreach): macro to replace fooF with the
7839         appropriately suffixed foo for each types.
7841         (type-ldouble-suffix): New variable.
7842         (type-ldouble-routines): Likewise.
7843         (type-ldouble-yes): Likewise.
7844         (type-double-suffix): Likewise.
7845         (type-double-routines): Likewise.
7846         (type-float-suffix): Likewise.
7847         (type-float-routines): Likewise.
7849         (dbl-only-routines): Remove.
7850         (long-c-yes): Likewise.
7851         (long-m-routines): Likewise.
7852         (long-m-support): Likewise.
7853         (long-m-yes): Likewise.
7854         (test-longdouble-yes): Likewise.
7856         (test-float.o): Simplify by increasing the scope of the
7857         recipe which adds libm-test.stmp to the vector types.
7858         (test-ifloat.o): Likewise.
7859         (test-float-finite.o): Likewise.
7860         (test-double.o): Likewise
7861         (test-idouble.o): Likewise.
7862         (test-double-finite.o): Likewise.
7863         (test-ldouble.o): Likewise
7864         (test-ildoubl.o): Likewise.
7865         (test-ldouble-finite.o): Likewise.
7867         (libm-tests): Redefine type tests using foreach and the
7868         list of types in types.
7870         (CPPFLAGS-test-ildoubl.c): Rename to
7871         (CPPFLAGS-test-ildouble.c): New variable
7873         * math/test-ildoubl.c: Rename to
7874         * math/test-ildouble.c: New file.
7876 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7878         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7879         Use fabsl instead of fabs.
7880         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7881         Likewise.
7882         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7883         Add long double suffix to constant to ensure proper
7884         promotion to long double.
7886 2016-08-03  Tom Tromey  <tom@tromey.com>
7888         [BZ #20311]
7889         * nptl_db/Makefile (headers): Add proc_service.h.
7890         * nptl_db/proc_service.h: Add include guard.  Use
7891         __BEGIN/__END_DECLS.
7892         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7893         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7894         arguments.
7897 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7899         [BZ #17730]
7900         Avoid using memalign for TCB allocations.
7901         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7902         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7903         Avoid alignment gap in the TLS_DTV_AT_TP case.
7904         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7905         determine the pointer to free.
7906         * nptl/tst-tls3-malloc.c: New test.
7907         * nptl/Makefile (tests): Add it.
7908         (tst-tls3-malloc): Link with libdl, libpthread.
7909         (LDFLAGS-tst-tls3-malloc): Set.
7910         (tst-tls3-malloc.out): Depend on DSO used in test.
7912 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7914         [BZ #17730]
7915         Avoid using memalign for TLS allocations.
7916         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7917         is_static member with to_free member.
7918         (union dtv): Use struct dtv_pointer.
7919         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7920         dtv_pointer instead of is_static.
7921         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7922         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7923         instead of val.
7924         (allocate_dtv_entry): New function.
7925         (allocate_and_init): Return struct dtv_pointer.  Call
7926         allocate_dtv_entry instead of __libc_memalign.
7927         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7928         instead of val.
7929         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7930         instead of is_static.  Adjust call to allocate_and_init.
7931         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7932         struct dtv_pointer instead of val.
7934 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7936         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7937         (MALLOC_ALIGN_MASK): Move ...
7938         * malloc/malloc-internal.h: ... to here.
7939         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7941 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7943         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7944         (UDP_ENCAP_GTP1U): Likewise.
7946         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7947         (PF_MAX): Update value.
7948         (AF_QIPCRTR): New macro.
7950 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7952         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7953         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7954         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7955         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7956         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7957         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7958         s_truncf-vis3, s_trunc-vis3.
7959         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7960         (CFLAGS-s_ceil-vis3.c): Likewise.
7961         (CFLAGS-s_floorf-vis3.c): Likewise.
7962         (CFLAGS-s_floor-vis3.c): Likewise.
7963         (CFLAGS-s_truncf-vis3.c): Likewise.
7964         (CFLAGS-s_trunc-vis3.c): Likewise.
7965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7973         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7974         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7975         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7976         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7978 2016-08-02  David S. Miller  <davem@davemloft.net>
7980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7981         (__nearbyint_vis3): Don't check for sNaN before float register is
7982         loaded with the incoming argument.
7983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7984         (__nearbyintf_vis3): Likewise.
7985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7986         Likewise.
7987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7988         Likewise.
7990         * string/test-strncmp.c (do_test_limit): Make sure the test data
7991         stream is aligned as required for the type "CHAR".
7992         (do_test): Likewise.
7994 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7996         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7997         by beq instructions jumping to the end of the function.
7998         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7999         clobber list. Use "i" constraint instead of "X".
8000         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8001         of "X".
8003 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8005         * bits/libc-header-start.h: New file.
8006         * Makefile (headers): Add bits/libc-header-start.h.
8007         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8008         (__GLIBC_USE): New macro.
8009         * libio/stdio.h: Define
8010         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8011         <bits/libc-header-start.h> instead of including <features.h>.
8012         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8013         (open_memstream): Likewise.
8014         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8015         (__asprintf): Likewise.
8016         (asprintf): Likewise.
8017         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8018         (getdelim): Likewise.
8019         (getline): Likewise.
8020         * string/string.h: Define
8021         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8022         <bits/libc-header-start.h> instead of including <features.h>.
8023         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8024         (strndup): Likewise.
8025         * wcsmbs/wchar.h: Define
8026         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8027         <bits/libc-header-start.h> instead of including <features.h>.
8028         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8029         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8031 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8033         Support linking against compatibility symbols, for use in tests.
8034         * include/libc-symbols.h (symbol_version_reference): New macro.
8035         (symbol_version): Use it.
8036         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8037         (compat_symbol): Use compat_symbol_reference.
8038         (compat_symbol_1, compat_symbol_2): Remove.
8039         (compat_symbol_reference, compat_symbol_reference_1)
8040         (compat_symbol_reference_2): New macro.  Use
8041         symbol_version_reference.
8043 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8045         [BZ #19469]
8046         * malloc/Makefile (CPPFLAGS): Compile tests with
8047         -DTEST_NO_MALLOPT.
8048         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8050 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8052         [BZ #20033]
8053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8054         finite version.
8055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8056         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8057         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8058         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8059         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8061         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8064         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8065         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8066         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8067         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8068         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8069         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8070         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8071         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8072         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8073         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8074         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8075         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8076         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8077         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8078         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8079         in zero power.
8081 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8083         [BZ #20370]
8084         * malloc/arena.c (get_free_list): Update comment.  Assert that
8085         arenas on the free list have no attached threads.
8086         (remove_from_free_list): New function.
8087         (reused_arena): Call it.
8089 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8091         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8092         when it is a NaN.
8093         [_IEEE_FP_INEXACT] Remove.
8094         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8095         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8096         when it is a NaN.
8097         [_IEEE_FP_INEXACT] Remove.
8098         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8099         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8100         when it is a NaN.
8101         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8102         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8103         when its absolute value is greater than 0x1.0p52.
8104         [_IEEE_FP_INEXACT] Remove.
8105         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8106         when its absolute value is greater than 0x1.0p23.
8107         [_IEEE_FP_INEXACT] Remove.
8109 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8111         * version.h (RELEASE): Set to "development"
8112         (VERSION): Set to 2.24.90.
8113         * NEWS: Add 2.25 section.
8115         * version.h (RELEASE): Set to "stable"
8116         (VERSION): Set to 2.24.
8117         * include/features.h (__GLIBC_MINOR__): Set to 24.
8119         * NEWS: Add 2.24 fixed bugs.
8120         * po/libc.pot: Regenerate.
8122 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8125         [$(subdir) = math] (libm-sysdep_routines): Remove.
8126         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8127         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8128         s_truncf-vis3, s_trunc-vis3.
8129         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8131         file.
8132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8165         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8166         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8167         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8168         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8169         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8170         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8171         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8172         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8173         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8174         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8176 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8178         [BZ #20384]
8179         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8180         test-double-libmvec-sincos-avx-main.o,
8181         test-double-libmvec-sincos-avx2-main.o,
8182         test-double-libmvec-sincos-main.o,
8183         test-float-libmvec-sincosf-avx-main.o,
8184         test-float-libmvec-sincosf-avx2-main.o and
8185         test-float-libmvec-sincosf-main.o.
8186         test-float-libmvec-sincosf-avx512-main.o.
8187         ($(objpfx)test-double-libmvec-sincos): Also link with
8188         $(objpfx)test-double-libmvec-sincos-main.o.
8189         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8190         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8191         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8192         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8193         ($(objpfx)test-float-libmvec-sincosf): Also link with
8194         $(objpfx)test-float-libmvec-sincosf-main.o.
8195         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8196         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8197         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8198         test-double-libmvec-sincos-avx512-main.o and
8199         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8200         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8201         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8202         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8203         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8204         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8205         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8206         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8207         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8208         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8209         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8210         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8211         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8212         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8213         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8214         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8215         -DREQUIRE_AVX2.
8216         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8217         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8218         -DREQUIRE_AVX512F.
8219         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8220         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8221         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8222         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8223         file.
8224         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8225         Likewise.
8226         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8227         Likewise.
8228         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8229         Likewise.
8230         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8231         Likewise.
8232         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8233         Likewise.
8234         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8235         Likewise.
8236         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8237         Likewise.
8239 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8241         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8243 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8245         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8246         and typo in a comment about AT_HWCAP entry.
8248 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8250         * sysdeps/aarch64/libm-test-ulps: Updated.
8252 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8254         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8255         of r13 as it is not restored in mvcle case.
8257 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8259         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8260         Rename "ret" to "__ret".
8261         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8262         inline_syscall5, inline_syscall6): Likewise.
8264 2016-07-19   Will Newton  <will.newton@gmail.com>
8266         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8267         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8268         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8269         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8270         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8272 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8274         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8275         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8276         -mfpmath=387 with $(rtld-CFLAGS).
8277         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8278         $(rtld-CFLAGS).
8280 2016-07-18   Ross Burton  <ross.burton@intel.com>
8281              Khem Raj  <raj.khem@gmail.com>
8283         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8284         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8285         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8286         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8287         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8288         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8289         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8290         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8291         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8292         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8293         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8294         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8295         R_METAG_TLS_DTPOFF): New.
8297 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8298             Matt Clay  <mclay@lycos.com>
8300         [BZ #20357]
8301         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8302         to call __mpsin/__mpcos and to negate values.
8303         * math/auto-libm-test-in: Add test.
8304         * math/auto-libm-test-out: Regenerate.
8306 2016-07-18  Zack Weinberg  <zackw@panix.com>
8308         * grp/Makefile: Don't install the internal header grp-merge.h.
8310 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8312         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8314 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8316         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8318 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8320         [BZ #15368]
8321         * sysdeps/unix/sysv/linux/nptl-signals.h
8322         (__nptl_clear_internal_signals): New function.
8323         (__libc_signal_block_all): Likewise.
8324         (__libc_signal_block_app): Likewise.
8325         (__libc_signal_restore_set): Likewise.
8326         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8327         implementation.
8328         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8329         the cached pid/tid value in pthread structure.
8331 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8333         [BZ #20347]
8334         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8336 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8338         [BZ #20348]
8339         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8340         preadv64, pwrite64 and pwritev64.
8342 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8344         [BZ #20350]
8345         * posix/tst-preadwrite.c: Renamed to ...
8346         * posix/tst-preadwrite-common.c: This.
8347         (PREAD): Removed.
8348         (PWRITE): Likewise.
8349         (STRINGIFY): Likewise.
8350         (STRINGIFY2): Likewise.
8351         (do_prepare): Make it static and remove function arguments.
8352         (do_test): Likewise.
8353         (PREPARE): Updated.
8354         (TEST_FUNCTION): New.
8355         (name): Make it static.
8356         (fd): Likewise.
8357         (do_prepare): Use create_temp_file.
8358         (do_test): Renamed to ...
8359         (do_test_with_offset): This.  Make it static and accept offset.
8360         Properly check return value of PWRITE and PREAD.  Return bytes
8361         read.  Don't close fd nor unlink name.
8362         * posix/tst-preadwrite.c: Rewrite.
8363         * posix/tst-preadwrite64.c: Likewise.
8365 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8367         [BZ #20309]
8368         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8369         -mtls-dialect=gnu2 works.
8370         * configure: Regenerated.
8371         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8372         (tests): Add tst-gnu2-tls1.
8373         (modules-names): Add tst-gnu2-tls1mod.
8374         ($(objpfx)tst-gnu2-tls1): New.
8375         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8376         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8377         * elf/tst-gnu2-tls1.c: New file.
8378         * elf/tst-gnu2-tls1mod.c: Likewise.
8379         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8380         bytes for push in the PLT entry to align the stack.
8382 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8384         [BZ #20349]
8385         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8387 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8389         [BZ #18707]
8390         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8391         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8393 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8395         * sysdeps/unix/sysv/linux/sysdep.h
8396         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8397         guards.
8398         * misc/tst-preadvwritev-common.c: New file.
8399         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8400         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8401         a check for files larger than 2GB.
8403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8404         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8405         * sysdeps/unix/sysv/linux/pread.c
8406         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8407         __OFF_T_MATCHES_OFF64_T.
8408         * sysdeps/unix/sysv/linux/pread64.c
8409         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8410         * sysdeps/unix/sysv/linux/preadv.c
8411         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8412         * sysdeps/unix/sysv/linux/preadv64.c
8413         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8414         * sysdeps/unix/sysv/linux/pwrite.c
8415         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8416         * sysdeps/unix/sysv/linux/pwrite64.c
8417         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8418         * sysdeps/unix/sysv/linux/pwritev.c
8419         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8420         * sysdeps/unix/sysv/linux/pwritev64.c
8421         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8423 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8425         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8426         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8428 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8430         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8432 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8434         [BZ #20240]
8435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8436         (CFLAGS-s_modf-ppc32.c): New variable.
8437         (CFLAGS-s_modff-ppc32.c): Likewise.
8438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8439         (CFLAGS-s_modf-ppc64.c): Likewise.
8440         (CFLAGS-s_modff-ppc64.c): Likewise.
8442 2016-07-07  Andreas Schwab  <schwab@suse.de>
8444         [BZ #20263]
8445         * nptl/tst-robust10.c: New test.
8446         * nptl/Makefile (tests): Add tst-robust10.
8448 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8450         [BZ #20263]
8451         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8453 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8455         * sysdeps/s390/linkmap.h (struct link_map_machine):
8456         Remove member gotplt and add member jmprel.
8457         * sysdeps/s390/s390-32/dl-machine.h
8458         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8459         instead of gotplt with &got[3].
8460         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8461         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8463 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8465         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8467 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8469         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8470         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8471         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8472         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8473         * libio/vtables.c (_IO_vtable_check)
8474         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8475         * libio/libioP.h (IO_set_accept_foreign_vtables)
8476         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8478 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8480         [BZ #20314]
8481         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8482         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8483         $(common-objpfx)cmath.
8484         ($(common-objpfx)cstdlib): New target.
8485         ($(common-objpfx)cmath): Likewise.
8487 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8489         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8491 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8493         [BZ #20327]
8494         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8495         are not part of the string.
8497 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8499         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8500         * nptl/tst-cancel4-common.h (fifoname): New variable.
8501         (fifofd): Likewise.
8502         (cl_fifo): New function.
8503         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8504         SIGINT.
8505         (tf_open): Add early cancel test.
8507 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8509         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8511 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8513         * sysdeps/generic/ldsodefs.h
8514         (dl_symbol_visibility_binds_local_p): New inline function.
8515         * elf/dl-addr.c (determine_info): Treat hidden and internal
8516         symbols as local.
8517         * elf/dl-lookup.c (do_lookup_x): Likewise.
8518         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8520 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8522         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8523         invalid exception for a sNaN input.
8524         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8525         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8526         (__nearbyint_vis3): Likewise
8527         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8528         (__nearbyintf_vis3): Likewise
8529         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8530         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8531         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8532         Likewise.
8533         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8534         Likewise.
8536 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8538         [BZ #20139]
8539         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8540         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8541         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8542         2.24 or above.
8543         (HAVE_AVX512_ASM_SUPPORT): Removed.
8544         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8545         * sysdeps/x86_64/configure: Regenerated.
8546         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8547         check unconditional.
8548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8549         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8550         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8551         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8552         Likewise.
8553         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8554         Likewise.
8555         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8556         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8557         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8558         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8559         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8560         Likewise.
8561         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8562         Likewise.
8563         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8564         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8565         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8566         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8567         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8568         Likewise.
8569         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8570         Likewise.
8571         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8572         Likewise.
8573         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8574         Likewise.
8575         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8576         Likewise.
8577         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8578         Likewise.
8579         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8580         Likewise.
8581         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8582         Likewise.
8583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8584         Likewise.
8585         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8586         Likewise.
8587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8588         Likewise.
8590 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8592         [BZ #20024]
8593         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8595         of this implementation of vector function.
8596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8599         Likewise.
8600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8602         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8603         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8604         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8605         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8606         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8607         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8608         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8609         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8610         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8611         for testing vector sincos with fixed ABI.
8612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8614         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8615         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8616         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8617         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8618         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8619         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8620         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8621         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8622         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8623         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8624         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8625         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8626         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8627         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8629 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8631         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8633 2016-06-30  Anton Blanchard  <anton@samba.org>
8635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8636         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8637         s_sinf-ppc64.
8638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8641         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8643 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8646         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8647         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8648         e_expf-ppc64.
8649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8650         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8652         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8654 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8656         [BZ #20277]
8657         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8658         when SHARED is defined.
8660 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8662         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8663         (index_arch_Prefer_ERMS): Likewise.
8664         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8665         __memcpy_erms for Prefer_ERMS.
8666         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8667         (__memmove_erms): Enabled for libc.a.
8668         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8669         __memmove_erms or Prefer_ERMS.
8670         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8671         __mempcpy_erms for Prefer_ERMS.
8672         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8673         __memset_erms for Prefer_ERMS.
8675 2016-06-30  Andreas Schwab  <schwab@suse.de>
8677         [BZ #20262]
8678         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8679         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8680         of memory.
8682 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8684         [BZ #18645]
8685         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8686         (test-extras): Add tst-cleanupx4aux.
8687         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8688         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8689         tst-cleanupx4aux.o.
8690         * nptl/tst-cleanupx4aux.c: New file.
8692 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8694         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8696 2016-06-29  Andreas Schwab  <schwab@suse.de>
8698         [BZ #20260]
8699         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8700         address before the beginning of the string as an integer to avoid
8701         array-bounds warning.
8703 2016-06-28  Richard Henderson  <rth@redhat.com>
8705         * elf/elf.h (EM_BPF): New.
8706         (EM_NUM): Update.
8707         (R_BPF_NONE, R_BPF_MAP_FD): New.
8709         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8710         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8711         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8712         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8713         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8714         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8715         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8716         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8717         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8718         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8719         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8720         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8721         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8722         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8723         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8724         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8725         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8726         (EM_NUM): Update.
8728 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8730         [BZ #18960]
8731         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8732         Set _nl_current_LC_CATEGORY_used to two instead of one.
8734 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8736         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8737         (do_test): ... this.
8738         (TEST_FUNCTION): New macro.
8739          Include test-skeleton.c.
8740         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8741         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8743 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #15479]
8746         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8747         floating-point environment rather than just control word.
8748         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8749         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8750         floating-point environment, with "invalid" exceptions merged in,
8751         rather than just control word.
8752         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8753         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8754         "inexact" exceptions.
8756         [BZ #15479]
8757         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8758         floating-point environment rather than just control word.
8759         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8760         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8761         floating-point environment, with "invalid" exceptions merged in,
8762         rather than just control word.
8763         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8764         * math/libm-test.inc (floor_test_data): Do not allow spurious
8765         "inexact" exceptions.
8767         [BZ #15479]
8768         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8769         floating-point environment rather than just control word.
8770         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8771         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8772         floating-point environment, with "invalid" exceptions merged in,
8773         rather than just control word.
8774         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8775         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8776         "inexact" exceptions.
8778 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8780         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8781         __libc_vfork.
8782         (__vfork) [IS_IN (libc)]: Remove alias.
8783         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8784         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8785         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8787 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8789         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8790         of atomic_compare_and_exchange_bool_rel.
8791         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8792         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8793         catomic_compare_and_exchange_bool_rel): Remove.
8794         * sysdeps/aarch64/atomic-machine.h
8795         (atomic_compare_and_exchange_bool_rel): Likewise.
8796         * sysdeps/alpha/atomic-machine.h
8797         (atomic_compare_and_exchange_bool_rel): Likewise.
8798         * sysdeps/arm/atomic-machine.h
8799         (atomic_compare_and_exchange_bool_rel): Likewise.
8800         * sysdeps/mips/atomic-machine.h
8801         (atomic_compare_and_exchange_bool_rel): Likewise.
8802         * sysdeps/microblaze/atomic-machine.h
8803         ( __arch_compare_and_exchange_bool_8_rel,
8804         __arch_compare_and_exchange_bool_16_rel): Likewise.
8805         * sysdeps/powerpc/atomic-machine.h
8806         ( __arch_compare_and_exchange_bool_8_rel,
8807         __arch_compare_and_exchange_bool_16_rel): Likewise.
8808         * sysdeps/powerpc/powerpc32/atomic-machine.h
8809         ( __arch_compare_and_exchange_bool_32_rel,
8810         __arch_compare_and_exchange_bool_64_rel): Likewise.
8811         * sysdeps/powerpc/powerpc64/atomic-machine.h
8812         ( __arch_compare_and_exchange_bool_32_rel,
8813         __arch_compare_and_exchange_bool_64_rel): Likewise.
8814         * sysdeps/tile/atomic-machine.h
8815         (atomic_compare_and_exchange_bool_rel): Likewise.
8817 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8819         [BZ #20296]
8820         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8821         when either argument is a NaN.
8822         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8823         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8825         * math/libm-test.inc (snan_value_ld): New macro.
8826         (isgreater_test_data): Add sNaN tests.
8827         (isgreaterequal_test_data): Likewise.
8828         (isless_test_data): Likewise.
8829         (islessequal_test_data): Likewise.
8830         (islessgreater_test_data): Likewise.
8831         (isunordered_test_data): Likewise.
8832         (nextafter_test_data): Likewise.
8833         (nexttoward_test_data): Likewise.
8834         (remainder_test_data): Likewise.
8835         (remquo_test_data): Likewise.
8836         (significand_test_data): Likewise.
8837         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8839 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8841         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8842         environment macros are defined.
8843         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8845 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8847         [BZ #20191]
8848         Implement vtable verification in libio.
8849         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8850         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8851         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8852         _IO_new_file_init_internal instead of _IO_file_init.
8853         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8854         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8855         * libio/Makefile (routines): Add vtables.
8856         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8857         (_IO_init): Remove, not for internal use.
8858         (_IO_init_internal): Declare, internal replacement for _IO_init.
8859         (_IO_file_init): Remove, not for internal use.
8860         (_IO_new_file_init): Remove, not for internal use.
8861         (_IO_new_file_init_internal): Declare, internal replacement for
8862         _IO_new_file_init.
8863         (_IO_old_file_init): Remove, not for internal use.
8864         (_IO_old_file_init_internal): Declare, internal replacement for
8865         _IO_old_file_init.
8866         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8867         internal use.
8868         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8869         Declare.
8870         (libio_vtable): New macro.
8871         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8872         functions.
8873         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8874         _IO_new_file_init.
8875         (_IO_new_file_init): New externally visible wrapper which disables
8876         vtable verification.
8877         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8878         Define as vtables.
8879         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8880         (_IO_init): New externally visible wrapper which disables
8881         vtable verification.
8882         * libio/iofdopen.c (_IO_new_fdopen): Call
8883         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8884         comment.
8885         * libio/iofopen.c (__fopen_internal): Call
8886         _IO_new_file_init_internal instead of _IO_file_init.
8887         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8888         Define as vtables.
8889         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8890         _IO_new_file_init_internal instead of _IO_file_init.
8891         * libio/iopopen.c (_IO_new_popen): Likewise.
8892         (_IO_proc_jumps): Define as vtable.
8893         * libio/iovdprintf.c (_IO_vdprintf): Call
8894         _IO_new_file_init_internal instead of _IO_file_init.
8895         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8896         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8897         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8898         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8899         _IO_old_file_init.
8900         (_IO_old_file_init): New externally visible wrapper which disables
8901         vtable verification.
8902         (_IO_old_file_jumps): Define as vtable.
8903         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8904         _IO_old_file_init_internal instead of _IO_old_file_init.
8905         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8906         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8907         (_IO_old_proc_jumps): Define as vtable.
8908         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8909         Define as vtables.
8910         * libio/vtables.c: New file.
8911         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8912         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8913         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8914         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8915         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8916         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8917         instead of _IO_init.
8919 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8921         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8923 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8925         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8926         potentially unused.
8928 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8930         * test-skeleton.c (write_message): New function.
8931         * malloc/tst-mallocfork2.c (write_message): Remove.
8932         * debug/tst-longjmp_chk2.c (write_indented): New function.
8933         (write_message): Remove.
8934         (stackoverflow_handler): Call write_indented.
8936 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8938         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8939         "inexact" exceptions after fnstenv.
8940         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8941         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8942         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8944 2015-06-22  Zack Weinberg  <zackw@panix.com>
8946         * sysdeps/generic/bits/hwcap.h: Moved to ...
8947         * bits/hwcap.h: Here.
8949 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8951         * sysdeps/aarch64/memcpy.S (memcpy):
8952         Further tuning for performance.
8954 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8956         [BZ #20284]
8957         * malloc/arena.c (reused_arena): Do not return NULL if we start
8958         out with a non-corrupted arena.
8960 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8962         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8963         * misc/tst-preadvwritev.c: New file.
8964         * misc/tst-preadvwritev64.c: Likewise.
8965         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8966         usage.
8967         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8968         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8969         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8970         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8972 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8974         [BZ #19654]
8975         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8976         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8977         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8978         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8979         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8980         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8981         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8982         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8983         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8984         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8985         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8986         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8987         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8988         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8989         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8990         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8991         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8992         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8993         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8994         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8995         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8996         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8997         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8998         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8999         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9000         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9002 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9004         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9005         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9007 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9009         * sysdeps/aarch64/memcpy.S (memcpy):
9010         Rewrite of optimized memcpy and memmove.
9011         * sysdeps/aarch64/memmove.S (memmove): Remove
9012         memmove code (merged into memcpy.S).
9014 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9016         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9017         * sysdeps/generic/dl-dtv.h: New file.
9018         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9019         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9020         (dtv_t): Remove.
9021         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9022         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9023         (dtv_t): Remove.
9024         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9025         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9026         (dtv_t): Remove.
9027         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9028         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9029         (dtv_t): Remove.
9030         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9031         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9032         (dtv_t): Remove.
9033         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9034         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9035         (dtv_t): Remove.
9036         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9037         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9038         (dtv_t): Remove.
9039         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9040         (dtv_t): Remove.
9041         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9042         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9043         (dtv_t): Remove.
9044         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9045         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9046         (dtv_t): Remove.
9047         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9048         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9049         (dtv_t): Remove.
9050         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9051         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9052         (dtv_t): Remove.
9053         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9054         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9055         (dtv_t): Remove.
9056         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9057         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9058         (dtv_t): Remove.
9059         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9060         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9061         (dtv_t): Remove.
9062         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9063         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9064         (dtv_t): Remove.
9066 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9068         Revert symbol poisoning of  __malloc_initialize_hook.
9069         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9070         poisoning.
9071         * malloc/Makefile: Remove un-poisoning.
9072         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9073         instead of old__malloc_initialize_hook.
9074         * malloc/malloc-hooks.h: Likewise.
9075         * malloc/malloc.c: Likewise.
9076         * malloc/mcheck-init.c: Likewise.
9078 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9080         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9082 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9084         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9085         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9086         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9087         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9089 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9091         * NEWS: Mention addition of nextup and nextdown.
9092         * manual/arith.texi: Document nextup and nextdown.
9093         * manual/libm-err-tab.pl: Add nextup and nextdown.
9094         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9095         * math/Versions (libm): Add GLIBC_2.24.
9096         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9097         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9098         Add new test.
9099         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9100         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9101         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9102         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9103         (nextup_test_data): Likewise.
9104         (nextdown_test_data): Likewise.
9105         * math/s_nextdown.c: New file.
9106         * math/s_nextdownf.c: Likewise.
9107         * math/s_nextdownl.c: Likewise.
9108         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9109         F(nextup): New function.
9110         F(nextdown): Likewise.
9111         * math/tgmath.h: Add nextup and nextdown.
9112         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9113         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9114         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9115         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9116         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9117         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9118         Add nextup and nextdown.
9119         (CFLAGS-nldbl-nextup.c): New variable.
9120         (CFLAGS-nldbl-nextdown.c): Likewise.
9121         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9122         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9123         * sysdeps/nacl/libm.abilist: Update.
9124         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9125         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9126         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9127         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9128         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9129         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9130         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9131         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9132         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9133         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9134         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9135         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9138         Likewise.
9139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9141         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9142         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9143         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9145         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9149         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9150         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9151         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9153 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9155         * manual/pattern.texi: Fix typos & grammar errors.
9157 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9159         * manual/search.texi: Fix typos & grammar errors.
9161 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9163         * manual/message.texi: Fix typos & grammar errors.
9165 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9167         * manual/contrib.texi: Fix spelling typos.
9168         * manual/crypt.texi: Likewise.
9169         * manual/filesys.texi: Likewise.
9170         * manual/locale.texi: Likewise.
9171         * manual/message.texi: Likewise.
9172         * manual/nss.texi: Likewise.
9173         * manual/string.texi: Likewise.
9175 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9177         * manual/locale.texi: Fix typos & grammar errors.
9179 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9181         * manual/charset.texi: Fix typos & grammar errors.
9183 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9185         * manual/string.texi: Fix typos.
9187 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9189         * manual/ctype.texi: Fix typos.
9191 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9193         * manual/memory.texi: Fix various typos & grammar errors.
9195 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9197         [BZ #20255]
9198         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9199         * math/libm-test.inc (fdim_test_data): Add another test.
9201         [BZ #6796]
9202         [BZ #20255]
9203         [BZ #20256]
9204         * math/s_fdim.c: Include <math_private.h>.
9205         (__fdim): Use math_narrow_eval on result.
9206         * math/s_fdimf.c: Include <math_private.h>.
9207         (__fdimf): Use math_narrow_eval on result.
9208         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9209         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9210         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9211         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9212         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9213         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9214         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9215         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9216         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9217         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9218         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9219         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9220         overflow.  Add sNaN tests.
9222         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9223         fpclassify.
9224         * math/s_fdimf.c (__fdimf): Likewise.
9225         * math/s_fdiml.c (__fdiml): Likewise.
9227 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9229         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9230         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9232         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9233         ifunc'ed strcasecmp/strncasecmp.
9234         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9235         [EALIGN]: Removed.
9236         [END]: Likewise.
9237         [__strcasecmp]: Define instead of the above to control symbol name.
9238         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9239         for __strcasecmp_power8.
9240         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9241         for __strncasecmp_power8.
9242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9244         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9245         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9246         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9247         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9249 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9251         [BZ #20252]
9252         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9253         arguments when second argument is a NaN.
9254         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9255         qNaN tests.
9257         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9258         (conj_test_data): Likewise.
9259         (copysign_test_data): Likewise.
9260         (creal_test_data): Likewise.
9261         (fma_test_data): Likewise.
9262         (fmod_test_data): Likewise.
9264         [BZ #20250]
9265         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9266         itself.
9267         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9268         zero input to itself.
9269         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9270         Likewise.
9271         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9272         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9273         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9274         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9275         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9277 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9279         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9280         * nptl/tst-cancel4-common.c: New file.
9281         * nptl/tst-cancel4-common.h: Likewise.
9282         * nptl/tst-cancel4.c: Move common definitions to
9283         tst-cancel4-common.{c,h} file.
9284         * nptl/tst-cancel4_1.c: New test.
9285         * nptl/tst-cancel4_2.c: New test.
9287 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9289         [BZ #20248]
9290         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9291         (write_message): New function.
9292         (stackoverflow_handler): Call it instead of printf, to avoid
9293         excessive stack usage by printf.
9294         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9296 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9298         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9299         (prio_inherit_missing): Remove define.
9300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9301         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9305         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9306         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9307         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9308         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9309         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9311 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9313         [BZ #19670]
9314         [BZ #19672]
9316         * io/test-lfs.c (do_prepare): Use xmalloc.
9317         * io/tst-fcntl.c (do_prepare): Likewise.
9318         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9319         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9320         * login/tst-utmp.c (do_prepare): Likewise.
9321         * posix/tst-exec.c (do_prepare): Likewise.
9322         * posix/tst-pathconf.c (prepare): Likewise.
9323         * posix/tst-spawn.c (do_prepare): Likewise.
9324         * posix/tst-truncate.c (do_prepare): Likewise.
9325         * rt/tst-aio.c (do_prepare): Likewise.
9326         * rt/tst-aio64.c (do_prepare): Likewise.
9328 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9330         [BZ #20237]
9331         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9332         (get*ent): Set entidx to NULL during initialization.  If entidx is
9333         NULL, start iteration from the beginning.
9335 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9337         * malloc/malloc.c (musable): Return correct size for dumped fake
9338         mmapped chunk.
9340 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9342         [BZ #20222]
9343         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9344         (_IO_cookie_write): Likewise.
9345         (_IO_cookie_seek): Likewise.
9346         (_IO_cookie_close): Likewise.
9347         (_IO_old_cookie_seek): Likewise.
9348         (set_callbacks): New function.
9349         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9351 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9353         * locale/programs/localedef.c (oldstyle_tables): Remove.
9354         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9356 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9358         [BZ #20240]
9359         * math/Makefile (CFLAGS-s_modf.c): New variable.
9360         (CFLAGS-s_modff.c): Likewise.
9361         (CFLAGS-s_modfl.c): Likewise.
9362         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9364 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9366         [BZ #20215]
9367         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9368         [!__GNUC_PREREQ (3,2)]: Likewise.
9370 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9372         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9373         (msghdr.msg_controllen): Likewise.
9374         (cmsghdr.cmsg_len): Likewise.
9375         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9376         ptw-oldsendmsg.
9377         (CFLAGS-oldrecvmsg.c): Remove rule.
9378         (CFLAGS-oldsendmsg.c): Likewise.
9379         (CFLAGS-recvmsg.c): Add rule.
9380         (CFLAGS-sendmsg.c): Likewise.
9381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9382         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9383         (CFLAGS-recvmsg.c): Remove rule.
9384         (CFLAGS-sendmsg.c): Likewise.
9385         (CFLAGS-oldrecvmsg.c): Likewise.
9386         (CFLAGS-oldsendmsg.c): Likewise.
9387         (CFLAGS-recvmmsg.c): Likewise.
9388         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9389         to kernel defined interfaces.
9390         (msghdr.msg_controllen): Likewise.
9391         (cmsghdr.cmsg_len): Likewise.
9392         (msghdr.__glibc_reserved1): Remove member.
9393         (msghdr.__glibc_reserved2): Likewise.
9394         (cmsghdr.__glibc_reserved1): Likewise.
9395         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9396         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9397         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9398         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9399         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9400         version.
9401         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9402         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9403         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9404         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9405         Remove recvmsg and sendmsg.
9406         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9407         Likewise.
9408         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9409         Likewise.
9410         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9411         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9412         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9413         Likewise.
9414         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9415         Likewise.
9416         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9417         [libc] (GLIBC_2.24): Likewise.
9418         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9419         Likewise.
9420         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9421         Likewise.
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9423         [libc] (GLIBC_2.24): Likewise.
9424         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9425         Likewise.
9426         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9427         Likewise.
9428         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9429         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9430         Likewise.
9431         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9432         Likewise.
9433         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9434         Likewise.
9435         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9436         Likewise.
9437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9438         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9439         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9440         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9441         version for {recv,send,recm,sendm}msg.
9442         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9443         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9444         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9445         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9446         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9447         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9448         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9449         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9450         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9451         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9452         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9453         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9455         Likewise.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9457         Likewise.
9458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9460         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9461         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9462         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9463         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9464         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9465         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9468         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9469         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9470         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9472 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9474         [BZ #19564]
9475         Remove __malloc_initialize_hook from the API.
9476         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9477         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9478         #pragma GCC poison.
9479         * malloc/malloc-hooks.h: New file.
9480         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9481         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9482         (old__malloc_initialize_hook): Rename from
9483         __malloc_initialize_hook to evade poisoning.  Turn into compat
9484         symbol.
9485         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9486         __malloc_initialize_hook.
9487         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9488         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9489         * manual/memory.texi (Hooks for Malloc): Remove
9490         __malloc_initialize_hook.  Adjust hook example.
9492 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9494         [BZ #20235]
9495         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9496         itself.
9497         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9498         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9500         [BZ #20234]
9501         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9502         infinity or NaN input to itself.
9504         [BZ #20233]
9505         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9506         to itself.
9508         [BZ #20232]
9509         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9510         itself.
9512 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9514         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9515         __libc_start_main via GOT.
9517 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9519         * sysdeps/x86_64/memcopy.h: New file.
9520         * sysdeps/x86_64/wordcopy.c: Likewise.
9522 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9524         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9525         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9526         <cstdlib>.
9527         (optimization_barrier): New.
9528         (do_test): Use it.  Call quick_exit in the global namespace.
9529         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9530         instead of <cstdlib>, <thread>.
9531         (optimization_barrier): New.
9532         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9533         Call quick_exit in the global namespace.
9534         (do_test): Call optimization_barrier.  Use pthread_create,
9535         pthread_join instead of std::thread.
9537 2016-06-09  Andreas Schwab  <schwab@suse.de>
9539         [BZ #19755]
9540         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9541         new entries in auto-propagate mode.
9542         * nscd/grpcache.c (cache_addgr): Likewise.
9544 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9546         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9547         New functions.
9548         (add_temp_file): Use them.
9550 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9552         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9554 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9556         [BZ #20229]
9557         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9558         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9559         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9561         [BZ #20228]
9562         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9563         itself.
9564         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9565         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9567         [BZ #20227]
9568         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9569         itself.
9570         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9571         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9572         * math/libm-test.inc (log_test_data): Add sNaN tests.
9574         [BZ #20226]
9575         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9576         itself.
9577         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9578         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9579         (exp10_test_data): Likewise.
9580         (expm1_test_data): Likewise.
9582         [BZ #20225]
9583         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9584         itself.
9585         * math/s_ldexpf.c (__ldexpf): Likewise.
9586         * math/s_ldexpl.c (__ldexpl): Likewise.
9587         * math/w_scalbln.c (__w_scalbln): Likewise.
9588         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9589         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9590         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9591         (scalbln_test_data): Likewise.
9593         [BZ #20224]
9594         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9595         argument to itself.
9596         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9598 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9600         [BZ #19776]
9601         * sysdeps/x86_64/memcpy.S: Make it dummy.
9602         * sysdeps/x86_64/mempcpy.S: Likewise.
9603         * sysdeps/x86_64/memmove.S: New file.
9604         * sysdeps/x86_64/memmove_chk.S: Likewise.
9605         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9606         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9607         * sysdeps/x86_64/memmove.c: Removed.
9608         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9609         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9610         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9611         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9612         Likewise.
9613         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9614         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9616         memcpy-sse2-unaligned, memmove-avx-unaligned,
9617         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9618         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9619         (__libc_ifunc_impl_list): Replace
9620         __memmove_chk_avx512_unaligned_2 with
9621         __memmove_chk_avx512_unaligned.  Remove
9622         __memmove_chk_avx_unaligned_2.  Replace
9623         __memmove_chk_sse2_unaligned_2 with
9624         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9625         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9626         with __memmove_avx512_unaligned.  Replace
9627         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9628         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9629         with __memcpy_chk_avx512_unaligned.  Remove
9630         __memcpy_chk_avx_unaligned_2.  Replace
9631         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9632         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9633         Replace __memcpy_avx512_unaligned_2 with
9634         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9635         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9636         with __mempcpy_chk_avx512_unaligned.  Remove
9637         __mempcpy_chk_avx_unaligned_2.  Replace
9638         __mempcpy_chk_sse2_unaligned_2 with
9639         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9640         Replace __mempcpy_avx512_unaligned_2 with
9641         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9642         Replace __mempcpy_sse2_unaligned_2 with
9643         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9644         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9645         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9646         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9647         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9648         (ENTRY): Removed.
9649         (END): Likewise.
9650         (ENTRY_CHK): Likewise.
9651         (libc_hidden_builtin_def): Likewise.
9652         Don't include ../memcpy.S.
9653         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9654         __memcpy_chk_avx512_unaligned_erms and
9655         __memcpy_chk_avx512_unaligned.  Use
9656         __memcpy_chk_avx_unaligned_erms and
9657         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9658         Default to __memcpy_chk_sse2_unaligned.
9659         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9660         Change function suffix from unaligned_2 to unaligned.
9661         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9662         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9663         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9664         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9665         (ENTRY): Removed.
9666         (END): Likewise.
9667         (ENTRY_CHK): Likewise.
9668         (libc_hidden_builtin_def): Likewise.
9669         Don't include ../mempcpy.S.
9670         (mempcpy): New.  Add a weak alias.
9671         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9672         __mempcpy_chk_avx512_unaligned_erms and
9673         __mempcpy_chk_avx512_unaligned.  Use
9674         __mempcpy_chk_avx_unaligned_erms and
9675         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9676         Default to __mempcpy_chk_sse2_unaligned.
9678 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9680         [BZ #19881]
9681         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9682         into ...
9683         * sysdeps/x86_64/memset.S: This.
9684         (__bzero): Removed.
9685         (__memset_tail): Likewise.
9686         (__memset_chk): Likewise.
9687         (memset): Likewise.
9688         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9689         defined.
9690         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9691         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9692         (__memset_zero_constant_len_parameter): Check SHARED instead of
9693         PIC.
9694         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9695         memset-avx2 and memset-sse2-unaligned-erms.
9696         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9697         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9698         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9699         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9700         (__bzero): Enabled.
9701         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9702         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9703         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9704         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9705         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9706         (memset): Removed.
9707         (__memset_chk): Likewise.
9708         (MEMSET_SYMBOL): New.
9709         (libc_hidden_builtin_def): Replace __memset_sse2 with
9710         __memset_sse2_unaligned.
9711         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9712         __memset_chk_sse2 and __memset_chk_avx2 with
9713         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9714         Use __memset_chk_sse2_unaligned_erms or
9715         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9716         __memset_chk_avx512_unaligned_erms and
9717         __memset_chk_avx512_unaligned.
9719 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9721         * math/gen-auto-libm-test.c (fp_format_desc): remove
9722         suffix member.
9723         (output_generic_value): Remove usage of suffix member,
9724         and the resulting unuse of the fp_format argument.
9725         (output_for_one_input_case): Remove unused fp_format
9726         parameter.
9728         * math/auto-libm-test-out: Regenerate.
9730         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9731         usage with TEST_COND_ibm128.
9732         (TEST_COND_flt_32): Remove.
9733         (TEST_COND_dbl_64): Remove.
9734         (TEST_COND_ldbl_96_intel): Remove.
9735         (TEST_COND_ldbl_96_m68k): Remove.
9736         (TEST_COND_ldbl_128): Remove.
9738 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9740         * auto-libm-test-in:
9741         Replace flt-32 usage with binary32.
9742         Replace dbl-64 usage with binary64.
9743         Replace ldbl-intel-96 usage with intel96.
9744         Replace ldbl-m68k-96 usage with m68k96.
9745         Replace ldbl-128ibm usage with ibm128.
9746         Replace ldbl-128 usage with binary128.
9748         * auto-libm-test-out: Regenerate.
9750 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9752         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9753         (parse_ulps): Dynamically generate type name matching
9754         string from all_floats.
9755         (get_ulps): Generate the ulps as an array instead.
9756         (output_ulps): Dynamically compose the type based
9757         on the number of supported formats, and print
9758         the indices as type specific helper macros.
9760         * math/libm-test.inc: Remove comment about CHOOSE.
9761         (ulp_data): Generate the type in libm-test-ulps.h.
9762         (ULP_IDX): New macro.
9763         (find_ulps): Update usage of max_ulp.
9765         * math/test-double-vlen2.h (CHOOSE): Remove.
9766         * math/test-double-vlen4.h (CHOOSE): Likewise.
9767         * math/test-double-vlen8.h (CHOOSE): Likewise.
9768         * math/test-float.c (CHOOSE): Likewise.
9769         * math/test-float-finite.c (CHOOSE): Likewise.
9770         * math/test-double.c (CHOOSE): Likewise.
9771         * math/test-double-finite.c (CHOOSE): Likewise.
9772         * math/test-idouble.c (CHOOSE): Likewise.
9773         * math/test-ifloat.c (CHOOSE): Likewise.
9774         * math/test-ildoubl.c (CHOOSE): Likewise.
9775         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9776         * math/test-ldouble.c (CHOOSE): Likewise.
9778         * math/test-float.h (TEST_FLOAT): Remove.
9779         * math/test-double.h (TEST_DOUBLE): Likewise.
9780         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9782 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9784         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9785         (parse_args): Strip C suffix from floating point literals
9786         typed with 'f' and wrap them with LIT().
9788         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9789         (test_ff_f_data_nexttoward): Rename to
9790         (test_fj_f_data): New struct.
9791         (nexttoward_test_data): Relabel tests as
9792         TEST_fj_f instead of TEST_ff_f.
9794 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9796         Emacs bug 23726.
9797         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9798         (__libc_realloc): Correct size computation for dumped fake mmapped
9799         chunks.
9801 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9803         [BZ #20219]
9804         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9805         to itself.
9806         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9808         [BZ #20218]
9809         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9810         to itself.
9811         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9813 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9815         [BZ #20195]
9816         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9817         check to ...
9818         (init_cpu_features): Here.
9820 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9822         [BZ #20214]
9823         * sysdeps/unix/sysv/linux/bits/in.h
9824         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9825          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9826         Define to 1.
9827         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9828          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9829         Define to 0.
9830         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9831         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9833 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9835         [BZ #20198]
9836         * stdlib/Makefile (tests): Add tst-quick_exit, and
9837         tst-thread-quick_exit.
9838         [ifeq ($(have-cxx-thread_local),yes)]
9839         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9840         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9841         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9842         (LDLIBS-tst-thread-quick_exit): Likewise.
9843         [ifneq ($(have-cxx-thread_local),yes)]
9844         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9845         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9846         If run_dtors is true call __call_tls_dtors.
9847         (exit): Call __run_exit_handlers with run_dtors set to true.
9848         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9849         definition.
9850         * stdlib/quick_exit.c (quick_exit): Remove function.
9851         (__new_quick_exit): New function.
9852         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9853         function.
9854         * stdlib/tst-quick_exit.cc: New file.
9855         * stdlib/tst-thread-quick_exit.cc: New file.
9856         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9857         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9858         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9859         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9860         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9861         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9862         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9863         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9864         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9865         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9866         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9867         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9868         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9869         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9870         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9871         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9876         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9877         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9878         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9879         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9880         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9883         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9884         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9885         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9887 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9889         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9890         a typo in comments.
9892 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9894         [BZ #20213]
9895         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9896         argument to itself.
9897         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9899 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9901         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9902         required flags.
9903         (CFLAGS-pwritev64.c): Likewise.
9904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9906         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9907         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9908         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9909         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9910         syscall from auto-generation.
9911         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9912         [WORDSIZE == 64] (pwritev64): Remove macro.
9913         [!PWRITEV] (PWRITEV): Likewise.
9914         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9915         [!PWRITEV] (PWRITE): Likewise.
9916         [!PWRITEV] (OFF_T): Likewise.
9917         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9918         (LO_HI_LONG): Remove macro.
9919         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9920         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9921         (PWRITEV): Remove macro.
9922         (PWRITEV_REPLACEMENTE): Likewise.
9923         (PWRITE): Likewise.
9924         (OFF_T): Likewise.
9925         (pwritev64): New function.
9926         * nptl/tst-cancel4.c (tf_writev): Add test.
9928         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9929         required flags.
9930         (CFLAGS-preadv64.c): Likewise.
9931         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9932         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9933         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9934         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9935         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9937         syscall from auto-generation.
9938         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9939         [WORDSIZE == 64] (preadv64): Remove macro.
9940         [!PREADV] (PREADV): Likewise.
9941         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9942         [!PREADV] (PREAD): Likewise.
9943         [!PREADV] (OFF_T): Likewise.
9944         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9945         (LO_HI_LONG): Remove macro.
9946         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9947         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9948         (PREADV): Remove macro.
9949         (PREADV_REPLACEMENTE): Likewise.
9950         (PREAD): Likewise.
9951         (OFF_T): Likewise.
9952         (preadv64): New function.
9953         * nptl/tst-cancel4.c (tf_preadv): Add test.
9955 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9957         [BZ #20212]
9958         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9959         argument to itself.
9960         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9962 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9964         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9965         New symbol defined as libc_hidden_def.
9966         (strcasestr): Became a weak alias to __strcasestr.
9967         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9968         according to multi-arch support.  Move __stpncpy hidden
9969         definition from here to...
9970         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9971         symbol stpncpy.
9972         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9973         libc_hidden_builtin_def.
9974         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9975         memset symbol to use when multi-arch support is available.
9977 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9979         * dlfcn/tst-rec-dlopen.c: Include string.h.
9981 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9983         * manual/install.texi: Remove mention of --without-tls
9984         * INSTALL: Regenerate.
9986 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9988         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9989         Remove.
9990         (call_function, interposed_malloc_called): New variables.
9991         (malloc): New function.
9992         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9993         and clear call_function as needed.
9995 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9997         * include/wchar.h (__wmemset): Use __typeof.
9999 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10001         * include/wchar.h (__wmemset): Declare function without typeof.
10003 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10005         [BZ #20205]
10006         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10007         exponent when incrementing negative subnormal with low mantissa
10008         word zero.
10009         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10010         Add another test.
10012 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10014         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10015         __wmemset instead of wmemset.
10017 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10019         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10020         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10021         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10022         __USE_KERNEL_IPV6_DEFS to 0.
10023         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10024         Update comment.
10026 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10028         [BZ #19861]
10029         Do not use IFUNC resolver with potentially unrelocated symbol.
10030         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10031         (DEFINE_FORK): Remove macro and inline definition.
10032         (fork_alias): Renamed from fork_ifunc.
10033         (__fork_alias): Renamed from __fork_ifunc.
10035 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10037         [BZ 19653]
10038         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10039         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10041 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10043         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10044         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10045         i386-linux-gnu).
10046         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10047         Set to no.
10048         * sysdeps/mach/hurd/configure: Refresh.
10050 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10052         [BZ #20178]
10053         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10054         on failure instead of exit.
10056 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10058         [BZ #3629]
10059         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10060         of POSIX.1-2008.
10062 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10064         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10065           Use PLT entry for calling _hurd_self_sigstate.
10067 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10069         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10070         available logical processors with SMT level type sharing L2
10071         cache for Intel processors.
10073 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10075         [BZ #20160]
10076         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10077         argument to itself before returning the result.
10078         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10079         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10080         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10081         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10082         Likewise.
10083         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10084         Likewise.
10085         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10086         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10087         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10088         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10089         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10090         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10092         [BZ #20160]
10093         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10094         argument to itself before returning the result.
10095         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10096         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10097         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10098         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10099         Likewise.
10100         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10101         Likewise.
10102         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10103         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10104         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10105         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10106         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10107         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10109 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10111         * libm-test.inc: Replace usage of M_El with
10112         (lit_e): New macro.
10114 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10116         * libm-test.inc: Replace usage of M_PI_4l with
10117         (lit_pi_4_d): New macro.
10119 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10121         * libm-test.inc: Replace usage of M_PIl with
10122         (lit_pi): New macro.
10124 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10126         * libm-test.inc: Replace usage of M_PI2l with
10127         (lit_pi_2_d): New macro.
10129         * math/test-double.h (LITM): New macro.
10130         * math/test-float.h (LITM): Likewise.
10131         * math/test-ldouble.h (LITM): Likewise.
10133 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10135         * libm-test.inc (M_PI_34l): Rename to
10136         (lit_pi_3_m_4_d): New Macro.
10137         (M_PI_34_LOG10El): Rename to
10138         (lit_pi_3_m_4_ln10_m_d): New Macro.
10139         (M_PI2_LOG10El): Rename to
10140         (lit_pi_2_ln10_m_d):  New Macro.
10141         (M_PI4_LOG10El): Rename to
10142         (lit_pi_4_ln10_m_d):  New Macro.
10143         (M_PI_LOG10El): Rename to
10144         (lit_pi_ln10_d):  New Macro.
10146 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10148         [BZ #20157]
10149         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10150         determine whether to negate low half if [_ARCH_PPCGR], and integer
10151         comparison otherwise.
10152         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10153         determine whether to negate low half.
10155         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10156         (NO_TEST_INLINE_DOUBLE): Likewise.
10157         (TEST_COND_x86_64): Likewise.
10158         (TEST_COND_x86): Likewise.
10159         (M_PI_6l): Likewise.
10161 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10163         * math/libm-test.inc:
10164         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10165         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10166         (TEST_LDOUBLE): Update usage to evaluate as true if
10167         the guarded tests match the property being tested.
10168         (LDBL_MAX_EXP): Change to MAX_EXP.
10169         (LDBL_MIN_EXP): Change to MIN_EXP.
10170         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10171         nexttoward tests.
10173 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10175         * math/libm-test.inc:
10176         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10177         (TYPE_MIN): Likewise.
10178         (TYPE_TRUE_MIN): Likewise.
10179         (TYPE_MAX): Likewise.
10180         (MIN_EXP): Likewise.
10181         (MAX_EXP): Likewise.
10182         (MANT_DIG): Likewise.
10184         (FSTR_MAX): New macro.
10185         (__CONCATX): Likewise.
10186         (QTYPE_STR): Likewise.
10187         (TEST_COND_binary32): Likewise.
10188         (TEST_COND_binary64): Likewise.
10189         (TEST_COND_binary128): Likewise.
10190         (TEST_COND_ibm128): Likewise.
10191         (TEST_COND_intel96): Likewise.
10192         (TEST_COND_m68k96): Likewise.
10194         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10195         (TEST_COND_dbl_64): Likewise.
10196         (TEST_COND_ldbl_96_intel): Likewise.
10197         (TEST_COND_ldbl_96_m68k): Likewise.
10198         (TEST_COND_ldbl_128): Likewise.
10199         (TEST_COND_ldbl_128ibm): Likewise.
10201         (plus_zero): Redefine using LIT macro.
10202         (minus_zero): Likewise.
10203         (plus_infty): Redefine as (INF).
10204         (minux_infty): Redefine as (-INF).
10205         (max_value): Redefine as TYPE_MAX.
10206         (min_value): Redefine as TYPE_MIN.
10207         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10209         (print_float): Refactor to use snprintf to convert FLOAT values
10210         to string. This brings it closer to dropin replacement of strtof
10211         for the TS 18661 defined types.
10212         (update_stats): Likewise.
10213         (print_complex_function_ulps): Likewise.
10214         (print_max_error): Likewise.
10215         (print_complex_max_error): Likewise.
10216         (check_float_internal): Likewise.
10218         * math/test-float.h (PREFIX): New macro.
10219         (LIT): Likewise.
10220         (TYPE_STR): Likewise.
10221         (FTOSTR): Likewise.
10223         * math/test-double.h (PREFIX): New macro.
10224         (LIT): Likewise.
10225         (TYPE_STR): Likewise.
10226         (FTOSTR): Likewise.
10228         * math/test-ldouble.h (PREFIX): New macro.
10229         (LIT): Likewise.
10230         (TYPE_STR): Likewise.
10231         (FTOSTR): Likewise.
10233 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10235         [BZ #20156]
10236         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10237         to itself when zero or not finite.
10238         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10239         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10240         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10241         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10243 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10245         [BZ #20153]
10246         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10247         x * x + x for infinities and NaNs.
10249         [BZ #20151]
10250         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10251         argument to itself before returning result.
10252         (__ieee754_y0l): Likewise.
10253         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10254         (__ieee754_y1l).
10256         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10257         (atan_test_data): Likewise.
10258         (ceil_test_data): Likewise.
10259         (cos_test_data): Likewise.
10260         (cosh_test_data): Likewise.
10261         (erf_test_data): Likewise.
10262         (exp2_test_data): Likewise.
10263         (fabs_test_data): Likewise.
10264         (floor_test_data): Likewise.
10265         (ilogb_test_data): Likewise.
10266         (j0_test_data): Likewise.
10267         (j1_test_data): Likewise.
10268         (jn_test_data): Likewise.
10269         (lgamma_test_data): Likewise.
10270         (lrint_test_data): Likewise.
10271         (llrint_test_data): Likewise.
10272         (logb_test_data): Likewise.
10273         (lround_test_data): Likewise.
10274         (llround_test_data): Likewise.
10275         (nearbyint_test_data): Likewise.
10276         (rint_test_data): Likewise.
10277         (round_test_data): Likewise.
10278         (sin_test_data): Likewise.
10279         (sincos_test_data): Likewise.
10280         (sinh_test_data): Likewise.
10281         (sqrt_test_data): Likewise.
10282         (tan_test_data): Likewise.
10283         (tanh_test_data): Likewise.
10284         (tgamma_test_data): Likewise.
10285         (trunc_test_data): Likewise.
10286         (y0_test_data): Likewise.
10287         (y1_test_data): Likewise.
10288         (yn_test_data): Likewise.
10290         * math/libm-test.inc: Update comment about NaN testing.
10291         (TEST_SNAN): New macro.
10292         (snan_value): Likewise.
10293         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10294         (fpclassify_test_data): Add sNaN tests.
10295         (isfinite_test_data): Likewise.
10296         (isinf_test_data): Likewise.
10297         (isnan_test_data): Likewise.
10298         (isnormal_test_data): Likewise.
10299         (issignaling_test_data): Likewise.
10300         (signbit_test_data): Likewise.
10301         * math/gen-libm-test.pl (%beautify): Add snan_value.
10302         (show_exceptions): Add argument $test_snan.
10303         (parse_args): Handle snan_value as non-finite.  Update call to
10304         show_exceptions.
10305         * math/Makefile (libm-test-no-inline-cflags): Add
10306         -fsignaling-nans.
10308 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10310         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10311         (CFLAGS-oldsendmsg.c): Add rule.
10312         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10313         Correct recvmsg symbol name.
10314         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10315         Likewise.
10317 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10319         * sysdeps/unix/sysv/linux/Makefile
10320         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10321         oldsendmmsg.
10322         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10323         sendmmsg.
10324         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10327         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10329         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10330         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10332         Likewise.
10333         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10334         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10335         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10336         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10337         iovlen and controllen fields to adjust to POSIX specification.
10338         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10340         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10341         and change to correct expected type.
10342         (msghdr.msg_controllen): Likewise.
10343         (cmsghdr.cmsg_len): Likewise.
10344         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10345         expected POSIX assumption about the size.
10346         (msghdr.msg_controllen): Likewise.
10347         (msghdr.__glibc_reserved1): Likewise.
10348         (msghdr.__glibc_reserved2): Likewise.
10349         (cmsghdr.cmsg_len): Likewise.
10350         (cmsghdr.__glibc_reserved1): Likewise.
10351         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10352         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10353         (CFLAGS-sendmsg.c): Remove rule.
10354         (CFLAGS-recvmsg.c): Likewise.
10355         (CFLAGS-oldsendmsg.c): Add rule.
10356         (CFLAGS-oldrecvmsg.c): Likewise.
10357         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10358         recvmsg and sendmsg.
10359         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10360         Likewise.
10361         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10362         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10363         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10364         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10365         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10366         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10367         Likewise.
10368         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10369         Likewise.
10370         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10371         Likewise.
10372         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10373         Likewise.
10374         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10375         Likewise.
10376         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10377         Likewise.
10378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10379         (GLIBC_2.24): Likewise.
10380         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10385         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10386         Likewise.
10387         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10388         Likewise.
10389         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10390         Likewise.
10391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10392         (GLIBC_2.24): Likewise.
10393         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10394         Likewise.
10395         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/Makefile
10398         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10399         (CFLAGS-sendmsg.c): Add rule.
10400         (CFLAGS-recvmsg.c): Likewise.
10401         (CFLAGS-oldsendmsg.c): Likewise.
10402         (CFLAGS-oldrecvmsg.c): Likewise.
10403         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10404         initialization.
10405         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10406         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10407         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10408         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10409         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10410         iovlen and controllen fields to adjust to POSIX specification.
10411         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10412         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10413         added recvmsg and sendmsg.
10414         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10415         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10416         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10417         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10418         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10419         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10420         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10421         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10422         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10423         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10424         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10425         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10427         Likewise.
10428         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10430         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10431         Likewise.
10432         Likewise.
10433         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10435         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10436         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10437         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10438         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10440         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10446         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10447         from auto-generation.
10448         (sendmsg): Likewise.
10449         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10450         (sendmsg): Likewise.
10451         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10452         (sendmsg): Likewise.
10453         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10454         (sendmsg): Likewise.
10455         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10456         (sendmsg): Likewise.
10457         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10458         (sendmsg): Likewise.
10459         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10460         Likewise.
10461         (sendmsg): Likewise.
10462         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10463         (sendmsg): Likewise.
10464         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10465         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10466         Remove.
10467         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10468         Likewise.
10469         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10470         Undefine.
10471         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10472         Likewise.
10473         * sysdeps/unix/sysv/linux/kernel-features.h
10474         (__ASSUME_SENDMSG_SYSCALL): Define.
10475         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10476         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10478         Remove.
10479         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10480         Likewise.
10481         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10482         Undefine.
10483         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10484         Likewise.
10485         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10486         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10487         Remove.
10488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10489         Likewise.
10490         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10491         Undefine.
10492         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10493         Likewise.
10494         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10495         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10496         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10497         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10498         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10499         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10500         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10501         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10502         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10504 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10506         * stdlib/gen-tst-strtod-round.c: Add backslash to
10507         compile command in comment.
10508         (printfp): Remove the literal suffix, and define an infinite
10509         value as INF to avoid expansion clash with INFINITY.
10510         (round_str): Remove the literal suffix.
10511         (round_for_all): Likewise, remove the now duplicate ldbl-64
10512         entry, and remove some magic constants.
10514         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10515         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10516         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10517         (_CONCAT): New macro.
10518         (CONCAT): Likewise.
10519         (CHOOSE_ld): Likewise.
10520         (CHOOSE_f): Likewise.
10521         (CHOOSE_d): Likewise.
10522         (FTYPE_MEMBER): Likewise.
10523         (BOOL_MEMBER): Likewise.
10524         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10525         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10526         (_XNTRY): Likewise.
10527         (XNTRY): Likewise.
10528         (_ENTRY): Likewise.
10529         (ENTRY): Likewise.
10530         (test_exactness): Generate members via macro.
10531         (test_results): Likewise.
10532         (test): Update members.
10533         (TEST): Redefine using new macros.
10534         (INF): New macro.
10535         (fetestmodes): New structure.
10536         (do_test): Refactor to be type generic.
10537         (test_in_one_mode): Refactor duplicate code into
10538         (GEN_ONE_TEST): New macro.
10540         * stdlib/tst-strtod-round-data.h: Regenerate.
10542         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10543         Extend to pass additional arbitrary parameters to
10544         generators.
10546 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10548         [BZ #15479]
10549         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10550         floating-point state after first floating-point operation on
10551         input.  Restore full floating-point state instead of just rounding
10552         mode.
10553         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10554         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10555         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10556         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10557         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10559         [BZ #15479]
10560         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10561         floating-point state after first floating-point operation on
10562         input.  Restore full floating-point state instead of just rounding
10563         mode.
10564         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10565         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10566         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10567         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10568         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10570 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10572         [BZ #19727]
10573         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10574         valid high surrogate.
10575         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10576         of an utf16 surrogate.
10577         * iconv/gconv_simple.c (BODY): Likewise.
10578         * iconvdata/bug-iconv12.c: New file.
10579         * iconvdata/Makefile (tests): Add bug-iconv12.
10581 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10583         [BZ #19726]
10584         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10585         outptrp in case of an illegal input.
10586         * iconv/tst-iconv6.c: New file.
10587         * iconv/Makefile (tests): Add tst-iconv6.
10589 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10591         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10592         an error in case of a value in range of an utf16 low surrogate.
10594 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10596         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10597         an error in case of a value in range of an utf16 low surrogate.
10599 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10601         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10602         Move to ...
10603         * sysdeps/s390/Makefile: ... here.
10604         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10605         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10606         (BRANCH_ON_COUNT): New define.
10607         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10608         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10609         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10610         run on s390-32, too.
10611         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10612         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10613         run on s390-32, too.
10614         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10615         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10616         run on s390-32, too.
10618 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10620         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10621         etf3eh or new vector loop-variant.
10623 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10625         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10626         etf3eh or new vector loop-variant.
10628 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10630         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10631         or new vector loop-variant.
10633 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10635         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10636         Rename to TR_LOOP and usage of tr instead of troo instruction.
10638 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10640         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10641         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10643 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10645         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10646         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10647         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10648         New override define.
10649         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10651 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10653         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10654         * sysdeps/s390/configure.ac: Add test for S390 vector register
10655         support in gcc.
10656         * sysdeps/s390/configure: Regenerated.
10658 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10660         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10661         Install file from $(objpfx)gconv-modules.
10662         ($(objpfx)gconv-modules): Concatenate architecture specific file
10663         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10664         * sysdeps/s390/gconv-modules: New file.
10665         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10666         Deleted.
10667         ($(objpfx)gconv-modules-s390): Deleted.
10668         (sysdeps-gconv-modules): New variable.
10670 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10672         [BZ #15479]
10673         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10674         of immediate operand to rounding instruction.
10675         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10676         Likewise.
10677         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10678         Likewise.
10679         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10680         Likewise.
10682 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10684         * math/libm-test.inc (MIN_EXP): Directly define as
10685         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10687 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10689         * math/libm-test.inc (MANT_DIG): Directly define as
10690         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10692 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10694         * stdlib/gen-tst-strtod-round.c (main):
10695           Change usage to more closely match the generated
10696           output.  Add usage and compilation instructions.
10697           (string_to_fp): Add and use FILE* parameter as
10698           output target.
10699           (print_fp): Likewise.
10700           (round_str): Likewise.
10701           (round_for_all): Likewise.
10702         * stdlib/tst-strtod-round.c (tests): Move into
10703         * stdlib/tst-strtod-round-data.h: New file.
10705 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10707         [BZ #15479]
10708         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10709         (__round): Do not force "inexact" exception.
10710         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10711         variable.
10712         (__round): Do not force "inexact" exception.
10713         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10714         (__roundf): Do not force "inexact" exception.
10715         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10716         (__roundl): Do not force "inexact" exception.
10717         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10718         (__roundl): Do not force "inexact" exception.
10719         * math/libm-test.inc (round_test_data): Do not allow spurious
10720         "inexact" exceptions.
10722         [BZ #15479]
10723         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10724         exception in comment.
10725         (huge): Remove variable.
10726         (__floor): Do not force "inexact" exception.
10727         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10728         "inexact" exception in comment.
10729         (huge): Remove variable.
10730         (__floor): Do not force "inexact" exception.
10731         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10732         exception in comment.
10733         (huge): Remove variable.
10734         (__floorf): Do not force "inexact" exception.
10735         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10736         exception in comment.
10737         (huge): Remove variable.
10738         (__floorl): Do not force "inexact" exception.
10740         [BZ #15479]
10741         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10742         exception in comment.
10743         (huge): Remove variable.
10744         (__ceil): Do not force "inexact" exception.
10745         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10746         "inexact" exception in comment.
10747         (huge): Remove variable.
10748         (__ceil): Do not force "inexact" exception.
10749         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10750         (__ceilf): Do not force "inexact" exception.
10751         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10752         exception in comment.
10753         (huge): Remove variable.
10754         (__ceill): Do not force "inexact" exception.
10756 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10758         * config.h.in (BIND_NOW): New.
10759         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10760         * configure: Regenerated.
10761         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10762         indirect branch via the GOT slot.
10764 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10766         [BZ #19765]
10767         * sysdeps/s390/mempcpy.S: New File.
10768         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10769         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10770         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10771         Add mempcpy variants.
10772         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10773         (memcpy): Adjust to be usable from mempcpy entry point.
10774         (__memcpy_mvcle): Likewise.
10775         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10776         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10777         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10778         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10779         (__memcpy_z10): Likewise.
10780         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10782 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10784         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10785         Remove __GI_ symbol.
10786         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10787         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10788         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10789         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10790         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10791         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10793 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10795         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10796         Use cghi instead of chi to compare 64bit value.
10798 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10800         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10801         Jump to 1MB check before executing mvc-loop.
10803 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10805         [BZ #6527]
10806         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10807         unconditionally.
10808         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10810 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10812         * stdlib/tst-strtod6.c (do_test): Use new type generic
10813         invocation of the test function.
10814         (test): Refactor into ...
10815         (TEST_STRTOD): New macro base function.
10817 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10819         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10820         (TEST_STRTOD): New macro.
10821         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10823 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10825         * stdlib/tst-strtod6.c (do_test): Use new type generic
10826         invocation of the test function.
10827         (test): Refactor into ...
10828         (TEST_STRTOD): New macro base function.
10830 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10832         CVE-2016-4429
10833         [BZ #20112]
10834         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10835         payload.
10837 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10839         [BZ #20111]
10840         * bits/sockaddr.h (_SS_SIZE): Define.
10841         * bits/socket.h (_SS_SIZE): Remove.
10842         (_SS_PADSIZE): Adjust to account for all padding.
10843         (struct sockaddr_storage): Update comment.  Avoid implicit
10844         padding.
10845         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10846         (_SS_PADSIZE): Adjust to account for all padding.
10847         (struct sockaddr_storage): Update comment.  Avoid implicit
10848         padding.
10849         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10850         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10851         (_SS_PADSIZE): Adjust to account for all padding.
10852         (struct sockaddr_storage): Update comment.  Avoid implicit
10853         padding.
10854         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10855         __SS_SIZE is 126 in this version.
10856         * inet/tst-sockaddr.c: New file.
10857         * inet/Makefile (tests): Add tst-sockaddr.c
10858         (tst-sockaddr.c): Compile with non-strict aliasing.
10860 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10862         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10863         [XPG3 || XPG4].
10864         (NL_ARGMAX): Also expect for [XPG3].
10865         (NL_LANGMAX): Likewise.
10866         (NL_MSGMAX): Likewise.
10867         (NL_NMAX): Likewise.
10868         (NL_SETMAX): Likewise.
10869         (NL_TEXTMAX): Likewise.
10870         (NZERO): Likewise.
10871         (TMP_MAX): Likewise.
10872         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10873         variable.
10875         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10876         (PF_MAX): Update value.
10877         (AF_KCM): New macro.
10878         (SOL_NETBEUI): Likewise.
10879         (SOL_LLC): Likewise.
10880         (SOL_DCCP): Likewise.
10881         (SOL_NETLINK): Likewise.
10882         (SOL_TIPC): Likewise.
10883         (SOL_RXRPC): Likewise.
10884         (SOL_PPPOL2TP): Likewise.
10885         (SOL_BLUETOOTH): Likewise.
10886         (SOL_PNPIPE): Likewise.
10887         (SOL_RDS): Likewise.
10888         (SOL_IUCV): Likewise.
10889         (SOL_CAIF): Likewise.
10890         (SOL_ALG): Likewise.
10891         (SOL_NFC): Likewise.
10892         (SOL_KCM): Likewise.
10893         (MSG_BATCH): New enum value and macro.
10895 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10897         [BZ #18185]
10898         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10899         sharing L2 cache to 2 for Knights Landing.
10901 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10903         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10904         (FTW_DP): Do not expect for [XPG3 || XPG4].
10905         (FTW_SL): Do not expect for [XPG3].
10906         (FTW_SLN): Likewise.
10907         (FTW_PHYS): Likewise.
10908         (FTW_MOUNT): Likewise.
10909         (FTW_DEPTH): Likewise.
10910         (FTW_CHDIR): Likewise.
10911         (nftw): Likewise.
10912         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10913         variable.
10915 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10917         * manual/errno.texi: Fix various typos & grammar errors.
10919 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10921         * manual/intro.texi: Fix duplicated typo.
10923 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10925         [BZ #13304]
10926         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10927         <float.h>, <math_private.h> and <stdlib.h>.
10928         (add_split): New function.
10929         (mul_split): Likewise.
10930         (ext_val): New typedef.
10931         (store_ext_val): New function.
10932         (mul_ext_val): New function.
10933         (compare): New function.
10934         (add_split_ext): New function.
10935         (__fmal): After checking for Inf, NaN and zero, compute result as
10936         an exact sum of scaled double values in round-to-nearest before
10937         adding those up and adjusting for other rounding modes.
10938         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10939         tests of fma.
10940         * math/auto-libm-test-out: Regenerated.
10942 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10944         [BZ #20119]
10945         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10946         processor level type mask for CPUID with EAX == 11.
10948 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10950         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10951         logical threads if the HTT bit is 0.
10952         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10953         (index_cpu_HTT): Likewise.
10954         (reg_HTT): Likewise.
10956 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10958         [BZ #20115]
10959         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10960         Remove alignments on jump targets.
10962 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10964         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10965         (getpwent): Likewise.
10966         (setpwent): Likewise.
10967         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10968         variable.
10970         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10971         (remque): Likewise.
10972         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10973         variable.
10975 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10977         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10978         not being tested.
10980 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10982         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10983         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10984         call.
10985         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10986         (__condvar_cleanup1): Likewise.
10988 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10990         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10991         New
10992         (__pthread_unwind): Renamed to ...
10993         (PTHREAD_UNWIND): This.
10994         (__pthread_enable_asynccancel): Replace
10995         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10997 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10999         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11000         (CLONE_NEWCGROUP): New macro.
11002         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11003         (Q_GETNEXTQUOTA): New macro.
11005 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11007         [BZ #19907]
11008         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11009         buffer updated by the previous run.
11010         * string/test-memcpy.c (do_one_test): Likewise.
11011         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11012         * string/test-memmove.c (do_one_test): Likewise.
11014 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11016         [BZ #20094]
11017         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11018         not [__USE_XOPEN].
11019         (unlockpt): Likewise.
11020         (ptsname): Likewise.
11021         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11022         variable.
11024         [BZ #20076]
11025         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11026         instead of [__USE_UNIX98].
11027         (S_ISSOCK): Likewise.
11028         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11029         variable.
11031         [BZ #20074]
11032         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11033         [__USE_POSIX].
11034         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11035         variable.
11037         [BZ #20051]
11038         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11039         (ttyslot): Do not declare.
11040         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11041         (ttyslot): New prototype.
11042         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11043         variable.
11044         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11046 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11048         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11050 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11052         Fix race condition in tst-mallocfork2, use fewer resources.
11053         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11054         to current process group.
11055         (signal_sender): Yield in the non-sleeping case.
11057 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11059         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11060         (ecvt): Likewise.
11061         (fcvt): Likewise.
11062         (gcvt): Likewise.
11063         (getsubopt): Likewise.
11064         (grantpt): Likewise.
11065         (initstate): Likewise.
11066         (l64a): Likewise.
11067         (mktemp): Likewise.
11068         (mkstemp): Likewise.
11069         (ptsname): Likewise.
11070         (random): Likewise.
11071         (realpath): Likewise.
11072         (setstate): Likewise.
11073         (srandom): Likewise.
11074         (ttyslot): Likewise.
11075         (unlockpt): Likewise.
11076         (valloc): Likewise.
11078         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11079         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11080         variable.
11082 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11084         [BZ #20072]
11085         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11086         init_cpu_features only if SHARED is defined.
11087         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11089 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11091         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11092         non-inclusive caches on Intel processors.
11094 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11096         * malloc/malloc.c (dumped_main_arena_start)
11097         (dumped_main_arena_end): New variables.
11098         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11099         (do_check_chunk): Skip dumped fake mmapped chunks.
11100         (munmap_chunk): Likewise.
11101         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11102         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11103         mmapped chunks.
11104         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11105         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11106         and dumped_main_arena_end to cover the dumped heap.
11108 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11110         * conform/data/time.h-data (getdate_err): Do not expect for
11111         [XPG3].
11112         (getdate): Likewise.
11113         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11114         variable.
11116         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11117         (F_ULOCK): Likewise.
11118         (F_TEST): Likewise.
11119         (F_TLOCK): Likewise.
11120         (useconds_t): Likewise.
11121         (intptr_t): Do not expect for [XPG3] or [XPG4].
11122         (brk): Do not expect for [XPG3]
11123         (fchown): Likewise.
11124         (fchdir): Likewise.
11125         (ftruncate): Likewise.
11126         (getdtablesize): Likewise.
11127         (gethostid): Likewise.
11128         (getpagesize): Likewise.
11129         (getpgid): Likewise.
11130         (getsid): Likewise.
11131         (getwd): Likewise.
11132         (lchown): Likewise.
11133         (lockf): Likewise.
11134         (readlink): Likewise.
11135         (sbrk): Likewise.
11136         (setpgrp): Likewise.
11137         (setregid): Likewise.
11138         (setreuid): Likewise.
11139         (symlink): Likewise.
11140         (sync): Likewise.
11141         (truncate): Likewise.
11142         (ualarm): Likewise.
11143         (usleep): Likewise.
11144         (vfork): Likewise.
11145         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11146         variable.
11148         [BZ #20054]
11149         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11150         not [__USE_UNIX98].
11151         * conform/data/unistd.h-data (gethostname): Do not expect for
11152         [XPG3].
11154         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11155         [!POSIX] (S_IFBLK): Likewise.
11156         [!POSIX] (S_IFCHR): Likewise.
11157         [!POSIX] (S_IFIFO): Likewise.
11158         [!POSIX] (S_IFREG): Likewise.
11159         [!POSIX] (S_IFDIR): Likewise.
11160         [!POSIX] (S_IFLNK): Likewise.
11161         [!POSIX] (S_IFSOCK): Likewise.
11162         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11163         variable.
11164         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11166 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11168         * sysdeps/aarch64/memset.S (__memset):
11169         Rewrite of optimized memset.
11171 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11173         [BZ #19703]
11174         Partially async-signal-safe fork for single-threaded processes.
11175         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11176         variable.  Do not acquire and reset/release malloc and libio locks
11177         in single-threaded processes.
11178         * malloc/tst-mallocfork2.c: New file.
11179         * malloc/Makefile (tests): Add it.
11181 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11183         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11184         argument.  Use scratch buffer instead of extend_alloca.
11185         (gethosts): Use scratch buffer instead of extend_alloca.
11186         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11187         extend_alloca.
11188         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11190 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11192         [BZ #20055]
11193         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11194         instead of [__USE_UNIX98].
11195         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11196         [__USE_UNIX98].
11197         * conform/data/termios.h-data (tcgetsid): Do not expect for
11198         [XPG3].
11199         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11200         variable.
11201         (test-xfail-XPG4/termios.h/conform): Likewise.
11203 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11205         Do not use mcheck in localedef.
11206         * locale/programs/localedef.c (turn_on_mcheck)
11207         (__malloc_initialize_hook): Remove.
11209 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11211         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11212         * sysdeps/s390/s390-64/Makefile: Likewise.
11214 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11216         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11217         Remove ifunc-defines.sym.
11218         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11219         Likewise.
11220         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11221         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11222         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11223         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11224         rtld-global-offsets.sym.
11225         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11226         * sysdeps/x86/cpu-features-offsets.sym: This.
11227         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11228         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11230 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11232         [BZ #20073]
11233         * io/sys/stat.h (fchmod): Declare for
11234         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11235         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11236         variable.
11238         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11239         [XPG3] (S_IFSOCK): Likewise.
11240         [XPG3] (S_ISVTX): Likewise.
11241         [XPG3] (S_ISLNK): Likewise.
11242         [XPG3] (S_ISSOCK): Likewise.
11243         [XPG3] (fchmod): Likewise.
11244         [XPG3] (lstat): Likewise.
11245         [XPG3] (mknod): Likewise.
11247         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11248         [XPG3].  Expect type long and XFAIL for [XPG4].
11249         (st_blocks): Likewise.
11251         [BZ #20044]
11252         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11253         (pthread_atfork): New prototype.
11254         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11255         variable.
11257         [BZ #20043]
11258         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11259         prototype.
11261 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11263         [BZ #20017]
11264         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11265         gmtime.
11267 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11269         [BZ #19994]
11270         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11271         flag in _res.options.
11273 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11275         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11276         [XPG3 || XPG4].
11277         (blksize_t): Likewise.
11278         (clockid_t): Likewise.
11279         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11280         variable.
11281         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11283 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11285         * sysdeps/unix/sysv/linux/s390/init-first.c:
11286         Add VDSO_SYMBOL(getcpu).
11287         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11288         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11289         Add VDSO_SYMBOL(getcpu).
11290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11291         New define HAVE_GETCPU_VSYSCALL.
11292         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11294 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11296         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11297         instead of <sysdeps/x86_64/cacheinfo.c>.
11298         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11299         * sysdeps/x86/cacheinfo.c: Here.
11301 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11303         * malloc/malloc-internal.h: Adjust header file guard.
11305 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11307         [BZ #19787]
11308         * inet/getnameinfo.c (check_sprintf_result): New function.
11309         (CHECKED_SNPRINTF): New macro.
11310         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11311         to the host buffer.
11312         (gni_host_local): Use checked_copy to copy the host name.
11313         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11314         (gni_serv_local): Use checked_copy to copy the service name.
11315         (getnameinfo): Remove unnecessary truncation of result buffers.
11317 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11319         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11320         in case of inet_ntop failure.
11322 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11324         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11325         avoid long lines.
11326         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11327         variables.
11328         (gni_host_inet, gni_host_local): Add comment.
11329         (gni_host): Add comment.  Use temporary to avoid long lines.
11331 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11333         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11334         registers specifiers where general purpose registers specifiers should
11335         have been used.
11337 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11339         [BZ #19779]
11340         CVE-2016-1234
11341         Avoid copying names of directory entries.
11342         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11343         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11344         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11345         (struct readdir_result): New type.
11346         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11347         (GL_READDIR): New macros.
11348         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11349         (convert_dirent, convert_dirent64): New functions.
11350         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11351         convert_dirent64.  Adjust references to the readdir result.
11352         * sysdeps/unix/sysv/linux/i386/glob64.c:
11353         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11354         * posix/bug-glob2.c (LONG_NAME): Define.
11355         (filesystem): Add LONG_NAME.
11356         (my_DIR): Increase the size of room_for_dirent.
11358 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11360         [BZ #20041]
11361         * misc/sys/select.h (__need_timespec): Only define if
11362         [__USE_XOPEN2K].
11363         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11364         variable.
11365         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11366         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11367         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11369 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11370             Segher Boessenkool  <segher@gcc.gnu.org>
11372         [BZ #20004]
11373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11374         (__novec_swapcontext): Add missing load.
11376 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11378         [BZ #20023]
11379         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11380         <time.h>.
11381         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11382         variable.
11383         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11385 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11388         flags CLONE_VM compare.
11390 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11392         [BZ #20031]
11393         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11394         completely empty.
11396 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11398         [BZ #19573]
11399         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11400         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11401         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11402         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11403         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11404         (hesiod_free_list): Mark as hidden.
11405         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11406         res_set, res_get.
11407         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11408         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11409         (hesiod_init): Remove obsolete res_ninit call.
11410         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11411         (hesiod_bind): Do not call init.
11412         (get_txt_records): Use res_mkquery, res_send instead of
11413         res_nmkquery, res_nsend.
11414         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11415         instead of _nss_hesiod_init.
11416         (_nss_hesiod_initgroups_dyn): Likewise.
11417         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11418         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11419         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11421 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11423         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11424         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11426 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11428         * hesiod/hesiod.h: Remove RCS keyword.
11429         * hesiod/hesiod_p.h: Likewise.
11431         * hesiod/hesiod.c: Likewise.
11433 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11435         [BZ #12450]
11436         * locale/iso-639.def: Add Samogitian/sgs.
11438 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11440         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11442         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11444 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11445             Carlos O'Donell  <carlos@redhat.com>
11447         [BZ #19072]
11448         * grp/Makefile (headers): Add grp-merge.h
11449         (routines): Add grp-merge.
11450         * grp/getgrgid_r.c: Include grp-merge.h.
11451         (DEEPCOPY_FN): Define.
11452         (MERGE_FN): Define.
11453         * grp/getgrname_r.c: Include grp-merge.h.
11454         (DEEPCOPY_FN): Define.
11455         (MERGE_FN): Define.
11456         * grp/grp-merge.c: New file.
11457         * grp/grp-merge.h: New file.
11458         * include/grp-merge.h: New file.
11459         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11460         __copy_grp@GLIBC_PRIVATE.
11461         * manual/nss.texi (Actions in the NSS configuration): Describe
11462         return, continue, and merge.
11463         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11464         (DEEPCOPY_FN): Define.
11465         (MERGE_FN): Define.
11466         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11467         (DEEPCOPY_FN): Define.
11468         (MERGE_FN): Define.
11469         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11470         [!MERGE_FN]: Define __merge_einval.
11471         (CHECK_MERGE): Define.
11472         (REENTRANT_NAME): Process merge if do_merge is true.
11473         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11474         (__nss_getent_r): Likewise.
11475         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11476         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11478 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11480         [BZ #20012]
11481         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11482         length to calculate the buffer to read.
11483         (fmemopen_write): Set the buffer position based on bytes written.
11484         (fmemopen_seek): Return EINVAL for invalid whence modes.
11486         [BZ #19957]
11487         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11488         tst-getpid2.
11489         (test): Add tst-clone2.
11490         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11491         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11492         pid/tid fields for CLONE_VM.
11493         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11494         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11495         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11496         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11497         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11498         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11499         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11500         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11502         Likewise.
11503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11504         Likewise.
11505         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11506         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11507         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11508         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11509         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11510         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11511         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11512         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11514 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11516         [BZ #19642]
11517         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11518         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11519         (gni_serv_local, gni_serv): New functions extracted from
11520         getnameinfo.
11521         (getnameinfo): Call gni_host and gni_serv to perform the
11522         processing.  Always free scratch buffer.
11524 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11526         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11527         remaining bytes in the dest string, with zeros.
11529 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11531         [BZ #20010]
11532         CVE-2016-3706
11533         * sysdeps/posix/getaddrinfo.c
11534         (convert_hostent_to_gaih_addrtuple): New function.
11535         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11536         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11537         AF_INET data.
11539 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11541         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11542         callback function gl_readdir.
11543         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11544         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11545         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11546         memcpy to copy the name.
11547         * manual/pattern.texi (Calling Glob): Document requirements for
11548         implementations of the gl_readdir callback function.
11549         * manual/examples/mkdirent.c: New example.
11550         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11551         per the manual guidance.
11552         * posix/tst-gnuglob.c (my_readdir): Likewise.
11554 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11556         [BZ #20014]
11557         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11558         not [__USE_POSIX].
11559         (getchar_unlocked): Likewise.
11560         (putc_unlocked): Likewise.
11561         (putchar_unlocked): Likewise.
11562         (flockfile): Likewise.
11563         (ftrylockfile): Likewise.
11564         (funlockfile): Likewise.
11565         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11566         variable.
11567         (test-xfail-XPG4/stdio.h/conform): Likewise.
11569         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11570         Expect constant.
11571         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11572         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11573         variable.
11574         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11575         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11577         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11578         [__USE_LARGEFILE64] (off64_t): Likewise.
11579         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11580         variable.
11582 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11584         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11586 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11588         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11589         * resolv/res_init.c: Likewise.
11590         * resolv/res_mkquery.c: Likewise.
11592 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11594         * resolv/res_init.c (isascii): Do not define.  Use definition in
11595         <ctype.h>.
11596         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11597         (LOG_AUTH): Remove.
11598         (SPRINTF): Remove, adjust caller.
11599         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11601 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11603         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11604         SUNSECURITY conditional.
11605         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11607 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11609         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11610         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11611         Remove BSD-related preprocessor conditionals.
11612         * conf/portability.h: Remove.
11614 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11616         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11617         * resolv/res_data.c: Likewise.
11619 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11621         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11622         * resolv/res_data.c: Remove code conditional on ultrix.
11624 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11626         * resolv/res_init.c (RFC1535): Do not define.  Remove
11627         RFC1535 preprocessor conditionals.
11628         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11629         because there configuration options which make the resolver
11630         behavior different.
11632 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11634         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11635         RESOLVSORT preprocessor conditionals.
11636         * resolv/nss_dns/dns-host.c: Likewise.
11637         * resolv/res_init.c: Likewise.
11639 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11641         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11642         is never defined.
11644 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11646         * inet/inet_lnaof.c: Remove SCSS keyword.
11647         * inet/inet_mkadr.c: Likewise.
11648         * inet/inet_net.c: Likewise.
11649         * inet/inet_netof.c: Likewise.
11650         * inet/rcmd.c: Likewise.
11651         * inet/rexec.c: Likewise.
11652         * inet/ruserpass.c: Likewise.
11654 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11656         * resolv/inet_addr.c: Remove _LIBC conditionals.
11657         * resolv/res_data.c: Likewise.
11658         * resolv/res_init.c: Likewise.
11659         * resolv/res_mkquery.c: Likewise.
11660         * resolv/res_libc.c: Update comment.
11661         * resolv/README: Update.
11663 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11665         * resolv/gethnamaddr.c: Remove SCSS keyword.
11666         * resolv/herror.c: Likewise.
11667         * resolv/inet_addr.c: Likewise.
11668         * resolv/inet_net_ntop.c: Likewise.
11669         * resolv/inet_net_pton.c: Likewise.
11670         * resolv/inet_neta.c: Likewise.
11671         * resolv/inet_ntop.c: Likewise.
11672         * resolv/inet_pton.c: Likewise.
11673         * resolv/ns_date.c: Remove RCS keyword.
11674         * resolv/ns_name.c: Likewise.
11675         * resolv/ns_netint.c: Likewise.
11676         * resolv/ns_parse.c: Likewise.
11677         * resolv/ns_print.c: Likewise.
11678         * resolv/ns_samedomain.c: Likewise.
11679         * resolv/ns_ttl.c: Likewise.
11680         * resolv/nsap_addr.c: Likewise.
11681         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11682         * resolv/res_data.c: Remove RCS keyword.
11683         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11684         * resolv/res_init.c: Likewise.
11685         * resolv/res_mkquery.c: Likewise.
11686         * resolv/res_query.c: Likewise.
11687         * resolv/res_send.c: Likewise.
11689 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11691         * conform/data/stdio.h-data (fdopen): Expect also for
11692         [XPG3 || XPG4].
11694         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11695         (fseeko): Likewise.
11696         (ftello): Likewise.
11697         (ftrylockfile): Likewise.
11698         (funlockfile): Likewise.
11699         (getc_unlocked): Likewise.
11700         (getchar_unlocked): Likewise.
11701         (putc_unlocked): Likewise.
11702         (putchar_unlocked): Likewise.
11704 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11706         [BZ #19868]
11707         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11708         DNS packet syntax checks (which were not needed before).  Skip
11709         over non-PTR records.
11711 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11713         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11714         definition.  Include <stddef.h> instead.
11716 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11718         [BZ #19831]
11719         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11720         function.
11721         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11722         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11724 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11726         [BZ #19862]
11727         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11728         (getanswer_r): Do not call syslog.
11729         (gaih_getanswer_slice): Likewise.
11730         * resolv/gethnamaddr.c (AskedForGot): Remove.
11731         (getanswer): Do not call syslog.
11732         (gethostbyaddr): Likewise.
11734 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11736         * conform/data/signal.h-data (union sigval): Expect also if
11737         [XOPEN2K].
11738         (struct sigevent): Likewise.
11739         (SIGEV_NONE): Likewise.
11740         (SIGEV_SIGNAL): Likewise.
11741         (SIGEV_THREAD): Likewise.
11742         (SIGRTMIN): Likewise.
11743         (SIGRTMAX): Likewise.
11744         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11745         variable.
11746         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11748 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11750         [BZ #19830]
11751         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11752         (gaih_getanswer_slice): Likewise.
11753         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11754         Also check for availability of RR metadata.
11756 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11758         [BZ #19825]
11759         * resolv/res_send.c (send_vc): Remove early *resplen2
11760         initialization.  Set *resplen2 on socket error.  Call
11761         close_and_return_error for other errors.
11763 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11765         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11766         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11767         (SCM_IUCV_TRGCLS): New define.
11769 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11771         [BZ #20005]
11772         * libio/fmemopen.c (fmemopen_write): Update internal position after
11773         write.
11774         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11775         * stdio-common/tst-fmemopen4.c: New file..
11777 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11779         [BZ #19996]
11780         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11781         not [__USE_XOPEN2K].
11782         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11783         variable.
11785         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11786         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11787         variable.
11789         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11790         [__USE_XOPEN2K8].
11791         [__USE_LARGEFILE64] (off64_t): Likewise.
11792         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11793         variable.
11795 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11797         [BZ #19989]
11798         * libio/stdio.h (cuserid): Do not declare if
11799         [__USE_XOPEN2K && !__USE_GNU].
11800         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11801         variable.
11803 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11805         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11806         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11808         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11809         ifunc'ed strcspn.
11810         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11811         [EALIGN]: Removed.
11812         [END]: Likewise
11813         [STRSPN]: Define instead of the above to control symbol name.
11814         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11815         New file.
11816         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11817         Likewise.
11818         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11819         Likewise.
11820         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11821         Likewise.
11822         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11823         [INITIAL_MASK]: New macro.
11824         [STRCSPN]: Likewise.
11825         [UPDATE_MASK]: Likewise.
11826         [USE_AS_STRCSPN]: Likewise.
11828 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11830         [BZ #19931]
11831         * stdio-common/tst-vfprintf-width-prec.c: New file.
11832         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11833         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11834         (generated): Add mtrace-related files.
11835         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11836         (tst-%-mem.out): New pattern rule, replaces
11837         tst-printf-bz18872-mem.out.
11838         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11839         specifier, deallocate any previously allocated work buffer.
11841 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11843         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11844         Add nop before __startcontext, add explaining comments.
11846 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11848         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11849         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11850         completely different API.
11852         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11853         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11854         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11855         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11856         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11857         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11858         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11859         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11860         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11861         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11863 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11865         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11867 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11869         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11870         when it is the default of 0.
11872 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11874         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11875         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11876         (sysdep_routines): Add new strcasestr targets.
11877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11878         (__libc_ifunc_impl_list): Likewise.
11879         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11880         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11881         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11882         * sysdeps/powerpc/powerpc64/power8/Makefile:
11883         New file to add strcasestr-ppc64 to sysdep_routines.
11884         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11885         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11887 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11889         * benchtests/Makefile (wcsmbs-benchset): Include only for
11890         native builds and runs.
11891         (LOCALES): Likewise.
11892         (bench-build): Build timing-type here instead of the bench
11893         target.  Generate locale only for native builds.
11894         * benchtests/README: Add note for cross-building.
11896         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11898         * benchtests/README: Update README to include instructions on
11899         using bench-build.
11901         * Makefile.in (bench-build): New target.
11902         * Rules (PHONY): Add bench-build target.
11903         * benchtests/Makefile (bench): Depend on bench-build.
11904         (bench-build): New target.
11906 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11908         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11909         profil_reply_port.
11910         (profile_waiter): Do not initialize profil_reply_port.
11911         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11912         frequency instead of tick length in us.
11914 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11916         [BZ #18712]
11917         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11918         (__old_mempcpy_small): Likewise.
11919         (__old_strcpy_small): Likewise.
11920         (__old_stpcpy_small): Likewise.
11921         (__old_strpbrk_c2): Fix compat symbol name.
11922         (__old_strpbrk_c3): Likewise.
11923         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11924         (__mempcpy_small): Remove.
11925         (__strcpy_small): Remove.
11926         (__stpcpy_small): Remove.
11928 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11930         [BZ #19400]
11931         * locale/iso-639.def: Add the Talossan/tzl language.
11933 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11935         [BZ #16983]
11936         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11937         comment.  Add "ln" to strchr check on postal_fmt.
11939 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11941         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11942         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11943         tel_dom_fmt.
11945 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11947         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11948         (sysdep_routines): Added __strlen_power8.
11949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11950         __strlen_power8 entry.
11951         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11952         Implementation for POWER8.
11953         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11954         for __strlen_power8.
11955         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11956         Implementation for POWER8.
11958 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11960         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11962 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11964         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11965         Goldmont and Airmont processors.
11967 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11969         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11970         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11971         (__STRING2_SMALL_GET32): Remove.
11972         (memset): Remove.
11973         (__memset_1): Remove.
11974         (__memset_gc): Remove.
11975         (__mempcpy): Remove.
11976         (mempcpy): Remove.
11977         (__mempcpy_args): Remove.
11978         (strchr): Remove.
11979         (strcpy): Remove.
11980         (strcpy_args): Remove.
11981         (__stpcpy_args): Remove.
11982         (__strcmp_cc): Remove.
11983         (__strcmp_gc): Remove.
11984         (strstr): Remove.
11986 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11988         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11989         * nis/nis_call.c (nis_server_cache_add): Likewise.
11991 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11993         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11995 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11997         * malloc/arena.c (__malloc_fork_lock_parent)
11998         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11999         internal_function attribute.
12001 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12003         * stdio-common/printf_fp.c (__printf_fp_l):
12004         Rename ___printf_fp_l to __printf_fp_l and
12005         remove strong alias. Use libc_hidden_def instead
12006         of ldbl_hidden_def macro.
12008 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12010         Remove malloc hooks from fork handler.  They are no longer needed
12011         because malloc runs right before fork, and no malloc calls from
12012         other fork handlers are not possible anymore.
12013         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12014         declarations.
12015         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12016         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12017         (atfork_recursive_cntr): Remove.
12018         (__malloc_fork_lock_parent): Do not override malloc hooks and
12019         thread_arena.
12020         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12021         thread_arena.
12022         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12023         thread_arena instead of save_arena.
12025 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12027         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12028         (thread_atfork, thread_atfork_static): Remove.
12029         * sysdeps/mach/hurd/malloc-machine.h:
12030         (thread_atfork, thread_atfork_static): Remove.
12032 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12034         [BZ #19431]
12035         Run the malloc fork handler as late as possible to avoid deadlocks.
12036         * malloc/malloc-internal.h: New file.
12037         * malloc/malloc.c: Include it.
12038         * malloc/arena.c (ATFORK_MEM): Remove.
12039         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12040         Update comment.
12041         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12042         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12043         Remove outdated comment.
12044         (ptmalloc_init): Do not call thread_atfork.  Remove
12045         thread_atfork_static.
12046         * malloc/tst-malloc-fork-deadlock.c: New file.
12047         * Makefile (tests): Add tst-malloc-fork-deadlock.
12048         (tst-malloc-fork-deadlock): Link against libpthread.
12049         * manual/memory.texi (Aligned Memory Blocks): Update safety
12050         annotation comments.
12051         * sysdeps/nptl/fork.c (__libc_fork): Call
12052         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12053         __malloc_fork_unlock_child.
12054         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12056 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12058         [BZ #19613]
12059         Remove union wait.
12060         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12061         (w_stopsig, w_stopval): Remove.
12062         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12063         stat_loc argument.
12064         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12065         (__WAIT_STATUS_DEFN): Remove.
12066         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12067         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12068         (wait, wait3, wait4): Use int * for the stat_loc argument.
12069         * posix/wait.c (__wait): Likewise.
12070         * posix/wait3.c (__wait3): Likewise.
12071         * posix/wait4.c (__wait4): Likewise.
12072         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12073         (__WAIT_STATUS_DEFN): Remove.
12074         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12075         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12076         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12077         argument.
12078         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12079         * sysdeps/posix/wait3.c (__wait3): Likewise.
12080         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12081         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12082         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12083         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12084         stat_loc argument.
12085         * manual/process.texi (BSD Wait Functions): Remove union wait.
12087 2016-04-13  Andreas Schwab  <schwab@suse.de>
12089         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12090         (test-extras): Add tst-tlsalign-vars.
12091         * math/Makefile: Wrap long lines.
12092         (libm-vec-test-wrappers): Define.
12093         (test-extras): Add $(libm-vec-test-wrappers).
12094         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12095         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12096         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12097         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12098         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12099         (extra-test-objs): Add corresponding objects.
12101 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12103         [BZ #19928]
12104         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12105         New.
12106         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12107         times of shared cache size.
12108         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12109         (VMOVNT): New.
12110         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12111         (VMOVNT): Likewise.
12112         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12113         (VMOVNT): Likewise.
12114         (VMOVU): Changed to movups for smaller code sizes.
12115         (VMOVA): Changed to movaps for smaller code sizes.
12116         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12117         comments.
12118         (PREFETCH): New.
12119         (PREFETCH_SIZE): Likewise.
12120         (PREFETCHED_LOAD_SIZE): Likewise.
12121         (PREFETCH_ONE_SET): Likewise.
12122         Rewrite to use forward and backward loops, which move 4 vector
12123         registers at a time, to support overlapping addresses and use
12124         non temporal store if size is above the threshold and there is
12125         no overlap between destination and source.
12127 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12129         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12130         Include dl-vdso.
12131         * sysdeps/unix/sysv/linux/mips/Versions: Add
12132         __vdso_clock_gettime.
12133         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12134         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12135         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12136         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12137         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12138         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12139         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12140         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12141         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12143 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12145         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12146         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12148         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12149         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12150         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12153         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12154         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12155         syscalls generation.
12156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12157         [__NR_pwrite64] (__NR_write): Remove define.
12158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12159         [__NR_pwrite64] (__NR_write): Remove define.
12160         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12161         Remove define.
12162         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12163         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12164         Remove define.
12165         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12166         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12167         Linux implementation as base.
12168         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12170         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12171         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12176         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12177         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12178         syscall generation.
12179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12180         [__NR_pread64] (__NR_pread): Remove define.
12181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12182         [__NR_pread64] (__NR_pread): Likewise.
12183         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12184         define.
12185         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12186         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12187         Remove define.
12188         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12189         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12190         Linux implementation as base.
12191         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12192         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12193         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12195         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12196         definition.
12197         (__ALIGNMENT_COUNT): Likewise.
12198         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12199         (__ALIGNMENT_COUNT): Likewise.
12200         (SYSCALL_LL): New define.
12201         (SYSCALL_LL64): Likewise.
12202         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12203         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12204         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12205         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12207         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12208         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12209         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12210         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12212         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12214 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12216         [BZ #19865]
12217         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12218         original buffer before retry.
12220 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12222         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12223         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12224         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12225         GLRO(dl_auxv) list.
12226         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12227         including <ldsodefs.h>.
12228         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12230 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12232         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12233         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12234         $(CPPFLAGS).
12236 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12238         [BZ #17950]
12239         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12240         Add -mfpmath=387.
12242 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12244         * sysdeps/i386/configure.ac: Change == to = when calling test.
12245         * sysdeps/x86_64/configure.ac: Likewise.
12246         * sysdeps/i386/configure: Regenerated.
12247         * sysdeps/x86_64/configure: Likewise.
12249 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12251         [BZ #16137]
12252         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12253         * benchtests/bench-strcoll.c (input_files): Likewise.
12254         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12255         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12256         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12258 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12260         [BZ #19929]
12261         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12262         [__USE_XOPEN2K8 && !__USE_GNU].
12263         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12264         variable.
12266         [BZ #19925]
12267         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12268         define if [!__USE_MISC && __USE_XOPEN2K].
12269         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12270         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12271         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12274         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12275         variable.
12276         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12278 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12280         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12281         (sysdep_routines): Add new strspn targets.
12282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12283         (__libc_ifunc_impl_list): Add strspn.
12284         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12285         New file.
12286         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12287         Likewise.
12288         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12289         Likewise.
12290         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12291         Likewise.
12293 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12295         * misc/hsearch_r.c: Include <limits.h>.
12297 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12299         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12301 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12303         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12304         (MEMCPY_SYMBOL): New.
12305         (MEMPCPY_SYMBOL): Likewise.
12306         (MEMMOVE_CHK_SYMBOL): Likewise.
12307         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12308         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12309         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12310         Provide alias for memcpy in libc.a and ld.so.
12312 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12314         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12315         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12316         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12317         Disabled fro now.
12318         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12319         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12321 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12323         * benchtests/Makefile (string-benchset): Add memcpy-large,
12324         memmove-large and memset-large.
12325         * benchtests/bench-memcpy-large.c: New file.
12326         * benchtests/bench-memmove-large.c: Likewise.
12327         * benchtests/bench-memmove-large.c: Likewise.
12328         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12330 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12332         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12333         32-bit displacement to avoid long nop between instructions.
12335 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12337         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12338         a comment on VMOVU and VMOVA.
12340 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12342         [BZ #19633]
12343         Use specified locale for number formatting in strfmon_l.
12344         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12345         (__nl_lookup_word): New inline functions.
12346         * include/printf.h (__print_fp_l): Declare.
12347         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12348         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12349         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12350         (___printf_fp): New function.
12351         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12352         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12353         * stdlib/tst-strfmon_l.c (do_test): New test.
12354         * stdlib/Makefile (tests): Add kt.
12355         (LOCALES): Build additional locales.
12356         (tst-strfmon_l.out): Require locales.
12358 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12360         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12361         if not in libc.
12362         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12363         Likewise.
12364         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12365         Likewise.
12366         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12367         Likewise.
12369 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12371         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12372         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12373         with unaligned_erms.
12374         (__memmove_erms): Skip if source == destination.
12375         (__memmove_unaligned_erms): Don't check source == destination
12376         first.
12378 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12380         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12381         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12383 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12385         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12386         * string/strspn.c (strspn): Likewise.
12388 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12390         * benchtests/bench-memset.c (do_test): Support 64-byte
12391         alignment.
12392         (test_main): Test 64-byte alignment.
12394 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12396         * benchtests/bench-memmove.c (test_main): Test 64-byte
12397         alignment.
12399 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12401         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12403 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12405         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12406         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12407         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12409         * string/strpbrk.c (strpbrk): Rewrite function.
12410         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12411         (__strpbrk_c2): Likewise.
12412         (__strpbrk_c3): Likewise.
12413         * string/string-inlines.c
12414         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12415         Likewise.
12416         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12417         Likewise.
12419         * string/strspn.c (strcspn): Rewrite function.
12420         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12421         (__strspn_c1): Remove inline function.
12422         (__strspn_c2): Likewise.
12423         (__strspn_c3): Likewise.
12424         * string/string-inlines.c
12425         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12426         compatibility symbol.
12427         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12428         Likewise.
12429         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12430         Likewise.
12431         * string/string-inlines.c: Include generic version.
12433 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12434             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12436         * string/Version (libc): Add GLIBC_2.24.
12437         * string/strcspn.c (strcspn): Rewrite function.
12438         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12439         (__strcspn_c1): Remove inline function.
12440         (__strcspn_c2): Likewise.
12441         (__strcspn_c3): Likewise.
12442         * string/string-inline.c
12443         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12444         compatibility symbol.
12445         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12446         Likewise.
12447         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12448         Likewise.
12449         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12451 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12453         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12454         Use ahi instead of aghi to adjust stack pointer.
12456 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12458         [BZ #19853]
12459         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12460         TEST to take significant digits as second parameter.
12461         [TEST]: Redefine in terms of TEST_N taking 30
12462         significant digits.
12463         (do_test): Add test case to demonstrate precision
12464         failure in the ldbl-128ibm printf.
12465         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12466         (__mpn_extract_long_double): Carry 7 extra intermediate
12467         bits of precision to aide computing difference when
12468         signs differ.
12470 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12472         [BZ #19881]
12473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12474         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12475         memset-avx512-unaligned-erms.
12476         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12477         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12478         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12479         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12480         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12481         __memset_sse2_unaligned_erms, __memset_erms,
12482         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12483         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12484         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12485         file.
12486         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12487         Likewise.
12488         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12489         Likewise.
12490         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12491         Likewise.
12493 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12495         [BZ #19776]
12496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12497         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12498         memmove-avx512-unaligned-erms.
12499         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12500         (__libc_ifunc_impl_list): Test
12501         __memmove_chk_avx512_unaligned_2,
12502         __memmove_chk_avx512_unaligned_erms,
12503         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12504         __memmove_chk_sse2_unaligned_2,
12505         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12506         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12507         __memmove_avx512_unaligned_erms, __memmove_erms,
12508         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12509         __memcpy_chk_avx512_unaligned_2,
12510         __memcpy_chk_avx512_unaligned_erms,
12511         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12512         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12513         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12514         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12515         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12516         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12517         __mempcpy_chk_avx512_unaligned_erms,
12518         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12519         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12520         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12521         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12522         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12523         __mempcpy_erms.
12524         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12525         file.
12526         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12527         Likewise.
12528         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12529         Likewise.
12530         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12531         Likewise.
12533 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12535         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12536         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12537         (La_s390_64_regs): Likewise.
12538         (La_s390_32_retval): Append vector register lrv_v24.
12539         (La_s390_64_retval): Likeweise.
12540         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12541         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12542         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12543         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12545 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12547         [BZ #19916]
12548         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12549         to create a non-vector/vector version for _dl_runtime_resolve and
12550         _dl_runtime_profile. Move implementation to ...
12551         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12552         (_dl_runtime_resolve) Save and restore fpr/vrs.
12553         (_dl_runtime_profile) Save and restore vrs and fix some issues
12554         if _dl_call_pltexit is called.
12555         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12556         Choose the correct resolver function if running on a machine with vx.
12557         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12558         to create a non-vector/vector version for _dl_runtime_resolve and
12559         _dl_runtime_profile. Move implementation to ...
12560         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12561         (_dl_runtime_resolve) Save and restore fpr/vrs.
12562         (_dl_runtime_profile) Save and restore vrs and fix some issues
12563         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12564         Choose the correct resolver function if running on a machine with vx.
12566 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12568         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12570 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12572         [BZ #19509]
12573         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12574         skip_map != NULL.
12575         * elf/tst-dlsym-error.c: New file.
12576         * elf/Makefile (tests): Add tst-dlsym-error.
12577         (tst-dlsym-error): Link against libdl.
12579 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12581         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12582         (__ASSUME_FUTIMESAT): Remove macro.
12583         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12585 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12587         [BZ #19879]
12588         CVE-2016-3075
12589         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12590         copy name.
12592 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12594         [BZ #19837]
12595         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12596         error if parse_line fails.
12598 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12600         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12601         (index_cpu_ERMS): Likewise.
12602         (reg_ERMS): Likewise.
12604 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12606         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12607         PER_LINUX_FDPIC): Add.
12609 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12612         memcpy-avx512-no-vzeroupper.
12613         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12614         to ...
12615         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12616         (MEMCPY): Don't define.
12617         (MEMCPY_CHK): Likewise.
12618         (MEMPCPY): Likewise.
12619         (MEMPCPY_CHK): Likewise.
12620         (MEMPCPY_CHK): Renamed to ...
12621         (__mempcpy_chk_avx512_no_vzeroupper): This.
12622         (MEMPCPY_CHK): Renamed to ...
12623         (__mempcpy_chk_avx512_no_vzeroupper): This.
12624         (MEMCPY_CHK): Renamed to ...
12625         (__memmove_chk_avx512_no_vzeroupper): This.
12626         (MEMCPY): Renamed to ...
12627         (__memmove_avx512_no_vzeroupper): This.
12628         (__memcpy_avx512_no_vzeroupper): New alias.
12629         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12631 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12633         [BZ #18858]
12634         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12635         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12636         and mempcpy-avx512-no-vzeroupper.
12637         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12638         New.
12639         (MEMPCPY): Likewise.
12640         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12641         (MEMPCPY_CHK): New.
12642         (MEMPCPY): Likewise.
12643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12644         (MEMPCPY): Likewise.
12645         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12646         (MEMPCPY): Likewise.
12647         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12648         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12649         Likewise.
12650         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12651         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12653 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12654              Amit Pawar  <Amit.Pawar@amd.com>
12656         [BZ #19583]
12657         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12658         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12659         processors.  Set Fast_Copy_Backward for AMD Excavator
12660         processors.
12661         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12662         New.
12663         (index_arch_Fast_Unaligned_Copy): Likewise.
12664         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12665         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12667 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12669         [BZ #19791]
12670         * resolv/res_send.c (close_and_return_error): New function.
12671         (send_dg): Initialize *resplen2 after reopen failure.  Call
12672         close_and_return_error for error returns.  On error paths without
12673         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12674         successful return.
12676 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12678         [BZ# 19860]
12679         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12680         zero if the compiler does not provide the AVX512F bit.
12682 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12684         [BZ #19848]
12685         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12686         from 8 to 4.
12687         (__ieee754_powl): Compare integer exponent against 4 not 8.
12688         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12689         from 8 to 4.
12690         (__ieee754_powl): Compare integer exponent against 4 not 8.
12691         * math/auto-libm-test-in: Add more tests of pow.
12692         * math/auto-libm-test-out: Regenerated.
12693         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12696 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12698         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12699         Make code unconditional.
12700         [!__NR_utimensat]: Remove conditional code.
12701         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12702         Make code unconditional.
12703         [!__NR_utimensat]: Remove conditional code.
12704         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12705         Make code unconditional.
12706         [!__NR_utimensat]: Remove conditional code.
12708 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12710         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12711         Make code unconditional.
12713 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12715         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12716         call-clobbered %eax on retry path.
12717         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12719 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12721         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12722         Don't set %rcx twice before "rep movsb".
12724 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12726         [BZ #19583]
12727         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12728         inline.  Check family before setting family, model and
12729         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12730         bits here.
12731         (init_cpu_features): Replace HAS_CPU_FEATURE and
12732         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12733         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12734         for Intel processors with usable AVX2.  Call get_common_indeces
12735         for other processors with family == NULL.
12736         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12737         (CPU_FEATURES_ARCH_P): Likewise.
12738         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12739         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12741 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12743         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12744         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12745         $(shared-thread-library) instead of hardcoding the path to libpthread.
12747 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12749         * sysdeps/unix/sysv/linux/kernel-features.h
12750         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12751         * sysdeps/unix/sysv/linux/getdents.c
12752         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12753         [!have_no_getdents64_defined]: Likewise.
12754         (__GETDENTS): Remove __have_no_getdents64 conditional.
12756 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12758         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12759         Remove macro.
12760         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12761         <kernel-features.h>.
12762         (signalfd) [__NR_signalfd4]: Make code unconditional.
12763         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12765 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12767         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12768         style.
12770 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12772         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12773         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12774         __pthread_unwind.
12775         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12776         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12777         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12778         (__condvar_cleanup1): Likewise.
12780 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12782         [BZ #19822]
12783         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12784         move it to the final $@ location.
12786 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12788         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12789         access where posix_spawn success and pid argument is null.
12790         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12791         success case.
12793 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12795         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12797         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12799         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12800         and __fcntl.
12801         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12802         __fcntl only.
12803         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12804         adding attribute_hidden to __open and __fcntl.
12806         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12807         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12808         depend on libc-modules.h,
12809         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12811 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12813         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12814         Remove macro.
12815         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12816         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12817         entry.
12819         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12820         Remove macro.
12821         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12822         include <kernel-features.h>.
12823         [!__ASSUME_FALLOCATE]: Remove conditional code.
12824         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12826 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12829         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12831         (_ZGVdN4v_cos_avx2): Likewise.
12832         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12833         (_ZGVdN4v_cos): Likewise.
12834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12835         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12837         (_ZGVdN4v_exp_avx2): Likewise.
12838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12839         (_ZGVdN4v_exp): Likewise.
12840         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12841         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12842         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12843         (_ZGVdN4v_log_avx2): Likewise.
12844         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12845         (_ZGVdN4v_log): Likewise.
12846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12847         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12849         (_ZGVdN4vv_pow_avx2): Likewise.
12850         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12851         (_ZGVdN4vv_pow): Likewise.
12852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12853         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12855         (_ZGVdN4v_sin_avx2): Likewise.
12856         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12857         (_ZGVdN4v_sin): Likewise.
12858         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12859         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12860         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12861         (_ZGVdN4vvv_sincos_avx2): Likewise.
12862         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12863         (_ZGVdN4vvv_sincos): Likewise.
12864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12865         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12867         (_ZGVbN4v_cosf_sse4): Likewise.
12868         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12869         (_ZGVdN8v_cosf_avx2): Likewise.
12870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12871         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12873         (_ZGVbN4v_expf_sse4): Likewise.
12874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12875         (_ZGVdN8v_expf_avx2): Likewise.
12876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12877         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12879         (_ZGVbN4v_logf_sse4): Likewise.
12880         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12881         (_ZGVdN8v_logf_avx2): Likewise.
12882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12883         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12885         (_ZGVbN4vv_powf_sse4): Likewise.
12886         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12887         (_ZGVdN8vv_powf_avx2): Likewise.
12888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12889         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12891         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12892         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12893         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12894         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12895         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12896         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12897         (_ZGVbN4v_sinf_sse4): Likewise.
12898         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12899         (_ZGVdN8v_sinf_avx2): Likewise.
12900         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12901         Use JUMPTARGET to call callee.
12902         (WRAPPER_IMPL_SSE2_ff): Likewise.
12903         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12904         (WRAPPER_IMPL_AVX): Likewise.
12905         (WRAPPER_IMPL_AVX_ff): Likewise.
12906         (WRAPPER_IMPL_AVX_fFF): Likewise.
12907         (WRAPPER_IMPL_AVX512): Likewise.
12908         (WRAPPER_IMPL_AVX512_ff): Likewise.
12909         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12910         Likewise.
12911         (WRAPPER_IMPL_SSE2_ff): Likewise.
12912         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12913         (WRAPPER_IMPL_AVX): Likewise.
12914         (WRAPPER_IMPL_AVX_ff): Likewise.
12915         (WRAPPER_IMPL_AVX_fFF): Likewise.
12916         (WRAPPER_IMPL_AVX512): Likewise.
12917         (WRAPPER_IMPL_AVX512_ff): Likewise.
12918         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12920 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12922         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12923         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12924         qualifier.
12925         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12926         internal_function qualifiers.
12928 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12930         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12931         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12932         * math/atest-exp.c (exp_mpn): Mark chk unused.
12933         * math/atest-exp2.c (exp_mpn): Likewise.
12934         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12935         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12937 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12939         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12940         Remove macro.
12941         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12942         <kernel-features.h>.
12943         [__NR_ppoll]: Make code unconditional.
12944         [!__ASSUME_PPOLL]: Remove conditional code.
12946         * sysdeps/unix/sysv/linux/kernel-features.h
12947         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12948         (__ASSUME_ACCEPT4): Likewise.
12949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12950         Define.
12951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12952         Likewise.
12953         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12954         Likewise.
12955         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12956         Likewise.
12957         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12958         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12959         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12960         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12961         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12964         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12965         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12966         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12967         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12968         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12969         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12970         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12971         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12972         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12973         Likewise.
12974         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12975         Likewise.
12976         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12977         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12978         0x040300].
12979         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12980         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12981         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12982         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12983         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12984         0x030300].
12985         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12986         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12987         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12988         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12989         0x040300].
12990         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12991         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12993         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12994         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12995         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12996         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12997         0x030300].
12998         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12999         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13000         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13002         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13003         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13004         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13005         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13006         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13007         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13008         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13009         0x040300].
13010         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13011         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13012         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13013         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13014         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13015         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13016         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13017         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13018         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13019         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13021         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13022         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13023         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13024         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13025         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13026         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13027         Likewise.
13028         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13029         Likewise.
13031 2016-03-15  Andreas Schwab  <schwab@suse.de>
13033         [BZ #19257]
13034         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13035         statp->_u._ext.nscount as loop count.
13037 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13039         * math/test-signgam-finite-c99.c: Also #undef
13040         __LIBC_INTERNAL_MATH_INLINES.
13041         * math/test-signgam-main.c: Likewise.
13043 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13045         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13046         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13047         (MADV_FREE): Likewise.
13048         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13049         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13050         EPOLLEXCLUSIVE.
13052 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13054         * timezone/README: Remove mention of checktab.awk. Mention wiki
13055         SharedSourceFiles.
13057 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13059         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13060         WUNTRACED.
13062 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13064         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13065         order to match the type of p when calling atomic_exchange_acq().
13067 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13069         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13070         cfi_offset calls.
13071         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13072         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13073         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13074         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13075         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13077 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13079         * timezone/checktab.awk: Removed.
13081 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13083         * manual/math.texi (Errors in Math Functions): Document relaxed
13084         accuracy goals for IBM long double.
13085         * math/libm-test.inc (test_exceptions): Always allow spurious
13086         "underflow" and "inexact" exceptions for IBM long double.
13088 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13090         [BZ #19762]
13091         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13092         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13093         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13094         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13095         (bit_arch_*): This for feature array.
13096         (bit_*): Renamed to ...
13097         (bit_cpu_*): This for cpu array.
13098         (index_*): Renamed to ...
13099         (index_arch_*): This for feature array.
13100         (index_*): Renamed to ...
13101         (index_cpu_*): This for cpu array.
13102         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13103         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13104         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13105         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13106         bit_##name with index_cpu_##name and bit_cpu_##name.
13107         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13108         bit_##name with index_arch_##name and bit_arch_##name.
13110 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13112         [BZ #19792]
13113         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13114         Terminate FDE before return label.
13116 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13118         [BZ #19790]
13119         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13120         (rintl): Define as macro.
13121         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13122         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13123         of fesetround.  Ensure results are evaluated before end of scope.
13124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13125         USE_AS_NEARBYINTL and include s_rintl.c.
13126         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13127         Disable exception traps in new environment.
13128         (libc_feholdsetround_ppc_ctx): Likewise.
13130 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13132         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13133         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13134         (tst_audit10_aux) [__AVX512F__]: ... here.
13136 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13138         * include/sys/auxv.h: New file.
13140 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13142         [BZ #19759]
13143         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13145 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13147         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13148         operand modifier.
13149         (feclearexcept): Likewise.
13151 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13154         to reflect the entire 32-bit HWCAP.
13155         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13156         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13158 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13160         [BZ #19783]
13161         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13162         $(test-via-rtld-prefix).
13163         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13165 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13167         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13168         union wait.  Report any non-zero exit status as error.
13170 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13172         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13173         configured with --enable-hardcoded-path-in-tests.
13175 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13177         [BZ #19677]
13178         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13179         (__ieee754_remainderl): Put zero low parts in canonical form.
13180         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13181         file.  Based on
13182         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13183         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13184         with wrapper round test-fmodrem-ldbl-128ibm.c.
13185         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13186         file.
13187         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13188         Likewise.
13189         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13190         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13192 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13194         [BZ #19610]
13195         * elf/ldconfig.c (opt_link): Update comment.
13196         (options): Update help string for option -X.
13197         (search_dir): Unlink stale symbolic link only if updating symbolic
13198         links.
13199         * elf/tst-ldconfig-X.sh: New file.
13200         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13201         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13203 2016-03-07  Andreas Schwab  <schwab@suse.de>
13205         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13206         needed arguments.
13208 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13210         [BZ #15333]
13211         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13212         to lstat64.
13214 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13216         * libio/filedoalloc.c (isatty): Remove.
13217         (local_isatty): Add comment.  Call __isatty directly.
13218         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13219         * libio/wfiledoalloc.c (isatty): Remove.
13220         (_IO_wfile_doallocate): Update comment.
13222 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13224         [BZ #19269]
13225         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13226         tst-audit4-aux.o.
13227         (tst-audit10): Depend on tst-audit10-aux.o.
13228         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13229         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13230         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13231         instead of inline AVX code.
13232         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13233         instead of inline AVX512 code.
13234         * sysdeps/x86_64/tst-audit4-aux.c: New file
13235         * sysdeps/x86_64/tst-audit10-aux.c: New file
13237         [BZ #19648]
13238         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13240 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13242         [BZ #14750]
13243         [BZ #10354]
13244         [BZ #18433]
13245         * include/sched.h (__clone): Add hidden prototype.
13246         (__clone2): Likewise.
13247         * include/unistd.h (__dup): Likewise.
13248         * posix/Makefile (tests): Add tst-spawn2.
13249         * posix/tst-spawn2.c: New file.
13250         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13251         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13252         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13253         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13254         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13255         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13256         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13257         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13258         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13259         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13260         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13262         Likewise.
13263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13264         Likewise.
13265         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13266         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13267         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13268         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13269         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13270         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13271         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13272         * sysdeps/unix/sysv/linux/nptl-signals.h
13273         (____nptl_is_internal_signal): New function.
13274         * sysdeps/unix/sysv/linux/spawni.c: New file.
13276         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13277         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13278         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13279         * posix/tst-execvp2.c (do_test): Likewise.
13280         * posix/tst-execvp3.c (do_test): Likewise.
13281         * posix/tst-execvp4.c (do_test): Likewise.
13282         * posix/tst-execvpe1.c: New file.
13283         * posix/tst-execvpe2.c: Likewise.
13284         * posix/tst-execvpe3.c: Likewise.
13285         * posix/tst-execvpe4.c: Likewise.
13286         * posix/tst-execvpe5.c: Likewise.
13287         * posix/tst-execvpe6.c: Likewise.
13289         [BZ #19534]
13290         * posix/execl.c (execl): Remove dynamic memory allocation.
13291         * posix/execle.c (execle): Likewise.
13292         * posix/execlp.c (execlp): Likewise.
13294 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13296         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13297         Replace .text with .text.avx512.
13298         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13299         Likewise.
13301 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13303         * sysdeps/generic/libnsl.abilist: New file.
13304         * sysdeps/generic/libutil.abilist: New file.
13306 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13308         [BZ #19762]
13309         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13310         HAS_ARCH_FEATURE with Fast_Rep_String.
13311         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13312         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13313         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13314         Likewise.
13315         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13316         Likewise.
13317         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13318         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13319         Likewise.
13320         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13321         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13322         Likewise.
13324 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13326         [BZ #19745]
13327         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13328         with *%rax in call.
13330 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13332         [BZ #19745]
13333         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13334         with *__libc_start_main@GOTPCREL(%rip) in call.
13336 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13338         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13339         inside conditional for nonempty $(CXX).
13341         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13342         nonempty.
13344         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13345         to test for empty $(CXX) rather than $(CXX) of "no".
13347 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13349         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13351 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13352             H.J. Lu  <hongjiu.lu@intel.com>
13354         [BZ #18880]
13355         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13356         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13357         enable __memcpy_ssse3_back.
13359 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13361         [BZ #19758]
13362         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13363         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13365 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13367         [BZ #19490]
13368         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13369         (__fentry__): Likewise.
13371 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13373         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13374         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13376 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13378         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13379         __mcount_internal directly.
13380         (C_LABEL(__fentry__)): Likewise.
13381         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13382         directly.
13384 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13386         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13387         (__start_context): Call __setcontext directly.
13389 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13392         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13393         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13394         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13395         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13396         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13397         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13398         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13399         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13400         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13401         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13402         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13403         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13404         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13405         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13406         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13407         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13408         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13409         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13410         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13411         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13412         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13413         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13414         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13415         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13416         Remove conditional code.
13417         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13418         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13419         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13420         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13421         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13422         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13423         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13424         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13425         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13426         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13427         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13428         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13430 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13432         * NEWS (2.23): Fix typo in bug 19048 text.
13434 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13436         [BZ #14259]
13437         * Makeconfig: Rename msgcatdir to localedir.
13438         Rename inst_msgcatdir to inst_localedir.
13439         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13440         * config.make.in: Add localedir.
13441         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13442         (ldd-rewrite): Likewise.
13443         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13444         (install-others): Use inst_localedir.
13445         (CPPFLAGS): Use localedir.
13446         * locale/Makefile (locale-CPPFLAGS): Likewise.
13447         * po/Makefile (mo-installed): Use inst_localedir.
13449         [BZ #19575]
13450         * localedata/charmaps/GB18030: Update comments regarding PAU to
13451         non-PUA mappings.
13453 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13455         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13456         test for header.
13457         * sysdeps/unix/sysv/linux/configure: Regenerated.
13458         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13459         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13460         Remove conditional code.
13461         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13463         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13464         Define to 3.2.0.
13465         (arch_minimum_kernel): Likewise.
13466         * sysdeps/unix/sysv/linux/configure: Regenerated.
13467         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13468         Define to 2.6.32.
13469         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13470         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13471         (arch_minimum_kernel): Define to 2.6.32.
13472         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13473         * README: Document Linux 3.2 requirement.
13474         * manual/install.texi (Linux): Document Linux 3.2 headers
13475         requirement.
13476         * INSTALL: Regenerated.
13478 2016-02-24  Andreas Schwab  <schwab@suse.de>
13480         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13481         if !NO_LONG_DOUBLE.
13483 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13485         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13486         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13488 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13490         [BZ #19512]
13491         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13493 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13495         * posix/tst-dir.c: Include libc-internal.h.
13497 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13499         [BZ #19056]
13500         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13501         * manual/filesys.texi (Reading/Closing Directory): Mention
13502         deprecaion.
13503         * posix/tst-dir.c (main): Disable deprecation warning in test.
13505 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13507         [BZ #19679]
13508         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13509         Renamed to ...
13510         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13511         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13512         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13513         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13514         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13515         * sysdeps/x86_64/dl-trampoline.h
13516         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13517         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13519 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13521         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13523 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13525         * elf/elf.h (R_386_GOT32X): New.
13526         (R_386_NUM): Update.
13527         (R_X86_64_GOTPCRELX: New.
13528         (R_X86_64_REX_GOTPCRELX): New.
13529         (R_X86_64_NUM): Update.
13531 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13533         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13535 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13537         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13538         assign attr->stackaddr to it, and adjust it down when
13539         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13540         [_STACK_GROWS_UP]: Delete assert.
13541         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13542         Implement stack grows up logic.
13543         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13544         stack grows up logic.
13546 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13548         * NEWS: Update with 2.24 template.
13550 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13552         [BZ #19678]
13553         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13554         Ensure +0.0 is returned when taking the next value below the least
13555         positive value.
13557 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13559         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13560         available.  Do not define NO_THREADS.
13561         * malloc/malloc.c: Do not check NO_THREADS.
13562         * malloc/arena.c: Likewise.
13564 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13566         * malloc/malloc.c (__libc_mallinfo): Update comment.
13567         (struct malloc_par): Remove max_total_mem member, it was always 0.
13568         (int_mallinfo): Store 0 into usmblks (no functional change).
13569         * malloc/hooks.c (struct malloc_state): Document that
13570         max_total_mem is always 0.
13571         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13572         always 0.
13573         * manual/memory.texi (Statistics of Malloc): Likewise.
13575 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13577         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13578         * malloc/arena.c (arena_max): Remove.
13579         (heap_trim, _int_new_arena): Do not update arena_max.
13581 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13583         * resolv/res_init.c (res_ninit): Update comment.
13585 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13587         [BZ #19505]
13588         * posix/spawn_int.h: Add headers and include guard.
13589         (__spawn_valid_fd): New function.
13590         * posix/spawn_faction_addopen.c
13591         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13592         * posix/spawn_faction_addclose.c
13593         (posix_spawn_file_actions_addclose): Likewise.
13594         * posix/spawn_faction_adddup2.c
13595         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13596         second file descriptor.
13597         * posix/spawn_valid_fd.c: New file.
13598         * posix/tst-posix_spawn-fd.c: New file.
13599         * posix/Makefile (routines): Add spawn_valid_fd.
13600         (tests): Add tst-posix_spawn-fd.
13602 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13604         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13605         (do_test): Limit the number of arenas, so that we can use fewer
13606         outer threads.  Limit timeout to 3 seconds, in preparation for a
13607         larger TIMEOUT value.
13609 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13611         [BZ #19674]
13612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13613         sign in overflowing and underflowing results when overflow or
13614         underflow is detected early.  Include sign in result before rather
13615         than after scaling.
13617         [BZ #19603]
13618         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13619         (__ieee754_remainderl): Adjust sign of integer version of low part
13620         when taking absolute value of high part.
13621         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13622         * math/libm-test.inc (remainder_test_data): Add another test.
13623         (remquo_test_data): Likewise.
13625 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #19602]
13628         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13629         equal high parts and both low parts zero specially.
13630         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13631         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13632         Add test-fmodl-ldbl-128ibm.
13634         [BZ #19595]
13635         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13636         common logic for all cases of shifting subnormal results.  Do not
13637         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13638         exponent to ldbl_insert_mantissa in subnormal case.
13640         [BZ #19594]
13641         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13642         on high and low parts then adjust result and use
13643         ldbl_canonicalize_int if needed.
13645         [BZ #19593]
13646         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13647         on high part and __floor or __ceil on low part then use
13648         ldbl_canonicalize_int if needed.
13650         [BZ #19592]
13651         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13652         high and low parts then use ldbl_canonicalize_int if needed.
13654         [BZ #17899]
13655         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13656         New function.
13657         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13658         on high and low parts then use ldbl_canonicalize_int if needed.
13660 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13662         * configure: Regenerated.
13664         * po/libc.pot: Regenerated.
13666         * po/be.po: Updated translation.
13667         * po/bg.po: Likewise.
13668         * po/ca.po: Likewise.
13669         * po/cs.po: Likewise.
13670         * po/da.po: Likewise.
13671         * po/el.po: Likewise.
13672         * po/eo.po: Likewise.
13673         * po/es.po: Likewise.
13674         * po/fi.po: Likewise.
13675         * po/fr.po: Likewise.
13676         * po/gl.po: Likewise.
13677         * po/hr.po: Likewise.
13678         * po/hu.po: Likewise.
13679         * po/ia.po: Likewise.
13680         * po/id.po: Likewise.
13681         * po/it.po: Likewise.
13682         * po/ja.po: Likewise.
13683         * po/lt.po: Likewise.
13684         * po/nb.po: Likewise.
13685         * po/nl.po: Likewise.
13686         * po/pt_BR.po: Likewise.
13687         * po/rw.po: Likewise.
13688         * po/sk.po: Likewise.
13689         * po/sl.po: Likewise.
13690         * po/sv.po: Likewise.
13691         * po/tr.po: Likewise.
13692         * po/zh_CN.po: Likewise.
13693         * po/zh_TW.po: Likewise.
13695         * version.h (RELEAES): Set to "development".
13696         (VERSION): Set to 2.23.90.
13698         * version.h (RELEASE): Set to "stable".
13699         (VERSION): Set to 2.23.
13700         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13702         * NEWS: Updated fixed bugs.
13704 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13705             Wilco Dijkstra  <wdijkstr@arm.com>
13707         [BZ #19462]
13708         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13709         (_STRING_INLINE_unaligned): This.
13710         * include/string.h: Include <string_private.h>.
13711         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13712         _STRING_INLINE_unaligned.
13713         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13714         (_STRING_INLINE_unaligned): New.
13715         * sysdeps/aarch64/string_private.h: New file.
13716         * sysdeps/generic/string_private.h: Likewise.
13717         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13718         * sysdeps/s390/string_private.h: Likewise.
13719         * sysdeps/x86/string_private.h: Likewise.
13720         * sysdeps/m68k/m680x0/m68020/bits/string.h
13721         (_STRING_ARCH_unaligned): Renamed to ...
13722         (_STRING_INLINE_unaligned): This.
13723         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13724         to ...
13725         (_STRING_INLINE_unaligned): This.
13726         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13727         to ...
13728         (_STRING_INLINE_unaligned): This.
13729         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13730         to ...
13731         (_STRING_INLINE_unaligned): This.
13733 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13734             H.J. Lu  <hongjiu.lu@intel.com>
13736         [BZ #19590]
13737         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13738         relocation.
13740 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13742         [BZ #18665]
13743         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13744         *herrno_p.
13745         (gaih_getanswer): Document functional behviour. Return tryagain
13746         if any result is tryagain.
13747         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13748         when freed.
13749         * resolv/res_send.c: Add copyright text.
13750         (__libc_res_nsend): Document that MAXPACKET is expected.
13751         (send_vc): Document. Remove buffer reuse.
13752         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13753         size of the buffer. Add Dprint for truncated UDP buffer.
13755 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13757         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13758         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13759         * INSTALL: Regenerate.
13761 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13762             Jonathan Wakely  <jwakely@redhat.com>
13763             Carlos O'Donell  <carlos@redhat.com>
13765         [BZ 19439]
13766         * math/Makefile (tests): Add test-math-isinff.
13767         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13768         * math/bits/mathcalls.h [__USE_MISC]: Use
13769         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13770         functions not in C++11 and which don't conflict e.g. isinff,
13771         isinfl etc.
13772         * math/test-math-isinff.cc: New file.
13774 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13776         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13778 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13780         [BZ #19529]
13781         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13783 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13785         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13787 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13789         [BZ #19550]
13790         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13791         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13792         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13793         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13794         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13795         New syscall entry.
13796         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13797         New syscall entry.
13798         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13799         syscall entry.
13801 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13803         [BZ #18240]
13804         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13805         unsigned int wraparound.
13807 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13809         [BZ #18240]
13810         * misc/bug18240.c: New test.
13811         * misc/Makefile (tests): Add it.
13813 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13814             Joseph Myers  <joseph@codesourcery.com>
13816         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13817         load in branch delay slot when less than a word of input left.
13819 2016-01-27  Andreas Schwab  <schwab@suse.de>
13821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13823         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13824         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13826 2016-01-26  David S. Miller  <davem@davemloft.net>
13828         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13830 2016-01-25  David S. Miller  <davem@davemloft.net>
13832         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13833         __sqrtl_finite.
13834         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13835         instead using versioned_symbol.
13836         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13837         of entries.
13839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13840         __sqrtl_finite to GLIBC_2.23
13842 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13844         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13846 2016-01-25  Andreas Schwab  <schwab@suse.de>
13848         [BZ #17514]
13849         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13850         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13851         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13852         * nptl/tst-mutex-errorcheck.c: New file.
13854 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13856         [BZ #18560]
13857         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13858         (IPCOP_semop): Likewise.
13859         (IPCOP_semget): Likewise.
13860         (IPCOP_semctl): Likewise.
13861         (IPCOP_msgsnd): Likewise.
13862         (IPCOP_msgrcv): Likewise.
13863         (IPCOP_msgget): Likewise.
13864         (IPCOP_msgctl): Likewise.
13865         (IPCOP_shmat): Likewise.
13866         (IPCOP_shmdt): Likewise.
13867         (IPCOP_shmget): Likewise.
13868         (IPCOP_shmctl): Likewise.
13870 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13872         * string/tst-endian.c: Include <libc-internal.h>.
13873         (do_test): Ignore tautological-compare warnings around
13874         "htobeXX (beXXtoh (i)) != i" and
13875         "htoleXX (leXXtoh (i)) != i" if-statements.
13877 2016-01-24  David S. Miller  <davem@davemloft.net>
13879         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13880         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13881         alias.
13882         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13883         __sqrtl_finite.
13885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13887 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13889         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13890         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13891         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13893 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13895         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13896         (thread_func): Use new function to simplify barrier check.
13897         (do_test): Use new function to simplify checking barrier exit
13898         code, and actually join the child thread.
13900 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13902         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13903         semicolon.
13904         (__libc_tend): Likewise.
13905         (__libc_tabort): Likewise.
13907 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13909         * sysdeps/nios2/libm-test-ulps: Update.
13910         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13911         (__gtsf2): Likewise.
13912         (__unorddf2): Likewise.
13913         (__unordsf2): Likewise.
13914         (__ledf2): Likewise.
13916 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13918         * nis/nis_table.c (__follow_path): Disable diagnostic for
13919         uninitialized variable that is a false positive for gcc 4.7.
13920         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13922 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13924         * sysdeps/nacl/lowlevellock-futex.h
13925         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13926         Always evaluate PRIVATE argument.
13928 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13930         [BZ #19490]
13931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13932         (pthread_cond_broadcast): Use ENTRY/END
13933         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13934         (pthread_cond_signal): Likewise.
13935         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13936         Likewise.
13937         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13938         Likewise.
13939         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13940         Likewise.
13942 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13944         * sysdeps/ieee754/dbl-64/s_finite.c
13945         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13946         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13947         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13948         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13949         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13952         (__gtsf2): Add as optional for libc.so.
13953         (__unordsf2): Likewise.
13954         (__signbit): Remove for libc.so.
13955         (__signbitl): Likewise.
13957 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13959         * iconvdata/bug-iconv11.c (test_ibm93x):
13960         Use %zu printf format specifier for size_t argument.
13962 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13964         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13965         already-recorded ulps.
13966         * sysdeps/arm/libm-test-ulps: Regenerated.
13967         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13968         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13969         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13971 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13972             Paul Pluzhnikov  <ppluzhnikov@google.com>
13974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13975         assembler not supporting AVX-512.
13977 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13979         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13981 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13983         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13984         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13986         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13988         * sysdeps/arm/libm-test-ulps: Regenerated.
13990 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13992         [BZ #19451]
13993         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13995 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13997         [BZ #19486]
13998         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13999         * sysdeps/generic/fix-fp-int-convert-overflow.h
14000         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14001         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14002         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14003         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14004         Likewise.
14005         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14006         Avoid conversions to long int where inexact exceptions
14007         could be raised.
14008         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14009         Likewise.
14010         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14011         Avoid conversions to long long int where inexact exceptions
14012         could be raised.
14013         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14014         Likewise.
14016 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14018         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14019         * configure: Regenerated.
14021 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14023         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14025 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14027         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14028         outside of comment.
14030 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14032         * nptl/tst-barrier1.c: Add description on first line.
14033         * nptl/tst-barrier2.c: Likewise.
14034         * nptl/tst-barrier3.c: Likewise.
14035         * nptl/tst-barrier4.c: Likewise.
14036         * nptl/tst-barrier5.c: Likewise.
14038 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14040         [BZ #18868]
14041         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14043 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14047         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14048         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14049         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14050         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14051         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14057 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14059         [BZ #13065]
14060         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14061         new implementation.
14062         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14063         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14064         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14065         (BARRIER_IN_THRESHOLD): New macro.
14066         * nptl/pthread_barrierattr_setpshared.c
14067         (pthread_barrierattr_setpshared): Clean up.
14068         * nptl/tst-barrier4.c: Correct comment.
14069         * nptl/tst-barrier5.c: New file.
14070         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14071         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14072         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14073         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14074         * nptl/lowlevelbarrier.sym: Remove.
14075         * nptl/DESIGN-barrier.txt: Remove.
14076         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14077         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14078         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14079         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14080         error.
14081         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14082         implementation.
14084 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14086         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14087         (do_child): Mask SIGRTMIN while thr is running.
14089 2016-01-15  Martin Sebor  <msebor@redhat.com>
14091         [BZ #19432]
14092         * iconvdata/Makefile: Add bug-iconv11.
14093         * iconvdata/bug-iconv11.c: New test.
14094         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14095         * iconvdata/ibm933.c: Same.
14096         * iconvdata/ibm935.c: Same.
14097         * iconvdata/ibm937.c: Same.
14098         * iconvdata/ibm939.c: Same.
14100 2016-01-15  Martin Sebor  <msebor@redhat.com>
14102         [BZ #19443]
14103         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14104         [DEBUG] (_ufc_set_bits): Declare used.
14105         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14106         [DEBUG] (print_all): Declare used.
14107         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14108         operands of the ternary ?: expression to target type.
14109         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14110         calling the undeclared abort.
14111         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14113 2016-01-15  Martin Sebor  <msebor@redhat.com>
14115         [BZ #18755]
14116         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14117         warnings.
14118         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14119         (__gai_create_helper_thread): Same.
14120         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14121         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14122         to suppress -Wmaybe-uninitialized warnings.
14124 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14126         [BZ #19465]
14127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14128         inside if.
14129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14130         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14131         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14133 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14135         [BZ #19466]
14136         * time/tst-mktime2.c (time_t_max): Removed.
14137         (time_t_min): Likewise.
14138         (TYPE_SIGNED): New.
14139         (TYPE_MINIMUM): Likewise.
14140         (TYPE_MAXIMUM): Likewise.
14141         (TIME_T_MIN): Likewise.
14142         (TIME_T_MAX): Likewise.
14143         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14144         and TIME_T_MIN.
14145         (do_test): Likewise.
14147 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14149         [BZ #19467]
14150         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14151         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14153 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14155         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14157 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14159         * benchtests/Makefile (PYTHON): Define.
14160         (bench-func): Use $(PYTHON) to run python scripts.
14161         ($(objpfx)bench-%.c): Likewise.
14163 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14165         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14166         leading slash when `file_name' is "/".
14168 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14170         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14171         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14174         Likewise.
14175         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14176         Likewise.
14177         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14178         enum constant and macro.
14179         (PTRACE_SETSIGMASK): Likewise.
14180         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14181         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14182         (PTRACE_GETSIGMASK): Likewise.
14183         (PTRACE_SETSIGMASK): Likewise.
14184         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14185         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14186         Likewise.
14187         (PTRACE_SETSIGMASK): Likewise.
14188         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14189         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14190         (PTRACE_GETSIGMASK): Likewise.
14191         (PTRACE_SETSIGMASK): Likewise.
14192         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14193         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14194         Likewise.
14195         (PTRACE_SETSIGMASK): Likewise.
14196         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14197         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14198         Likewise.
14199         (PTRACE_SETSIGMASK): Likewise.
14200         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14201         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14202         Likewise.
14203         (PTRACE_SETSIGMASK): Likewise.
14204         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14206 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14207             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14209         [BZ #19439]
14210         * math/bits/mathcalls.h
14211         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14212         prototype.
14213         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14215 2016-01-11  Andreas Schwab  <schwab@suse.de>
14217         [BZ #19253]
14218         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14219         cache when TZDEFRULES was used.
14220         * time/tst-tzname.c: New file.
14221         * time/Makefile (test): Add tst-tzname.
14222         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14223         * timezone/Makefile (test-zones): Add $(posixrules-file).
14224         ($(testdata)/$(posixrules-file)): New rule.
14226 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14228         Fix doc quoting problems with Texinfo 5
14229         Without this change, in the info file output, Texinfo 5 quotes code
14230         in text with undirected single quotes 'like this' and generates
14231         code examples that with many PDF readers cannot be cut out of PDFs
14232         and pasted into code.
14233         * manual/libc.texinfo: Configure the libc manual like the GNU
14234         Emacs manual, by using @documentencoding and setting
14235         txicodequoteundirected and txicodequotebacktick.  This way,
14236         Texinfo 5 quotes code in text with directed single quotes ‘like
14237         this’ and produces examples that can be cut out of PDFs.  This
14238         change causes Texinfo 5 to generate info files that contain UTF-8
14239         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14240         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14242 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14244         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14245         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14246         barriers to their respective compiler built-ins.
14247         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14248         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14249         * sysdeps/powerpc/sysdep.h: Likewise.
14250         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14251         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14252         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14254 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14256         * scripts/config.guess: Revert previous shebang change.
14257         * scripts/config.sub: Likewise.
14258         * scripts/mkinstalldirs: Likewise.
14260 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14262         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14263         PPC_FEATURE2_HAS_IEEE128.
14264         * sysdeps/powerpc/dl-procinfo.c:
14265         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14267 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14269         [BZ #19415]
14270         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14271         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14272         (_dl_lookup_address): Rewrite using function resolver trampoline.
14273         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14274         two bits in address.
14276 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14278         * longlong.h: Change !__SHMEDIA__ to
14279         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14280         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14282 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14283             Joseph Myers  <joseph@codesourcery.com>
14284             Mark Shinwell  <shinwell@codesourcery.com>
14285             Andrew Stubbs  <ams@codesourcery.com>
14286             Rich Felker <dalias@libc.org>
14288         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14290 2016-01-07  Richard Henderson  <rth@redhat.com>
14292         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14294 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14296         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14297         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14298         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14299         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14300         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14302 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14303             Joseph Myers  <joseph@codesourcery.com>
14305         * timezone/private.h: Update from tzcode 2015g.
14306         * timezone/tzfile.h: Likewise.
14307         * timezone/tzselect.ksh: Likewise.
14308         * timezone/zdump.c: Likewise.
14309         * timezone/zic.c: Likewise.
14310         * timezone/ialloc.c: Remove file.
14311         * timezone/scheck.c: Likewise.
14312         * timezone/Makefile (extra-objs): Remove variable.
14313         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14314         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14315         -Wno-maybe-uninitialized.
14316         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14317         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14318         (CFLAGS-ialloc.c): Remove variable.
14319         (CFLAGS-scheck.c): Likewise.
14320         * timezone/README: Update list of files from tzcode.
14322 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14324         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14325         instead of __fxprintf when _LIBC is undefined.
14327 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14329         * catgets/test-gencat.sh: Remove space after shebang.
14330         * conform/GlibcConform.pm: Likewise.
14331         * conform/check-header-lists.sh: Likewise.
14332         * conform/conformtest.pl: Likewise.
14333         * conform/linknamespace.pl: Likewise.
14334         * conform/list-header-symbols.pl: Likewise.
14335         * debug/catchsegv.sh: Likewise.
14336         * elf/genrtldtbl.awk: Likewise.
14337         * elf/tst-pathopt.sh: Likewise.
14338         * elf/tst-rtld-load-self.sh: Likewise.
14339         * grp/tst_fgetgrent.sh: Likewise.
14340         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14341         * iconvdata/gen-8bit-gap.sh: Likewise.
14342         * iconvdata/gen-8bit.sh: Likewise.
14343         * iconvdata/run-iconv-test.sh: Likewise.
14344         * intl/tst-gettext.sh: Likewise.
14345         * intl/tst-gettext2.sh: Likewise.
14346         * intl/tst-gettext4.sh: Likewise.
14347         * intl/tst-gettext6.sh: Likewise.
14348         * intl/tst-translit.sh: Likewise.
14349         * io/ftwtest-sh: Likewise.
14350         * libio/test-freopen.sh: Likewise.
14351         * locale/gen-translit.pl: Likewise.
14352         * malloc/tst-mtrace.sh: Likewise.
14353         * manual/check-safety.sh: Likewise.
14354         * manual/libc-texinfo.sh: Likewise.
14355         * manual/tsort.awk: Likewise.
14356         * manual/xtract-typefun.awk: Likewise.
14357         * nptl/tst-cancel-wrappers.sh: Likewise.
14358         * nptl/tst-tls6.sh: Likewise.
14359         * posix/globtest.sh: Likewise.
14360         * posix/tst-getconf.sh: Likewise.
14361         * posix/wordexp-tst.sh: Likewise.
14362         * scripts/check-c++-types.sh: Likewise.
14363         * scripts/check-local-headers.sh: Likewise.
14364         * scripts/config.guess: Likewise.
14365         * scripts/config.sub: Likewise.
14366         * scripts/cpp: Likewise.
14367         * scripts/cross-test-ssh.sh: Likewise.
14368         * scripts/documented.sh: Likewise.
14369         * scripts/evaluate-test.sh: Likewise.
14370         * scripts/gen-libc-abis: Likewise.
14371         * scripts/gen-sorted.awk: Likewise.
14372         * scripts/list-fixed-bugs.py: Likewise.
14373         * scripts/merge-test-results.sh: Likewise.
14374         * scripts/mkinstalldirs: Likewise.
14375         * scripts/rellns-sh: Likewise.
14376         * scripts/test-installation.pl: Likewise.
14377         * scripts/update-copyrights: Likewise.
14378         * stdio-common/tst-printf.sh: Likewise.
14379         * stdio-common/tst-unbputc.sh: Likewise.
14380         * stdlib/tst-fmtmsg.sh: Likewise.
14381         * stdlib/tst-setcontext3.sh: Likewise.
14382         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14383         * sysdeps/unix/make-syscalls.sh: Likewise.
14385 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14387         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14388         asm stw with atomic_exchange_rel.  Add explanatory comment.
14389         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14390         Likewise.
14392 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14394         [BZ #19122]
14395         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14396         * sysdeps/generic/dl-unistd.h: New file.
14397         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14399 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14401          [BZ #19122]
14402          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14403          * sysdeps/generic/dl-mman.h: New file.
14404          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14406 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14408         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14409         trailing whitespace removed.
14410         * scripts/config.guess: Update to version 2016-01-01.
14411         * scripts/config.sub: Update to version 2016-01-01.
14412         * scripts/move-if-change: Update from gnulib.
14414 2016-01-04  Anton Blanchard  <anton@samba.org>
14416         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14417         for array indices.
14418         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14420 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14422         * NEWS: Update copyright dates.
14423         * catgets/gencat.c (print_version): Likewise.
14424         * csu/version.c (banner): Likewise.
14425         * debug/catchsegv.sh: Likewise.
14426         * debug/pcprofiledump.c (print_version): Likewise.
14427         * debug/xtrace.sh (do_version): Likewise.
14428         * elf/ldconfig.c (print_version): Likewise.
14429         * elf/ldd.bash.in: Likewise.
14430         * elf/pldd.c (print_version): Likewise.
14431         * elf/sotruss.sh: Likewise.
14432         * elf/sprof.c (print_version): Likewise.
14433         * iconv/iconv_prog.c (print_version): Likewise.
14434         * iconv/iconvconfig.c (print_version): Likewise.
14435         * locale/programs/locale.c (print_version): Likewise.
14436         * locale/programs/localedef.c (print_version): Likewise.
14437         * login/programs/pt_chown.c (print_version): Likewise.
14438         * malloc/memusage.sh (do_version): Likewise.
14439         * malloc/memusagestat.c (print_version): Likewise.
14440         * malloc/mtrace.pl: Likewise.
14441         * manual/libc.texinfo: Likewise.
14442         * nptl/version.c (banner): Likewise.
14443         * nscd/nscd.c (print_version): Likewise.
14444         * nss/getent.c (print_version): Likewise.
14445         * nss/makedb.c (print_version): Likewise.
14446         * posix/getconf.c (main): Likewise.
14447         * scripts/test-installation.pl: Likewise.
14448         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14450         * All files with FSF copyright notices: Update copyright dates
14451         using scripts/update-copyrights.
14452         * intl/plural.c: Regenerated.
14453         * locale/programs/charmap-kw.h: Likewise.
14454         * locale/programs/locfile-kw.h: Likewise.
14456 2016-01-02  Helge Deller  <deller@gmx.de>
14458         [BZ #19285]
14459         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14460         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14461         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14462         (MADV_xxK_PAGES): Remove.
14464 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14466         [BZ #15421]
14467         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14468         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14469         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14470         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14472 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14474         [BZ #19408]
14475         * sysdeps/unix/sysv/linux/personality.c: New file.
14476         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14477         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14478         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14479         (sysdep_routines): Add personality.
14480         (tests): Add tst-personality.
14481         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14483         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14484         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14485         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14486         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14487         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14488         Likewise.
14489         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14490         Likewise.
14491         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14492         Likewise.
14493         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14494         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14495         Likewise.
14497 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14499         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14500         (PATH_ARM_SYSTYPE): Remove.
14501         (PATH_CPUINFO): Likewise.
14502         (IO_BASE_FOOTBRIDGE): Likewise.
14503         (IO_SHIFT_FOOTBRIDGE): Likewise.
14504         (struct platform): Likewise.
14505         (init_iosys): Remove compatibility code for 2.4 kernels.
14506         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14508 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14510         * malloc/tst-malloc-thread-fail.c: New file.
14511         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14512         (tst-malloc-thread-fail): Link against libpthread.
14514 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14516         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14517         (get_parser): New function.
14518         (main): New function.
14520 2015-12-29  Rob Wu  <rob@robwu.nl>
14522         [BZ #19369]
14523         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14525 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14527         [BZ #19270]
14528         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14530 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14532         [BZ #15421]
14533         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14535 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14537         [BZ #13690]
14538         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14539         after releasing it.
14540         (__lll_robust_unlock): Likewise.
14541         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14542         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14543         (lll_robust_unlock): Likewise.
14544         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14545         Prevent warnings in callers.
14547 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14549         * malloc/arena.c (list_lock): Update comment.
14551 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14553         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14554         __parse_hwcap_and_convert_at_platform to libc.a.
14556 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14558         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14559         platform and feature support for POWER9.
14560         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14561         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14562         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14563         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14564         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14565         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14566         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14567         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14569 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14571         Harmonize generic stdio-lock support with nptl
14573         This fixes build when _IO_funlockfile is a macro, fixes build where
14574         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14575         stack unwind.
14577         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14578         _IO_release_lock ): Use cleanup attribute on new
14579         _IO_acquire_lock_file variable instead of assuming that
14580         _IO_release_lock will be called.
14581         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14582         _IO_acquire_lock_needs_exceptions_enabled.
14583         (_IO_acquire_lock_clear_flags2): New macro.
14585 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14587         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14589 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14591         [BZ #19182]
14592         * malloc/arena.c (list_lock): Document lock ordering requirements.
14593         (free_list_lock): New lock.
14594         (ptmalloc_lock_all): Comment on free_list_lock.
14595         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14596         (detach_arena): Update comment.  free_list_lock is now needed.
14597         (_int_new_arena): Use free_list_lock around detach_arena call.
14598         Acquire arena lock after list_lock.  Add comment, including FIXME
14599         about incorrect synchronization.
14600         (get_free_list): Switch to free_list_lock.
14601         (reused_arena): Acquire free_list_lock around detach_arena call
14602         and attached threads counter update.  Add two FIXMEs about
14603         incorrect synchronization.
14604         (arena_thread_freeres): Switch to free_list_lock.
14605         * malloc/malloc.c (struct malloc_state): Update comments to
14606         mention free_list_lock.
14608 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14610         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14611         Remove functions.
14612         (sloww, sloww1): Accept argument to offset quadrant.
14613         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14614         quadrant.
14615         (__sin, __cos): Consolidate common code into new functions.
14616         (reduce_sincos_1, do_sincos_1): New functions.
14617         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14619         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14620         code to new functions.
14621         (reduce_sincos_2, do_sincos_2): New functions.
14622         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14624         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14625         common code for sincos.
14626         (__cos) [!IN_SINCOS]: Likewise.
14627         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14628         New function.
14629         (__sincos): Use it.
14631 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14633         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14634         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14635         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14637 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14639         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14640         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14641         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14642         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14643         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14644         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14645         index_Prefer_No_VZEROUPPER): New feature.
14646         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14647         Prefer_No_VZEROUPPER for Knights Landing.
14649 015-12-18  Torvald Riegel  <triegel@redhat.com>
14651         * math/atest-exp2.c (mp_exp_m1): Remove.
14653 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14655         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14656         syscalls.
14657         (__SYSCALL0): New macro.
14658         (__SYSCALL1): Likewise.
14659         (__SYSCALL2): Likewise.
14660         (__SYSCALL3): Likewise.
14661         (__SYSCALL4): Likewise.
14662         (__SYSCALL5): Likewise.
14663         (__SYSCALL6): Likewise.
14664         (__SYSCALL_CONCAT_X): Likewise.
14665         (__SYSCALL_CONCAT): Likewise.
14666         (__SYSCALL_DIST): Likewise.
14667         (__SYSCALL_CALL): Likewise.
14669 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14671         [BZ #19363]
14672         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14674 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14676         [BZ #19375]
14677         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14678         negative subnormals.
14680 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14682         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14683         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14684         (INTERNAL_SYSCALL_NCS): Use it.
14685         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14687 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14689         [BZ #19243]
14690         * malloc/arena.c (get_free_list): Remove assert and adjust
14691         reference count handling.  Add comment about reused_arena
14692         interaction.
14693         (reused_arena): Add comments abount get_free_list interaction.
14694         * malloc/tst-malloc-thread-exit.c: New file.
14695         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14696         (tst-malloc-thread-exit): Link against libpthread.
14698 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14700         [BZ #19367]
14701         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14702         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14703         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14704         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14705         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14707 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14709         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14710         Silvermont optimizations for Knights Landing.
14712 2015-12-15  Andreas Schwab  <schwab@suse.de>
14714         [BZ #17197]
14715         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14716         immediately after emitting SI.
14717         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14718         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14719         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14720         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14721         * iconvdata/bug-iconv10.c: New file.
14722         * iconvdata/Makefile (tests): Add bug-iconv10.
14723         ($(objpfx)bug-iconv10.out): New rule.
14725 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14727         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14728         aliasing violation.
14730 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14732         [BZ #18472]
14733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14734         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14735         conditionals for them.
14736         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14737         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14738         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14739         sys/kdaemon.h.
14740         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14741         compat-only syscall, obsoleted in glibc 2.23.
14742         (create_module): Likewise.
14743         (get_kernel_syms): Likewise.
14744         (query_module): Likewise.
14745         (uselib): Likewise.
14746         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14748 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14750         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14751         <linux/version.h>.
14752         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14753         conditional code.
14754         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14755         and ioshift_name initialization.
14757 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14759         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14760         Fix indentation.
14762 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14764         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14766 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14768         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14770 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14771             Jakub Wilk  <jwilk@debian.org>
14773         [BZ #19347]
14774         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14775         to change the group of the device to the tty group.
14777 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14779         Split large string section; add truncation advice
14780         * manual/examples/strncat.c: Remove.
14781         This example was misleading, as the code would have undefined
14782         behavior if "hello" was longer than SIZE.  Anyway, the manual
14783         shouldn't encourage strncpy+strncat for this sort of thing.
14784         * manual/string.texi (Copying Strings and Arrays): Split into
14785         three sections Copying Strings and Arrays, Concatenating Strings,
14786         and Truncating Strings, as this section was way too long.  All
14787         cross-referenced changed.  Add advice about string-truncation
14788         functions.  Remove misleading strncat example.
14790 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14792         * manual/nss.texi (NSS Modules Interface): Document
14793         NSS_STATUS_NOTFOUND and SUCCESS.
14795 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14797         [BZ 18568]
14798         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14799         201505L, for Unicode 8.
14801 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14803         * locale/C-translit.h: Regenerate.
14805 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14807         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14808         and U+0153.
14810 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14812         [BZ #19351]
14813         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14814         expanding log(1+z), compare z rather than its square with epsilon
14815         to determine when to avoid evaluating the expansion.
14817         [BZ #19350]
14818         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14819         Increase overflow threshold.
14821         [BZ #19349]
14822         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14823         when small.
14825         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14826         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14827         New macro.
14828         [__LINUX_KERNEL_VERSION >= 0x040300]
14829         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14831         Likewise.
14832         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14833         Likewise.
14834         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14835         Likewise.
14836         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14837         Likewise.
14838         [__LINUX_KERNEL_VERSION >= 0x040300]
14839         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14840         [__LINUX_KERNEL_VERSION >= 0x040300]
14841         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14842         [__LINUX_KERNEL_VERSION >= 0x040300]
14843         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14844         [__LINUX_KERNEL_VERSION >= 0x040300]
14845         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14846         [__LINUX_KERNEL_VERSION >= 0x040300]
14847         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14848         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14849         Likewise.
14850         [__LINUX_KERNEL_VERSION >= 0x040300]
14851         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14853         Likewise.
14854         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14855         Likewise.
14856         [__LINUX_KERNEL_VERSION >= 0x040300]
14857         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14859         Likewise.
14860         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14861         Likewise.
14862         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14864         Likewise.
14865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14866         Likewise.
14867         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14868         Likewise.
14869         [__LINUX_KERNEL_VERSION >= 0x040300]
14870         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14872         Likewise.
14873         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14874         Likewise.
14875         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14876         Likewise.
14877         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14878         Likewise.
14879         [__LINUX_KERNEL_VERSION >= 0x040300]
14880         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14881         [__LINUX_KERNEL_VERSION >= 0x040300]
14882         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14883         [__LINUX_KERNEL_VERSION >= 0x040300]
14884         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14885         [__LINUX_KERNEL_VERSION >= 0x040300]
14886         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14887         [__LINUX_KERNEL_VERSION >= 0x040300]
14888         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14889         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14890         Likewise.
14891         [__LINUX_KERNEL_VERSION >= 0x040300]
14892         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14893         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14894         Likewise.
14895         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14896         Likewise.
14897         [__LINUX_KERNEL_VERSION >= 0x040300]
14898         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14900         Likewise.
14901         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14902         Likewise.
14903         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14904         (__ASSUME_SOCKET_SYSCALL): Likewise.
14905         (__ASSUME_BIND_SYSCALL): Likewise.
14906         (__ASSUME_CONNECT_SYSCALL): Likewise.
14907         (__ASSUME_LISTEN_SYSCALL): Likewise.
14908         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14909         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14910         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14911         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14912         (__ASSUME_SEND_SYSCALL): Likewise.
14913         (__ASSUME_SENDTO_SYSCALL): Likewise.
14914         (__ASSUME_RECV_SYSCALL): Likewise.
14915         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14916         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14917         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14918         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14919         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14920         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14921         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14922         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14923         Likewise.
14924         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14925         Likewise.
14926         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14927         Likewise.
14928         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14929         Likewise.
14930         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14931         Likewise.
14932         [__LINUX_KERNEL_VERSION >= 0x020625]
14933         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14934         [__LINUX_KERNEL_VERSION >= 0x020625]
14935         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14936         [__LINUX_KERNEL_VERSION >= 0x020625]
14937         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14938         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14939         Likewise.
14940         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14941         Likewise.
14942         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14943         Likewise.
14944         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14945         Likewise.
14946         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14947         Likewise.
14948         [__LINUX_KERNEL_VERSION >= 0x020625]
14949         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14950         [__LINUX_KERNEL_VERSION >= 0x020625]
14951         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14952         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14953         Likewise.
14954         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14955         Likewise.
14957 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14959         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14960         record the current if the current ABI and CPU support the FP64
14961         extension.
14962         (has-modd-spreg): Define to record the current if the current ABI and
14963         CPU support 32-bit floating point values in odd FPU registers.
14964         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14965         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14966         $(has-modd-spreg) equals yes.
14967         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14968         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14969         $(has-modd-spreg) equal yes.
14971 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14973         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14974         basename.
14976 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14978         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14979         (bench-string): ... here.
14980         (bench): Add bench-string.
14981         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14982         to *-benchset to reflect what they are.
14983         (benchset): Adjust.
14985         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14986         cos-inputs.
14988 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14990         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14991         __attribute__ ((__simd__)) for vector math function declarations.
14993 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14995         Fix typo in strncat, wcsncat manual entries
14996         * manual/string.texi (Copying and Concatenation): Fix typos in
14997         sample implementations of strncat and wcsncat, by having them use
14998         the old value of the destination length, not the new one.
15000 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15002         [BZ #16961]
15003         [BZ #16962]
15004         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15005         string on the stack for strtod.
15006         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15007         a string on the stack for strtof.
15008         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15009         constructing a string on the stack for strtold.
15010         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15011         __strtold_nan to GLIBC_PRIVATE.
15012         * math/test-nan-overflow.c: New file.
15013         * math/test-nan-payload.c: Likewise.
15014         * math/Makefile (tests): Add test-nan-overflow and
15015         test-nan-payload.
15017 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15019         Consistency about byte vs character in string.texi
15020         * manual/string.texi (String and Array Utilities):
15021         Distinguish more carefully among bytes, multibyte characters,
15022         and wide characters.  Use "byte" when talking about C 'char',
15023         to distinguish it more clearly from multibyte characters.
15024         Say "wide character" or "multibyte character" instead of
15025         "character", when a wide or multibyte character is intended.
15026         Similarly for "multibyte string" versus "string".
15027         Define these terms more carefully.
15029 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15031         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15032         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15033         Likewise.
15034         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15035         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15036         * sysdeps/sh/math_private.h: New file.
15037         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15038         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15039         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15040         long double function name.
15041         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15042         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15043         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15044         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15045         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15047         Remove __finitel, __isinfl, and __isnanl.
15048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15049         Likewise.
15050         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15052         Remove __finitel.
15053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15054         Likewise.
15055         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15057 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15059         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15060         installed libmvec_nonshared.a.
15062 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15064         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15065         (sysdep_routines): Likewise.
15066         (sysdep-rtld-routines): Likewise.
15067         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15068         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15069         * sysdeps/powerpc/Versions: Added new
15070         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15071         * sysdeps/powerpc/hwcapinfo.c: New file.
15072         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15073         and parse hwcap, hwcap2 and platform number information.
15074         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15075         to store HWCAP+HWCAP2 and platform number.
15076         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15077         for HWCAP+HWCAP2 and platform number in the TCB.
15078         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15079         the HWCAP, HWCAP2 and platform number in the TCB.
15080         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15081         (TLS_INIT_TP): Included calls to add the hwcap and
15082         at_platform values in the TCB in TP initialization.
15083         (TLS_DEFINE_INIT_TP): Likewise.
15084         (THREAD_GET_HWCAP): New macro.
15085         (THREAD_SET_HWCAP): Likewise.
15086         (THREAD_GET_AT_PLATFORM): Likewise.
15087         (THREAD_SET_AT_PLATFORM): Likewise.
15088         * sysdeps/powerpc/powerpc32/dl-machine.h:
15089         (dl_platform_init): New function that calls
15090         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15091         powerpc32.
15092         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15093         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15094         this functionality, static linking case.
15095         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15096         linking case.
15097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15098         __parse_hwcap_and_convert_at_platform for the static linking case.
15099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15100         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15101         ABI list for GLIBC 2.23.
15102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15103         Likewise.
15104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15105         Likewise.
15107 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15109         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15110         * configure: Regenerate.
15111         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15112         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15114 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15116         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15117         * iconvdata/ibm933.c: Likewise.
15118         * iconvdata/ibm935.c: Likewise.
15119         * iconvdata/ibm937.c: Likewise.
15120         * iconvdata/ibm939.c: Likewise.
15122 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15124         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15125         pthread_join.
15126         * nptl/tst-cancel21.c (tf): Likewise.
15128 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15130         [BZ #19313]
15131         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15132         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15133         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15134         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15135         Likewise.
15136         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15137         Likewise.
15138         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15139         Likewise.
15140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15143         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15144         unsigned long int with __CPU_MASK_TYPE.
15146 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15148         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15150 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15153         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15154         t512.x.
15155         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15157 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15159         [BZ #19214]
15160         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15161         argument to return extended model.  Update family and model
15162         with extended family and model when family == 0x0f.
15163         (init_cpu_features): Updated.
15165 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15167         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15168         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15170         * sysdeps/mach/hurd/mmap64.c: New file.
15172 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15174         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15175         rights for its main user thread in NEWTASK.
15177 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15179         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15180         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15182 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15184         [BZ #14259]
15185         * Makeconfig: Rename localedir to complocaledir.
15186         Rename inst_localedir to inst_complocaledir.
15187         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15188         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15189         * configure.ac: Use libc_cv_complocaledir.
15190         * configure: Regenerate.
15191         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15192         -DCOMPLOCALEDIR.
15193         * locale/findlocale.c: Use COMPLOCALEDIR.
15194         * locale/loadarchive.c: Likewise.
15195         * locale/programs/locale.c: Likewise.
15196         * locale/programs/localedef.c: Likewise.
15197         * locale/programs/locarchive.c: Likewise.
15198         * localedata/Makefile: Use inst_complocaledir.
15199         * sysdeps/gnu/configure: Regenerate.
15200         * sysdeps/hppa/configure: Regenerate.
15201         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15202         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15204         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15205         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15206         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15207         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15209 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15211         [BZ #19058]
15212         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15213         AS_NEEDED.
15214         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15215         workaround.
15216         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15217         libmvec-static-only-routines): Added new file.
15218         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15220 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15222         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15223         of interrupted RPC instead of restoring it.
15225         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15226         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15227         libc_hidden_def.
15228         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15229         into initialized data instead of common. Define rtld_hidden_data_def.
15230         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15231         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15232         libc_hidden_def.
15233         (if_freenameindex): Add libc_hidden_weak.
15234         (if_nameindex): Add libc_hidden_weak.
15235         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15236         __open64.
15237         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15238         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15239         * sysdeps/mach/nanosleep.c: Include <time.h>
15240         (__nanosleep): Rename to __libc_nanosleep.
15241         (__nanosleep): Add weak_alias.
15242         (nanosleep): Update alias.
15244 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15246         * stdlib/strtod_nan.c: New file.
15247         * stdlib/strtod_nan_double.h: Likewise.
15248         * stdlib/strtod_nan_float.h: Likewise.
15249         * stdlib/strtod_nan_main.c: Likewise.
15250         * stdlib/strtod_nan_narrow.h: Likewise.
15251         * stdlib/strtod_nan_wide.h: Likewise.
15252         * stdlib/strtof_nan.c: Likewise.
15253         * stdlib/strtold_nan.c: Likewise.
15254         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15255         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15256         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15257         * wcsmbs/wcstod_nan.c: Likewise.
15258         * wcsmbs/wcstof_nan.c: Likewise.
15259         * wcsmbs/wcstold_nan.c: Likewise.
15260         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15261         strtold_nan.
15262         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15263         wcstof_nan.
15264         * include/stdlib.h (__strtof_nan): Declare and use
15265         libc_hidden_proto.
15266         (__strtod_nan): Likewise.
15267         (__strtold_nan): Likewise.
15268         (__wcstof_nan): Likewise.
15269         (__wcstod_nan): Likewise.
15270         (__wcstold_nan): Likewise.
15271         * include/wchar.h (____wcstoull_l_internal): Declare.
15272         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15273         (____strtoull_l_internal): Remove declaration.
15274         (STRTOF_NAN): Define macro.
15275         (SET_MANTISSA): Remove macro.
15276         (STRTOULL): Likewise.
15277         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15278         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15279         (STRTOF_NAN): Define macro.
15280         (SET_MANTISSA): Remove macro.
15281         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15282         (SET_MANTISSA): Remove macro.
15283         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15284         macro.
15285         (SET_MANTISSA): Remove macro.
15286         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15287         macro.
15288         (SET_MANTISSA): Remove macro.
15289         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15290         (SET_MANTISSA): Remove macro.
15291         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15292         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15293         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15295         [BZ #19266]
15296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15297         upper case and lower case letters inside NAN(), not using TOLOWER.
15298         * stdlib/tst-strtod-nan-locale-main.c: New file.
15299         * stdlib/tst-strtod-nan-locale.c: Likewise.
15300         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15301         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15302         Depend on $(gen-locales).
15303         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15304         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15305         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15306         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15307         Depend on $(gen-locales).
15308         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15310 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15312         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15314         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15316         __finitel, __isinfl, and __isnanl.
15317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15318         Likewise.
15319         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15321         __finitel.
15322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15323         Likewise.
15324         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15326 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15328         * malloc/memusage.c (me): Remove redundant getenv call.
15330 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15332         [BZ #19143]
15333         [BZ #19164]
15334         * nptl/check-cpuset.h: Remove.
15335         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15336         Remove CPU set size check.
15337         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15338         Likewise.
15339         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15340         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15341         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15342         (__pthread_setaffinity_new): Remove CPU set size check.
15343         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15344         (__kernel_cpumask_size): Remove.
15345         (__sched_setaffinity_new): Remove CPU set size check.
15346         * manual/threads.texi (Default Thread Attributes): Remove stale
15347         reference to check_cpuset_attr, determine_cpumask_size in comment.
15348         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15349         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15350         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15351         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15352         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15353         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15354         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15355         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15356         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15357         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15358         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15359         skeleton test file.
15360         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15361         tst-affinity-pid.
15363 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15365         * scripts/update-abilist.sh: New file.
15366         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15367         * Makerules (update-all-abi-%, update-all-abi)
15368         (subdir_update-all-abi): New targets.
15369         * elf/Makefile (update-all-abi): New target.
15371 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15373         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15374         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15375         (__libc_lock_define_initialized): Use it.
15376         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15377         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15378         * malloc/malloc.c (main_arena): Likewise.
15379         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15380         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15382 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15384         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15385         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15386         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15387         (PTRACE_O_MASK): Update value.
15388         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15389         New value in enum __ptrace_setoptions.
15390         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15391         (PTRACE_O_MASK): Update value.
15392         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15393         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15394         (PTRACE_O_MASK): Update value.
15395         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15396         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15397         (PTRACE_O_MASK): Update value.
15398         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15399         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15400         (PTRACE_O_MASK): Update value.
15401         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15402         New value in enum __ptrace_setoptions.
15403         (PTRACE_O_MASK): Update value.
15404         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15405         New value in enum __ptrace_setoptions.
15406         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15407         (PTRACE_O_MASK): Update value.
15409         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15410         New macro.
15411         (PACKET_AUXDATA): Likewise.
15412         (PACKET_ORIGDEV): Likewise.
15413         (PACKET_VERSION): Likewise.
15414         (PACKET_HDRLEN): Likewise.
15415         (PACKET_RESERVE): Likewise.
15416         (PACKET_TX_RING): Likewise.
15417         (PACKET_LOSS): Likewise.
15418         (PACKET_VNET_HDR): Likewise.
15419         (PACKET_TX_TIMESTAMP): Likewise.
15420         (PACKET_TIMESTAMP): Likewise.
15421         (PACKET_FANOUT): Likewise.
15422         (PACKET_TX_HAS_OFF): Likewise.
15423         (PACKET_QDISC_BYPASS): Likewise.
15424         (PACKET_ROLLOVER_STATS): Likewise.
15425         (PACKET_FANOUT_DATA): Likewise.
15426         (PACKET_MR_UNICAST): Likewise.
15428         [BZ #19242]
15429         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15430         (TOUPPER): Likewise.
15431         * stdlib/tst-strtol-locale-main.c: New file.
15432         * stdlib/tst-strtol-locale.c: Likewise.
15433         * stdlib/Makefile (tests): Add tst-strtol-locale.
15434         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15435         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15436         Depend on $(gen-locales).
15437         * wcsmbs/tst-wcstol-locale.c: New file.
15438         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15439         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15440         tr_TR.ISO-8859-9.
15441         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15442         Depend on $(gen-locales).
15444 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15446         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15447         __glibc_likely instead of __builtin_expect.  After falling back to
15448         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15449         system interface to register the code pages as occupied.
15451 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15453         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15454         [!ARM_MATH_PRIVATE_H].
15455         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15456         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15457         [!HPPA_MATH_PRIVATE_H].
15458         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15459         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15460         to [!I386_MATH_PRIVATE_H].
15461         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15462         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15463         Change guard to [!M68K_MATH_PRIVATE_H].
15464         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15465         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15466         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15467         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15468         macro.
15469         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15470         [!MIPS_MATH_PRIVATE_H].
15471         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15472         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15473         [!NIO2_MATH_PRIVATE_H].
15474         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15475         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15476         [!TILE_MATH_PRIVATE_H].
15477         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15479         [BZ #15421]
15480         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15481         initialize with 0 and define as weak alias of __signgam.
15482         * include/math.h [!_ISOMAC] (__signgam): Declare.
15483         * math/Makefile (libm-calls): Add w_lgamma_compat.
15484         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15485         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15486         test-signgam-ullong-init.
15487         (tests-static): Add test-signgam-uchar-static,
15488         test-signgam-uchar-init-static, test-signgam-uint-static,
15489         test-signgam-uint-init-static, test-signgam-ullong-static and
15490         test-signgam-ullong-init-static.
15491         (CFLAGS-test-signgam-uchar.c): New variable.
15492         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15493         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15494         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15495         (CFLAGS-test-signgam-uint.c): Likewise.
15496         (CFLAGS-test-signgam-uint-init.c): Likewise.
15497         (CFLAGS-test-signgam-uint-static.c): Likewise.
15498         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15499         (CFLAGS-test-signgam-ullong.c): Likewise.
15500         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15501         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15502         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15503         * math/Versions (libm): Add GLIBC_2.23.
15504         * math/lgamma-compat.h: New file.
15505         * math/test-signgam-main.c: Likewise.
15506         * math/test-signgam-uchar-init-static.c: Likewise.
15507         * math/test-signgam-uchar-init.c: Likewise.
15508         * math/test-signgam-uchar-static.c: Likewise.
15509         * math/test-signgam-uchar.c: Likewise.
15510         * math/test-signgam-uint-init-static.c: Likewise.
15511         * math/test-signgam-uint-init.c: Likewise.
15512         * math/test-signgam-uint-static.c: Likewise.
15513         * math/test-signgam-uint.c: Likewise.
15514         * math/test-signgam-ullong-init-static.c: Likewise.
15515         * math/test-signgam-ullong-init.c: Likewise.
15516         * math/test-signgam-ullong-static.c: Likewise.
15517         * math/test-signgam-ullong.c: Likewise.
15518         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15519         wrapper of w_lgamma_main.c.
15520         * math/w_lgamma_compat.c: New file.
15521         * math/w_lgamma_compatf.c: Likewise.
15522         * math/w_lgamma_compatl.c: Likewise.
15523         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15524         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15525         defining compatibility symbols.
15526         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15527         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15528         wrapper of w_lgammaf_main.c.
15529         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15530         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15531         defining compatibility symbols.
15532         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15533         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15534         wrapper of w_lgammal_main.c.
15535         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15536         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15537         defining compatibility symbols.
15538         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15539         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15540         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15541         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15542         <lgamma-compat.h>.
15543         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15544         (__ieee754_gamma): Define as alias.
15545         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15546         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15547         <lgamma-compat.h>.
15548         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15549         (__ieee754_gammaf): Define as alias.
15550         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15551         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15552         <lgamma-compat.h>.
15553         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15554         (__ieee754_gammal): Define as alias.
15555         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15556         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15557         <math/w_lgamma_compat.c>.
15558         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15559         Define as alias of __lgamma_compat and use in defining lgammal.
15560         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15561         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15562         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15563         (USE_AS_COMPAT): New macro.
15564         (LGAMMA_OLD_VER): Undefine and redefine.
15565         (lgammal): Do not define here.
15566         (gammal): Only define here if [GAMMA_ALIAS].
15567         * conform/linknamespace.pl (@whitelist): Remove signgam.
15568         * sysdeps/nacl/libm.abilist: Update.
15569         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15570         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15571         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15572         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15574         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15575         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15576         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15577         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15578         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15579         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15580         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15582         Likewise.
15583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15584         Likewise.
15585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15586         Likewise.
15587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15588         Likewise.
15589         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15590         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15591         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15592         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15593         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15595         Likewise.
15596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15597         Likewise.
15598         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15599         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15600         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15602 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15604         [BZ #16364]
15605         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15606         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15608 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15610         * sysdeps/s390/fpu/bits/mathinline.h:
15611         Use __asm__ [__volatile__] instead of asm [volatile].
15612         * sysdeps/s390/abort-instr.h: Likewise.
15613         * sysdeps/s390/atomic-machine.h: Likewise.
15614         * sysdeps/s390/bits/string.h: Likewise.
15615         * sysdeps/s390/dl-tls.h: Likewise.
15616         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15617         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15618         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15619         * sysdeps/s390/fpu/fesetround.c: Likewise.
15620         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15621         * sysdeps/s390/fpu/s_fma.c: Likewise.
15622         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15623         * sysdeps/s390/memusage.h: Likewise.
15624         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15625         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15626         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15627         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15628         * sysdeps/s390/nptl/tls.h: Likewise.
15629         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15630         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15631         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15632         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15633         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15634         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15635         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15636         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15637         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15638         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15639         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15640         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15641         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15642         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15643         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15644         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15645         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15646         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15647         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15648         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15649         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15650         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15651         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15653 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15654             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15656         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15657         Add lwarx hint, and use macro for acquire instruction.
15658         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15659         Likewise.
15660         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15661         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15662         update to use new atomic macros.
15664 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15666         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15667         (__lll_trylock_elision): Fix setting of adapt_count.
15668         * sysdeps/unix/sysv/linux/powerpc/htm.h
15669         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15670         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15671         (_ABORT_SYSCALL): Renumber, and clarify definition.
15672         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15674 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15676         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15677         after system headers to prevent MIN/MAX redefinition.  Define
15678         HAVE_ALLOCA to preserve builtin alloca usage.
15680 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15682         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15683         static and don't set or restore rounding.
15684         (__cos)[IN_SINCOS]: Likewise.
15685         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15686         (__sincos): Set and restore rounding mode.  Remove check for infinite
15687         or NaN input.
15689         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15691         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15692         as used.
15694 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15696         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15698 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15700         * config.make.in (have-glob-dat-reloc): New.
15701         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15702         target supports GLOB_DAT relocaton. AC_SUBST.
15703         * configure: Regenerated.
15704         * elf/Makefile (tests): Add tst-prelink.
15705         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15706         (tst-prelink-ENV): New.
15707         ($(objpfx)tst-prelink-conflict.out): Likewise.
15708         ($(objpfx)tst-prelink-cmp.out): Likewise.
15709         * sysdeps/x86/tst-prelink.c: Moved to ...
15710         * elf/tst-prelink.c: Here.
15711         * sysdeps/x86/tst-prelink.exp: Moved to ...
15712         * elf/tst-prelink.exp: Here.
15713         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15714         (tst-prelink-ENV): Removed.
15715         ($(objpfx)tst-prelink-conflict.out): Likewise.
15716         ($(objpfx)tst-prelink-cmp.out): Likewise.
15717         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15719 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15721         [BZ #14551]
15722         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15723         (__mpn_construct_long_double): If high part overflows to infinity,
15724         set errno and recompute overflowed result of the correct sign.
15725         * sysdeps/ieee754/ldbl-128ibm/Makefile
15726         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15727         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15728         $(libm).
15729         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15731 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15733         [BZ #15479]
15734         [BZ #19238]
15735         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15736         floating-point state after first operation on input.  Restore full
15737         state rather than just rounding mode.
15738         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15739         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15740         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15742         [BZ #19235]
15743         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15744         add 0.5 to integer arguments.
15745         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15746         Likewise.
15747         (.LC2): New object.
15749 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15751         * scripts/pylintrc (reports): Set to no.
15753 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15755         * elf/dl-load.c (open_verify): Take new argument FD.
15756         Skip __open call if passed FD is not -1.
15757         (_dl_map_object, open_path): Update callers.
15758         * elf/dl-sysdep-open.h: New file.
15759         * elf/dl-load.c: Include it.
15760         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15761         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15762         * sysdeps/nacl/dl-sysdep-open.h: New file.
15763         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15764         from libc to rtld.
15766 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15768         [BZ #19228]
15769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15770         and restore full floating-point state.
15771         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15772         Likewise.
15773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15774         Likewise.
15775         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15776         Likewise.
15777         * math/test-nearbyint-except-2.c: New file.
15778         * math/Makefile (tests): Add test-nearbyint-except-2.
15780 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15782         [BZ #19178]
15783         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15784         (tst-prelink-ENV): New.
15785         ($(objpfx)tst-prelink-conflict.out): Likewise.
15786         ($(objpfx)tst-prelink-cmp.out): Likewise.
15787         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15788         * sysdeps/x86/tst-prelink.c: New file.
15789         * sysdeps/x86/tst-prelink.exp: Likewise.
15791 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15793         * math/auto-libm-test-in: Add another test of pow.
15794         * math/auto-libm-test-out: Regenerated.
15795         * math/libm-test.inc (pow_test_data): Add another test.
15797 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15799         [BZ #19219]
15800         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15801         weak_alias to nearbyintl.
15803 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15805         * sysdeps/aarch64/bits/string.h: New file.
15806         (_STRING_ARCH_unaligned): Define.
15808 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15810         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15811         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15812         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15813         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15816 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15818         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15819         for original name of the DSO.  Add it to the name list of the DSO
15820         if it is actually given.
15821         (_dl_map_object): Keep track of whether an audit module rewrote
15822         the file name.  If yes, pass the original name to
15823         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15824         debugging is enabled, log the change of the file name.
15825         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15826         _dl_map_object_from_fd.
15827         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15828         * elf/tst-audit11.c: New file
15829         * elf/tst-auditmod11.c: New file.
15830         * elf/tst-audit11mod1.c: New file.
15831         * elf/tst-audit11mod2.c: New file.
15832         * elf/tst-audit11mod2.map: New file.
15833         * elf/tst-audit12.c: New file
15834         * elf/tst-auditmod12.c: New file.
15835         * elf/tst-audit12mod1.c: New file.
15836         * elf/tst-audit12mod2.c: New file.
15837         * elf/tst-audit12mod2.map: New file.
15838         * elf/tst-audit12mod3.c: New file.
15840 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15842         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15843         Don't create weak aliases,
15844         because versioned symbols are created later.
15845         * sysdeps/s390/s390-32/setjmp.S
15846         (setjmp, _setjmp): Remove weak and rename to an unique name
15847         in SHARED case due to existing versioned symbols.
15848         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15849         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15850         (getcontext): Create weak alias only in non SHARED case.
15851         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15853 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15855         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15856         (__ASSUME_*_SYSCALL) Define new macros.
15857         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15858         Remove socketcall syscalls.
15859         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15860         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15861         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15862         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15863         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15864         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15866 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15868         [BZ #12926]
15869         Terminate process on invalid netlink response.
15870         * sysdeps/unix/sysv/linux/netlinkaccess.h
15871         (__netlink_assert_response): Declare.
15872         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15873         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15874         (sysdep_routines): Add netlink_assert_response.
15875         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15876         __netlink_assert_response.
15877         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15878         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15879         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15880         __netlink_assert_response.
15882 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15884         [BZ #19178]
15885         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15886         (RTYPE_CLASS_PLT): Likewise.
15887         (RTYPE_CLASS_COPY): Likewise.
15888         (RTYPE_CLASS_TLS): Likewise.
15889         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15890         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15891         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15892         DL_DEBUG_PRELINK.
15894 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15896         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15897         calls with argument -0.5.
15898         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15900         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15901         (libc_cv_z_nodlopen): Likewise.
15902         (libc_cv_z_initfirst): Likewise.
15903         * configure: Regenerated.
15905 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15907         Simplify abilist format to be line-based.
15908         * scripts/abilist.awk: Collect descriptors in the descs variable.
15909         (emit): Write descs variable and sort it
15910         externally, with sort.
15911         * sysdeps/**/*.abilist: Convert to new format.
15913 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15915         [BZ #11460]
15916         * io/Makefile (routines): Add fts64.
15917         (tests): Add tst-fts and tst-fts-lfs.
15918         (CFLAGS-fts64.c): New.
15919         * io/Versions (GLIBC_2.23): New.
15920         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15921         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15922         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15923         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15924         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15925         (FTSENT64): Likewise.
15926         (fts64_children): Likewise.
15927         (fts64_close): Likewise.
15928         (fts64_open): Likewise.
15929         (fts64_read): Likewise.
15930         (fts64_set): Likewise.
15931         * io/fts64.c: New file.
15932         * io/tst-fts.c: New test.
15933         * io/tst-fts-lfs.c: Likewise.
15934         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15935         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15936         fts64_set.
15937         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15938         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15939         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15940         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15941         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15942         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15943         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15944         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15945         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15946         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15947         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15948         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15949         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15951         Likewise.
15952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15953         Likewise.
15954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15956         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15957         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15958         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15959         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15960         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15963         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15964         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15965         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15966         * sysdeps/wordsize-64/fts.c: New file.
15967         * sysdeps/wordsize-64/fts64.c: Likewise.
15968         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15969         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15970         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15971         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15973 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15975         * math/libm-test.inc (NON_FINITE): New macro.
15976         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15977         * math/gen-libm-test.pl (show_exceptions): Add argument
15978         $non_finite.
15979         (parse_args): Update call to show_exceptions.
15980         * math/test-math-finite.h: New file.
15981         * math/test-math-no-finite.h: Likewise.
15982         * math/test-double-finite.c: Likewise.
15983         * math/test-float-finite.c: Likewise.
15984         * math/test-ldouble-finite.c: Likewise.
15985         * math/test-double.c: Include "test-math-no-finite.h".
15986         * math/test-float.c: Include "test-math-no-finite.h".
15987         * math/test-ldouble.c: Include "test-math-no-finite.h".
15988         * math/test-math-inline.h (TEST_FINITE): New macro.
15989         * math/test-math-vector.h (TEST_FINITE): Likewise.
15990         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15991         (libm-tests): Add test-float-finite and test-double-finite.
15992         ($(objpfx)test-float-finite.o): New dependency on
15993         $(objpfx)libm-test.stmp.
15994         ($(objpfx)test-double-finite.o): Likewise.
15995         ($(objpfx)test-ldouble-finite.o): Likewise.
15996         (libm-test-no-inline-cflags): New variable.
15997         (libm-test-finite-cflags): Likewise.
15998         (CFLAGS-test-float-finite.c): Likewise.
15999         (CFLAGS-test-double-finite.c): Likewise.
16000         (CFLAGS-test-ldouble-finite.c): Likewise.
16001         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16002         (CFLAGS-test-double.c): Likewise.
16003         (CFLAGS-test-ldouble.c): Likewise.
16005 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16007         * io/fcntl.c (__fcntl): Add ... to prototype.
16008         * misc/ioctl.c (__ioctl): Likewise.
16009         * misc/syscall.c (syscall): Likewise.
16011 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16013         * scripts/list-fixed-bugs.py: New file.
16015         [BZ #19213]
16016         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16017         returned for argument 1.
16018         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16019         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16020         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16021         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16022         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16023         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16025         [BZ #19211]
16026         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16027         __USE_XOPEN], not if [!__USE_ISOC99].
16028         (lgammaf): Likewise.
16029         (lgammal): Likewise.
16030         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16031         (gammaf): Likewise.
16032         (gammal): Likewise.
16033         * math/test-signgam-finite-c11.c: New file.
16034         * math/test-signgam-finite-c99.c: Likewise.
16035         * math/test-signgam-finite.c: Likewise.
16036         * math/Makefile (tests): Add test-signgam-finite,
16037         test-signgam-finite-c99 and test-signgam-finite-c11.
16038         (CFLAGS-test-signgam-finite.c): New variable.
16039         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16040         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16042         [BZ #19212]
16043         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16044         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16045         500].
16046         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16047         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16048         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16049         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16050         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16051         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16052         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16053         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16054         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16055         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16057         [BZ #19209]
16058         * math/bits/math-finite.h (ldexp): Remove declaration.
16059         (ldexpf): Likewise.
16060         (ldexpl): Likewise.
16062         [BZ #19205]
16063         * math/bits/math-finite.h (acosf): Condition declaration on
16064         [__USE_ISOC99].
16065         (acosl): Likewise.
16066         (acoshf): Likewise.
16067         (acoshl): Likewise.
16068         (asinf): Likewise.
16069         (asinl): Likewise.
16070         (atan2f): Likewise.
16071         (atan2l): Likewise.
16072         (atanhf): Likewise.
16073         (atanhl): Likewise.
16074         (coshf): Likewise.
16075         (coshl): Likewise.
16076         (expf): Likewise.
16077         (expl): Likewise.
16078         (fmodf): Likewise.
16079         (fmodl): Likewise.
16080         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16081         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16082         (j0l): Likewise.
16083         (y0f): Likewise.
16084         (y0l): Likewise.
16085         (j1f): Likewise.
16086         (j1l): Likewise.
16087         (y1f): Likewise.
16088         (y1l): Likewise.
16089         (jnf): Likewise.
16090         (jnl): Likewise.
16091         (ynf): Likewise.
16092         (ynl): Likewise.
16093         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16094         (lgammal_r): Likewise.
16095         (__lgamma_r_finite): New declaration.
16096         (__lgammaf_r_finite): Likewise.
16097         (__lgammal_r_finite): Likewise.
16098         (lgamma): Use __lgamma_r_finite.
16099         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16100         __lgammaf_r_finite.
16101         (lgammal): Condition definition on [__USE_ISOC99].  Use
16102         __lgammal_r_finite.
16103         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16104         __lgamma_r_finite.
16105         (gammaf): Condition definition on [__USE_ISOC99].  Use
16106         __lgammaf_r_finite.
16107         (gammal): Condition definition on [__USE_ISOC99].  Use
16108         __lgammal_r_finite.
16109         (logf): Condition declaration on [__USE_ISOC99].
16110         (logl): Likewise.
16111         (log10f): Likewise.
16112         (log10l): Likewise.
16113         (ldexpf): Likewise.
16114         (ldexpl): Likewise.
16115         (powf): Likewise.
16116         (powl): Likewise.
16117         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16118         __USE_ISOC99].
16119         (remainderf): Condition declaration on [__USE_ISOC99].
16120         (remainderl): Likewise.
16121         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16122         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16123         (scalbl): Likewise.
16124         (sinhf): Condition declaration on [__USE_ISOC99].
16125         (sinhl): Likewise.
16126         (sqrtf): Likewise.
16127         (sqrtl): Likewise.
16129 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16131         * sysdeps/arm/atomic-machine.h
16132         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16133         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16134         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16135         Remove conditional code.
16136         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16137         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16138         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16139         Change conditional to [__ASSEMBLER__].
16140         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16141         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16142         [!__ASSEMBLER__].
16143         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16144         code.
16145         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16146         conditional macro definitions.
16147         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16148         (__arch_compare_and_exchange_val_16_acq): Likewise.
16149         (__arch_compare_and_exchange_val_32_acq): Likewise.
16150         (atomic_exchange_and_add): Likewise.
16151         (atomic_add): Likewise.
16152         (atomic_add_negative): Likewise.
16153         (atomic_add_zero): Likewise.
16154         (atomic_bit_set): Likewise.
16155         (atomic_bit_test_set): Likewise.
16156         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16157         code unconditional.
16158         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16160         * math/test-math-errno.h: New file.
16161         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16162         empty.
16163         (TEST_ERRNO): New macro.
16164         (TEST_EXCEPTIONS): Likewise.
16165         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16166         (TEST_EXCEPTIONS): Likewise.
16167         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16168         * math/test-double.c: Include "test-math-errno.h".
16169         * math/test-float.c: Likewise.
16170         * math/test-ldouble.c: Likewise.
16171         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16172         code unconditional.
16173         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16174         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16175         unconditional.
16176         (test_errno): Only run code if TEST_ERRNO.
16177         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16179 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16181         * nptl/tst-once5.cc: Remove attribution.
16183 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16185         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16186         sqrt, tan, tanh, y0, y1 and yn.
16187         * math/auto-libm-test-out: Regenerated.
16188         * math/libm-test.inc (scalb_test_data): Add more tests.
16189         (scalbn_test_data): Likewise.
16190         (scalbln_test_data): Likewise.
16191         (signbit_test_data): Likewise.
16192         (sin_test_data): Likewise.
16193         (sincos_test_data): Likewise.
16194         (sinh_test_data): Likewise.
16195         (sqrt_test_data): Likewise.
16196         (tan_test_data): Likewise.
16197         (tanh_test_data): Likewise.
16198         (tgamma_test_data): Likewise.
16199         (y0_test_data): Likewise.
16200         (y1_test_data): Likewise.
16201         (yn_test_data): Likewise.
16202         (significand_test_data): Likewise.
16203         * sysdeps/i386/fpu/libm-test-ulps: Update.
16205 2015-11-03  David Kastrup  <dak@gnu.org>
16207         [BZ #18604]
16208         * assert/assert.h (assert): Don't macro-expand failed assertion
16209         expression in error message.
16210         * malloc/malloc.c (assert): Likewise.
16212 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16214         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16215         test.
16216         * configure: Regenerated.
16218 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16220         * math/libm-test.inc (modf_test_data): Add more tests.
16221         (nearbyint_test_data): Likewise.
16222         (nextafter_test_data): Likewise.
16223         (nexttoward_test_data): Likewise.
16224         (pow_test_data): Likewise.
16225         (remainder_test_data): Likewise.
16226         (remquo_test_data): Likewise.
16227         (rint_test_data): Likewise.
16229         [BZ #19201]
16230         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16231         Check for zero remainder in case of large exponents and ensure
16232         correct sign of result in that case.
16233         * math/libm-test.inc (remainder_test_data): Add more tests.
16235         [BZ #6799]
16236         * math/s_nextafter.c: Include <errno.h>.
16237         (__nextafter): Set errno on overflow and underflow.
16238         * math/s_nexttowardf.c: Include <errno.h>.
16239         (__nexttowardf): Set errno on overflow and underflow.
16240         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16241         (__nextafterl): Set errno on overflow and underflow.
16242         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16243         (__nexttoward): Set errno on overflow and underflow.
16244         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16245         (__nexttowardf): Set errno on overflow and underflow.
16246         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16247         (__nextafterf): Set errno on overflow and underflow.
16248         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16249         (__nextafterl): Set errno on overflow and underflow.
16250         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16251         (__nexttoward): Set errno on overflow and underflow.
16252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16253         (__nexttowardf): Set errno on overflow and underflow.
16254         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16255         (__nextafterl): Set errno on overflow and underflow.
16256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16257         (__nexttoward): Set errno on overflow and underflow.
16258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16259         (__nexttowardf): Set errno on overflow and underflow.
16260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16261         (__nexttoward): Set errno on overflow and underflow.
16262         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16263         (__nexttowardf): Set errno on overflow and underflow.
16264         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16265         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16266         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16267         (__nextafterl): Set errno on overflow and underflow.
16268         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16269         setting to be missing on overflow.  Add more tests.
16270         (nexttoward_test_data): Likewise.
16272         * configure.ac (libc_cv_initfini_array): Remove configure test.
16273         * configure: Regenerated.
16275 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16277         [BZ #19189]
16278         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16279         non-finite argument handle arguments with negative sign.
16281         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16282         result from infinite argument.
16283         (j1_test_data): Likewise.
16284         (jn_test_data): Likewise.
16285         (y0_test_data): Likewise.
16286         (y1_test_data): Likewise.
16287         (yn_test_data): Likewise.
16289         [BZ #16171]
16290         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16291         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16292         * math/w_remainderf.c (dremf): Define as weak alias of
16293         __remainderf.
16294         * math/w_remainderl.c (dreml): Define as weak alias of
16295         __remainderl.
16296         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16297         __remainder.
16298         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16299         __remainderf.
16300         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16301         __remainderl.
16302         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16303         weak alias of remainderl.
16304         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16305         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16306         alias of __remainder.
16307         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16308         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16309         strong alias of __remainderl.
16310         (dreml): Use long_double_symbol.
16311         * math/Makefile (libm-calls): Remove w_drem.
16312         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16313         (CFLAGS-nldbl-drem.c): Remove variable.
16314         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16315         * math/w_drem.c: Remove file.
16316         * math/w_dremf.c: Likewise.
16317         * math/w_dreml.c: Likewise.
16318         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16319         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16320         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16322         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16323         * sysdeps/i386/configure: Regenerated.
16324         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16325         * sysdeps/x86_64/configure: Regenerated.
16327         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16328         test.
16329         (libc_cv_visibility_attribute): Likewise.
16330         (libc_cv_protected_data): Test unconditionally.
16331         (libc_cv_broken_visibility_attribute): Remove configure test.
16332         (libc_cv_have_sdata_section): Test unconditionally.
16333         * configure: Regenerated.
16335         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16336         * include/scratch_buffer.h: Include <stddef.h> instead of
16337         <libc-internal.h>.
16338         (struct scratch_buffer): Use max_align_t instead of
16339         libc_max_align_t.
16341 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16343         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16344         instead of extend_alloca.  Change control flow to avoid a goto.
16345         Remove assert which is trivially always true.
16347 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16349         [BZ #16068]
16350         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16351         (FE_ALL_EXCEPT_X86): New macro.
16352         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16353         FE_ALL_EXCEPT.  Ensure precision control is included in
16354         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16355         handle "denormal operand exception" and clear FZ and DAZ bits.
16356         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16357         (FE_ALL_EXCEPT_X86): New macro.
16358         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16359         FE_ALL_EXCEPT.  Ensure precision control is included in
16360         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16361         handle "denormal operand exception" and clear FZ and DAZ bits.
16362         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16363         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16364         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16365         test-fenv-x87 and test-fenv-sse-2.
16366         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16368         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16369         * math/test-double.h (BUILD_COMPLEX): New macro.
16370         * math/test-float.h (BUILD_COMPLEX): Likewise.
16371         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16373         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16374         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16375         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16377         instead of DBL_DENORM_MIN in comment.
16378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16379         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16380         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16381         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16383         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16385 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16387         [BZ# 19048]
16388         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16389         attached_threads member.
16390         (main_arena): Initialize attached_threads.
16391         * malloc/arena.c (list_lock): Update comment.
16392         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16393         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16394         (deattach_arena): New function.
16395         (_int_new_arena): Initialize arena reference count and deattach
16396         replaced arena.
16397         (get_free_list, reused_arena): Update reference count and deattach
16398         replaced arena.
16399         (arena_thread_freeres): Update arena reference count and only put
16400         unreferenced arenas on the free list.
16402 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16404         [BZ #19181]
16405         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16406         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16407         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16408         * math/test-fenv-clear-main.c: New file.
16409         * math/test-fenv-clear.c: Likewise.
16410         * math/Makefile (tests): Add test-fenv-clear.
16411         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16412         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16413         test-fenv-clear-sse.
16414         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16416         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16417         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16418         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16420 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16422         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16423         static libc.
16425 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16427         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16428         test.
16429         * sysdeps/i386/configure: Regenerated.
16430         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16431         test.
16432         * sysdeps/x86_64/configure: Regenerated.
16433         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16434         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16435         memset-avx2 unconditionally instead of conditionally on
16436         [$(config-cflags-avx2) = yes].
16437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16438         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16439         unconditional.
16440         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16441         * sysdeps/x86_64/multiarch/memset_chk.S
16442         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16443         to [IS_IN (libc) && SHARED].
16445 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16447         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16448         configure test.
16449         * sysdeps/arm/configure: Regenerated.
16450         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16451         Define variable if not already defined.
16453         [BZ #17404]
16454         * sysdeps/mips/atomic-machine.h
16455         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16456         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16457         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16459         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16460         unconditional.
16461         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16462         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16463         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16464         unconditional.
16465         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16466         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16467         unconditional.
16468         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16469         * stdlib/setenv.c
16470         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16471         code unconditional.
16472         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16473         Remove conditional code.
16474         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16475         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16476         unconditional.
16477         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16478         code.
16479         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16480         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16481         unconditional.
16482         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16483         code.
16484         * sysdeps/ieee754/ldbl-128/k_tanl.c
16485         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16486         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16487         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16488         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16489         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16490         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16491         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16492         unconditional.
16493         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16494         code.
16495         * sysdeps/ieee754/ldbl-96/k_tanl.c
16496         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16497         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16499         * nptl/tst-initializers1-c11.c: New file.
16500         * nptl/tst-initializers1-gnu11.c: Likewise.
16501         * nptl/Makefile (tests): Add these new tests.
16502         (CFLAGS-tst-initializers1-c11.c): New variable.
16503         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16505         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16506         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16507         instead of -std=gnu99.
16508         * configure.ac (systemtap): Test with -std=gnu11 instead of
16509         -std=gnu99.
16510         * configure: Regenerated.
16511         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16512         in compilation command in comment.
16514         * sysdeps/nptl/configure.ac: Remove file.
16515         * sysdeps/nptl/configure: Remove generated file.
16516         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16517         * configure: Regenerated.
16518         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16519         * config.make.in (have-forced-unwind): Remove variable.
16520         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16521         unconditional.
16522         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16523         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16524         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16525         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16526         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16527         unconditional.
16529 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16531         [BZ #19174]
16532         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16533         .skip_lock_out_of_tbegin_retries.
16534         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16535         (__lll_lock_elision): Likewise, and respect a value of
16536         try_tbegin <= 0.
16538 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16540         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16541         statement.
16543 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16545         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16546         variable.
16547         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16548         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16550         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16551         of -std=c1x -D_ISOC11_SOURCE.
16553         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16554         * configure: Regenerated.
16555         * manual/install.texi (Tools for Compilation): Document
16556         requirement for GCC 4.7 or later.
16557         * INSTALL: Regenerated.
16559 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16561         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16562         on CNT to a conditional jump to 'puntdata'.
16564 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16566         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16567         (libc_cv_gcc_tls_model_attr): Likewise.
16568         * configure: Regenerated.
16570         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16571         * configure: Regenerated.
16572         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16574 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16576         * configure.ac (old_glibc_headers): Remove configure test.
16577         * configure: Regenerated.
16578         * config.make.in (old-glibc-headers): Remove variable.
16579         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16580         (install): Remove dependency on remove-old-headers.
16581         (headers2_0): Remove variable.
16582         (remove-old-headers): Remove rule.
16584         * configure.ac (libc_cv_dot_text): Remove configure test.
16585         (libc_cv_asm_set_directive): Use .text instead of
16586         ${libc_cv_dot_text} in configure test.
16587         * configure: Regenerated.
16589 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16591         [BZ #19168]
16592         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16594 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16596         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16597         not support static linking.
16598         * configure: Regenerate.
16600 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16602         * math/libm-test.inc (check_float_internal): Do not special-case
16603         errors up to 0.5 ulp.
16605         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16606         log2.
16607         * math/auto-libm-test-out: Regenerated.
16608         * math/libm-test.inc (MAX_EXP): New macro.
16609         (ilogb_test_data): Add more tests.
16610         (isfinite_test_data): Likewise.
16611         (isgreater_test_data): Likewise.
16612         (isgreaterequal_test_data): Likewise.
16613         (isinf_test_data): Likewise.
16614         (isless_test_data): Likewise.
16615         (islessequal_test_data): Likewise.
16616         (islessgreater_test_data): Likewise.
16617         (isnan_test_data): Likewise.
16618         (isnormal_test_data): Likewise.
16619         (issignaling_test_data): Likewise.
16620         (isunordered_test_data): Likewise.
16621         (j0_test_data): Likewise.
16622         (j1_test_data): Likewise.
16623         (jn_test_data): Likewise.
16624         (lgamma_test_data): Likewise.
16625         (log_test_data): Likewise.
16626         (log10_test_data): Likewise.
16627         (log1p_test_data): Likewise.
16628         (log2_test_data): Likewise.
16629         (logb_test_data): Likewise.
16630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16632         [BZ #18611]
16633         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16634         avoid excess range and precision on underflow.
16635         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16636         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16637         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16638         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16639         underflow.
16640         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16641         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16642         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16644         * math/auto-libm-test-in: Do not allow missing errno setting for
16645         tests of j1 and jn.
16646         * math/auto-libm-test-out: Regenerated.
16648 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16650         [BZ #15491]
16651         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16652         floating-point environment instead of clearing all exceptions.
16653         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16654         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16655         merging in "invalid" exceptions from frndint.
16656         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16657         * math/test-nearbyint-except.c: New file.
16658         * math/Makefile (tests): Add test-nearbyint-except.
16660 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16662         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16664         * sysdeps/tile/libm-test-ulps: Regenerated.
16666 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16669         (__NR_sync_file_range2): Assume it is always defined.
16670         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16671         (__NR_sync_file_range): Assume it is always defined.
16673 2015-10-22  Andreas Schwab  <schwab@suse.de>
16675         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16676         INTERNAL_SYSCALL_ERRNO.
16677         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16678         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16679         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16680         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16681         Likewise.
16682         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16684 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16686         * io/tst-fcntl.c (fd): New static variable.
16687         (do_prepare): Open temporary file here....
16688         (do_test): ...not here.
16690         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16692 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16694         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16695         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16696         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16697         Moved before "#ifdef __ASSEMBLER__".
16699 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16701         [BZ #19156]
16702         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16703         arguments very close to 0.
16705 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16707         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16708         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16710 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16712         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16713         New.  Defined for GCC 5 and above when not compiling for
16714         profiling.
16715         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16717         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16718         Renamed to ...
16719         (CFLAGS-epoll_pwait.o): This.
16720         (CFLAGS-mmap.c): Renamed to ...
16721         (CFLAGS-mmap.o): This.
16722         (CFLAGS-mmap64.c): Renamed to ...
16723         (CFLAGS-mmap64.o): This.
16724         (CFLAGS-epoll_pwait.os): New.
16725         (CFLAGS-mmap.os): Likewise.
16726         (CFLAGS-mmap64.os): Likewise.
16727         (CFLAGS-semtimedop.os): Likewise.
16728         (CFLAGS-semtimedop.c): Renamed to ...
16729         (CFLAGS-semtimedop.o): This.
16731 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16733         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16734         warning message.
16736 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16738         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16739         * Makefile ($(objpfx)c++-types-check.out): Filter out
16740         $(+gccwarn-c) instead of -Wstrict-prototypes.
16742         * io/fts.c (fts_open): Convert to prototype-style function
16743         definition.
16744         * malloc/mcheck.c (mcheck): Likewise.
16745         (mcheck_pedantic): Likewise.
16746         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16747         internal_function.
16748         (re_search_internal): Likewise.
16749         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16750         prototype-style function definition.
16751         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16752         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16753         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16754         (xdr_utmpptr): Likewise.
16755         (xdr_utmparr): Likewise.
16756         (xdr_utmpidle): Likewise.
16757         (xdr_utmpidleptr): Likewise.
16758         (xdr_utmpidlearr): Likewise.
16760         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16761         log, log10 and log2.
16762         * math/auto-libm-test-out: Regenerated.
16763         * math/libm-test.inc (fmod_test_data): Add more tests.
16764         (fpclassify_test_data): Likewise.
16765         (frexp_test_data): Likewise.
16766         (hypot_test_data): Likewise.
16767         (ilogb_test_data): Likewise.
16769 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16771         * debug/fortify_fail.c (__fortify_fail): Convert to
16772         prototype-style function definition.  Use internal_function.
16773         * libio/genops.c (save_for_backup): Convert to prototype-style
16774         function definition.
16775         * libio/wgenops.c (save_for_wbackup): Likewise.
16776         * login/grantpt.c (grantpt): Likewise.
16777         * login/ptsname.c (ptsname): Likewise.
16778         (__ptsname_r): Likewise.
16779         * login/unlockpt.c (unlockpt): Likewise.
16780         * mach/msgserver.c (__mach_msg_server): Likewise.
16781         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16782         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16783         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16784         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16785         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16786         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16787         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16788         Likewise.
16789         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16790         internal_function.
16791         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16792         prototype-style function definition.
16793         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16794         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16795         (__pthread_create_2_0): Likewise.
16796         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16797         * nptl/register-atfork.c (__register_atfork): Likewise.
16798         * posix/glob.c (glob): Likewise.
16799         * posix/regcomp.c (re_comp): Likewise.
16800         * posix/regexec.c (re_exec): Likewise.
16801         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16802         [!__STDC__]: Remove conditional code.
16803         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16804         [!__STDC__]: Remove conditional code.
16805         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16806         [!__STDC__]: Remove conditional code.
16807         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16808         [!__STDC__]: Remove conditional code.
16809         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16810         [!__STDC__]: Remove conditional code.
16811         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16812         [!__STDC__]: Remove conditional code.
16813         * stdlib/mul.c [__STDC__]: Make code unconditional.
16814         [!__STDC__]: Remove conditional code.
16815         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16816         [!__STDC__]: Remove conditional code.
16817         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16818         [!__STDC__]: Remove conditional code.
16819         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16820         function definition.
16821         (STRTOF): Likewise.
16822         * stdlib/strtod_l.c (__STRTOF): Likewise.
16823         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16824         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16825         (__strtol_l): Likewise.
16826         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16827         [!__STDC__]: Remove conditional code.
16828         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16829         definition.
16830         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16831         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16832         type.
16833         (__strcasecmp): Convert to prototype-style function definition.
16834         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16835         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16836         type.
16837         (__strncasecmp): Convert to prototype-style function definition.
16838         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16839         * sunrpc/xdr.c (xdr_union): Likewise.
16840         * sunrpc/xdr_array.c (xdr_array): Likewise.
16841         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16842         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16843         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16844         Likewise.
16845         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16846         Likewise.
16847         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16848         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16849         Likewise.
16850         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16851         (LOCALE_PARAM_PROTO): Likewise.
16852         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16853         argument type.
16854         (ut_argument_spec): Remove macro.
16855         (ut_argument_spec_iso): Rename to ut_argument_spec.
16856         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16857         prototype-style function definition.
16858         (memcpy_uppcase): Likewise.
16859         (__strftime_internal): Likewise.
16860         (my_strftime): Likewise.
16861         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16862         (LOCALE_PARAM_DECL): Likewise.
16863         [_LIBC] (LOCALE_PARAM): Include argument type.
16864         (__strptime_internal): Convert to prototype-style function
16865         definition.
16866         (strptime): Likewise.
16867         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16868         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16869         type.
16870         (__wcscasecmp): Convert to prototype-style function definition.
16871         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16872         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16873         type.
16874         (__wcsncasecmp): Convert to prototype-style function definition.
16876         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16877         function definition.
16878         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16879         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16880         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16881         * elf/dl-minimal.c (_itoa): Likewise.
16882         * hurd/hurdmalloc.c (malloc): Likewise.
16883         (free): Likewise.
16884         (realloc): Likewise.
16885         * inet/inet6_option.c (inet6_option_space): Likewise.
16886         (inet6_option_init): Likewise.
16887         (inet6_option_append): Likewise.
16888         (inet6_option_alloc): Likewise.
16889         (inet6_option_next): Likewise.
16890         (inet6_option_find): Likewise.
16891         * io/ftw.c (FTW_NAME): Likewise.
16892         (NFTW_NAME): Likewise.
16893         (NFTW_NEW_NAME): Likewise.
16894         (NFTW_OLD_NAME): Likewise.
16895         * libio/iofwide.c (_IO_fwide): Likewise.
16896         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16897         (_IO_str_init_static): Likewise.
16898         (_IO_str_init_readonly): Likewise.
16899         (_IO_str_overflow): Likewise.
16900         (_IO_str_underflow): Likewise.
16901         (_IO_str_count): Likewise.
16902         (_IO_str_seekoff): Likewise.
16903         (_IO_str_pbackfail): Likewise.
16904         (_IO_str_finish): Likewise.
16905         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16906         (_IO_wstr_overflow): Likewise.
16907         (_IO_wstr_underflow): Likewise.
16908         (_IO_wstr_count): Likewise.
16909         (_IO_wstr_seekoff): Likewise.
16910         (_IO_wstr_pbackfail): Likewise.
16911         (_IO_wstr_finish): Likewise.
16912         * locale/programs/localedef.c (normalize_codeset): Likewise.
16913         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16914         (add_locales_to_archive): Likewise.
16915         (delete_locales_from_archive): Likewise.
16916         * malloc/malloc.c (__libc_mallinfo): Likewise.
16917         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16918         * misc/tsearch.c (__tfind): Likewise.
16919         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16920         * nptl/pthread_attr_getdetachstate.c
16921         (__pthread_attr_getdetachstate): Likewise.
16922         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16923         Likewise.
16924         * nptl/pthread_attr_getinheritsched.c
16925         (__pthread_attr_getinheritsched): Likewise.
16926         * nptl/pthread_attr_getschedparam.c
16927         (__pthread_attr_getschedparam): Likewise.
16928         * nptl/pthread_attr_getschedpolicy.c
16929         (__pthread_attr_getschedpolicy): Likewise.
16930         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16931         Likewise.
16932         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16933         Likewise.
16934         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16935         Likewise.
16936         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16937         Likewise.
16938         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16939         (__pthread_attr_init_2_0): Likewise.
16940         * nptl/pthread_attr_setdetachstate.c
16941         (__pthread_attr_setdetachstate): Likewise.
16942         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16943         Likewise.
16944         * nptl/pthread_attr_setinheritsched.c
16945         (__pthread_attr_setinheritsched): Likewise.
16946         * nptl/pthread_attr_setschedparam.c
16947         (__pthread_attr_setschedparam): Likewise.
16948         * nptl/pthread_attr_setschedpolicy.c
16949         (__pthread_attr_setschedpolicy): Likewise.
16950         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16951         Likewise.
16952         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16953         Likewise.
16954         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16955         Likewise.
16956         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16957         Likewise.
16958         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16959         Likewise.
16960         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16961         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16962         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16963         use internal_function.
16964         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16965         prototype-style function definition.
16966         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16967         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16968         internal_function.
16969         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16970         Convert to prototype-style function definition.
16971         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16972         Likewise.
16973         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16974         Likewise.
16975         (__pthread_mutex_unlock): Likewise.
16976         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16977         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16978         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16979         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16980         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16981         * nss/makedb.c (process_input): Likewise.
16982         * posix/fnmatch.c (__strchrnul): Likewise.
16983         (__wcschrnul): Likewise.
16984         (fnmatch): Likewise.
16985         * posix/fnmatch_loop.c (FCT): Likewise.
16986         * posix/glob.c (globfree): Likewise.
16987         (__glob_pattern_type): Likewise.
16988         (__glob_pattern_p): Likewise.
16989         * posix/regcomp.c (re_compile_pattern): Likewise.
16990         (re_set_syntax): Likewise.
16991         (re_compile_fastmap): Likewise.
16992         (regcomp): Likewise.
16993         (regerror): Likewise.
16994         (regfree): Likewise.
16995         * posix/regexec.c (regexec): Likewise.
16996         (re_match): Likewise.
16997         (re_search): Likewise.
16998         (re_match_2): Likewise.
16999         (re_search_2): Likewise.
17000         (re_search_stub): Likewise.  Use internal_function
17001         (re_copy_regs): Likewise.
17002         (re_set_registers): Convert to prototype-style function
17003         definition.
17004         (prune_impossible_nodes): Likewise.  Use internal_function.
17005         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17006         prototype-style function definition.
17007         (inet_net_pton_ipv4): Likewise.
17008         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17009         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17010         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17011         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17012         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17013         Make variadic.
17014         * time/strptime_l.c (localtime_r): Convert to prototype-style
17015         function definition.
17016         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17017         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17018         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17019         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17021         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17022         definition.
17023         (_ufc_doit_r): Likewise.
17024         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17025         (_ufc_output_conversion_r): Likewise.
17026         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17027         * inet/rcmd.c (rcmd_af): Likewise.
17028         (rcmd): Likewise.
17029         (ruserok_af): Likewise.
17030         (ruserok): Likewise.
17031         (ruserok2_sa): Likewise.
17032         (ruserok_sa): Likewise.
17033         (iruserok_af): Likewise.
17034         (iruserok): Likewise.
17035         (__ivaliduser): Likewise.
17036         (__validuser2_sa): Likewise.
17037         * inet/rexec.c (rexec_af): Likewise.
17038         (rexec): Likewise.
17039         * inet/ruserpass.c (ruserpass): Likewise.
17040         * locale/programs/xmalloc.c (xcalloc): Likewise.
17041         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17042         * math/w_drem.c (__drem): Likewise.
17043         * math/w_dremf.c (__dremf): Likewise.
17044         * math/w_dreml.c (__dreml): Likewise.
17045         * misc/daemon.c (daemon): Likewise.
17046         * resolv/res_debug.c (p_fqnname): Likewise.
17047         * stdlib/div.c (div): Likewise.
17048         * string/memcmp.c (memcmp_bytes): Likewise.
17049         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17050         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17052         * crypt/cert.c (main): Convert to prototype-style function
17053         definition.
17054         * io/pipe.c (__pipe): Likewise.
17055         * io/pipe2.c (__pipe2): Likewise.
17056         * misc/futimesat.c (futimesat): Likewise.
17057         * misc/utimes.c (__utimes): Likewise.
17058         * posix/execve.c (__execve): Likewise.
17059         * posix/execvp.c (execvp): Likewise.
17060         * posix/execvpe.c (__execvpe): Likewise.
17061         * posix/fexecve.c (fexecve): Likewise.
17062         * socket/socketpair.c (socketpair): Likewise.
17063         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17064         * stdlib/erand48.c (erand48): Likewise.
17065         * stdlib/erand48_r.c (__erand48_r): Likewise.
17066         * stdlib/jrand48.c (jrand48): Likewise.
17067         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17068         * stdlib/lcong48.c (lcong48): Likewise.
17069         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17070         * stdlib/nrand48.c (nrand48): Likewise.
17071         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17072         * stdlib/seed48.c (seed48): Likewise.
17073         * stdlib/seed48_r.c (__seed48_r): Likewise.
17074         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17075         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17076         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17078 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17080         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17081         * configure: Regenerated.
17082         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17083         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17084         unconditional.
17085         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17086         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17087         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17088         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17089         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17090         unconditional.
17091         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17093         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17094         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17096         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17097         function definition.
17098         * crypt/crypt_util.c (__encrypt_r): Likewise.
17099         * libio/genops.c (_IO_no_init): Likewise.
17100         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17101         (_IO_old_fopencookie): Likewise.
17102         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17103         * libio/iogetline.c (_IO_getline): Likewise.
17104         (_IO_getline_info): Likewise.
17105         * libio/iogetwline.c (_IO_getwline): Likewise.
17106         (_IO_getwline_info): Likewise.
17107         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17108         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17109         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17110         (find_entry): Likewise.
17111         (iterate_table): Likewise.
17112         (lookup): Likewise.
17113         * login/forkpty.c (forkpty): Likewise.
17114         * misc/hsearch_r.c (__hsearch_r): Likewise.
17115         * misc/select.c (__select): Likewise.
17116         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17117         Likewise.
17118         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17119         Likewise.
17120         * nptl/old_pthread_cond_timedwait.c
17121         (__pthread_cond_timedwait_2_0): Likewise.
17122         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17123         * nptl/pthread_barrierattr_getpshared.c
17124         (pthread_barrierattr_getpshared): Likewise.
17125         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17126         Likewise.
17127         * nptl/pthread_mutex_setprioceiling.c
17128         (pthread_mutex_setprioceiling): Likewise.
17129         * nptl/pthread_mutexattr_getprioceiling.c
17130         (pthread_mutexattr_getprioceiling): Likewise.
17131         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17132         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17133         Likewise.
17134         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17135         Likewise.
17136         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17137         Likewise.
17138         * socket/recvfrom.c (__recvfrom): Likewise.
17139         * socket/sendto.c (__sendto): Likewise.
17140         * socket/setsockopt.c (__setsockopt): Likewise.
17141         * stdio-common/_itoa.c (_itoa): Likewise.
17142         * stdio-common/_itowa.c (_itowa): Likewise.
17143         * stdio-common/reg-printf.c (__register_printf_specifier):
17144         Likewise.
17145         (__register_printf_function): Likewise.
17146         * stdio-common/tempname.c (__path_search): Likewise.
17147         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17148         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17149         * stdlib/random_r.c (__initstate_r): Likewise.
17150         * stdlib/setenv.c (__add_to_environ): Likewise.
17151         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17152         * streams/getpmsg.c (getpmsg): Likewise.
17153         * streams/putmsg.c (putmsg): Likewise.
17154         * streams/putpmsg.c (putpmsg): Likewise.
17155         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17156         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17157         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17158         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17159         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17160         * sunrpc/svc_udp.c (cache_get): Likewise.
17161         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17162         * sysdeps/mach/hurd/getcwd.c
17163         (__canonicalize_directory_name_internal): Likewise.
17164         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17165         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17166         * sysdeps/mach/hurd/select.c (__select): Likewise.
17167         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17168         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17169         * sysdeps/sparc/nptl/pthread_barrier_init.c
17170         (__pthread_barrier_init): Likewise.
17171         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17172         (__pthread_cond_timedwait): Likewise.
17173         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17174         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17175         Likewise.
17176         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17177         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17178         Likewise.
17179         * sysvipc/semtimedop.c (semtimedop): Likewise.
17180         * time/setitimer.c (__setitimer): Likewise.
17181         * time/strftime_l.c (emacs_strftime): Likewise.
17183 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17185         * config.make.in (have-ssp): Delete.
17186         (stack-protector): New variable.
17187         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17188         cache test for -fstack-protector-strong.  Export stack_protector to
17189         the best ssp flag.
17190         * configure: Regenerated.
17191         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17192         * nscd/Makefile (CFLAGS-nscd): Likewise.
17193         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17195 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17197         [BZ #19122]
17198         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17199         attribute_hidden.
17201 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17203         [BZ #18743]
17204         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17205         code to...
17206         (ELIDE_LOCK): ...here.
17207         (__get_new_count): New function with part of the code from
17208         __elide_lock that updates the value of adapt_count after a
17209         transaction abort.
17210         (__elided_trylock): Moved this code to...
17211         (ELIDE_TRYLOCK): ...here.
17213 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17215         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17216         * configure: Regenerate.
17217         * INSTALL: Regenerate.
17218         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17219         and tweak grammar.
17221 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17223         * login/programs/pt_chown.c: Include signal.h
17224         (main): Clear any signal mask from the parent process.
17226 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17228         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17229         * configure: Regenerated.
17230         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17231         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17232         $(gnu89-inline-CFLAGS).
17234         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17235         test.
17236         (libc_cv_asm_weakext_directive): Likewise.
17237         * configure: Regenerated.
17238         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17239         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17240         * include/libc-symbols.h
17241         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17242         #error.
17243         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17244         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17246         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17247         prototype-style function definition.
17248         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17249         * sysdeps/i386/ffs.c (__ffs): Likewise.
17250         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17251         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17252         Likewise.
17253         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17254         Likewise.
17255         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17257         Likewise.
17258         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17259         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17260         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17261         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17262         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17263         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17264         * sysdeps/mach/hurd/access.c (__access): Likewise.
17265         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17266         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17267         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17268         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17269         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17270         (cthread_getspecific): Likewise.
17271         (cthread_setspecific): Likewise.
17272         (__libc_getspecific): Likewise.
17273         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17274         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17275         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17276         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17277         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17278         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17279         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17280         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17281         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17282         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17283         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17284         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17285         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17286         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17287         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17288         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17289         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17290         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17291         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17292         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17293         * sysdeps/mach/hurd/link.c (__link): Likewise.
17294         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17295         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17296         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17297         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17298         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17299         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17300         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17301         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17302         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17303         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17304         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17305         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17306         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17307         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17308         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17309         * sysdeps/mach/hurd/send.c (__send): Likewise.
17310         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17311         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17312         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17313         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17314         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17315         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17316         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17317         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17318         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17319         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17320         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17321         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17322         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17323         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17324         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17325         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17326         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17327         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17328         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17329         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17330         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17331         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17332         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17333         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17334         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17335         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17336         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17337         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17338         * sysdeps/posix/alarm.c (alarm): Likewise.
17339         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17340         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17341         * sysdeps/posix/dup.c (__dup): Likewise.
17342         * sysdeps/posix/dup2.c (__dup2): Likewise.
17343         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17344         (main): Likewise.
17345         * sysdeps/posix/flock.c (__flock): Likewise.
17346         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17347         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17348         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17349         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17350         * sysdeps/posix/isatty.c (__isatty): Likewise.
17351         * sysdeps/posix/killpg.c (killpg): Likewise.
17352         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17353         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17354         * sysdeps/posix/raise.c (raise): Likewise.
17355         * sysdeps/posix/remove.c (remove): Likewise.
17356         * sysdeps/posix/rename.c (rename): Likewise.
17357         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17358         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17359         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17360         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17361         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17362         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17363         * sysdeps/posix/sigset.c (sigset): Likewise.
17364         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17365         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17366         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17367         * sysdeps/posix/time.c (time): Likewise.
17368         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17369         (ttyname): Likewise.
17370         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17371         * sysdeps/posix/utime.c (utime): Likewise.
17372         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17373         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17374         Likewise.
17375         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17376         (pthread_spin_trylock): Likewise.
17377         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17378         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17379         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17380         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17381         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17382         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17383         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17384         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17385         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17386         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17387         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17388         * sysdeps/s390/ffs.c (__ffs): Likewise.
17389         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17390         Likewise.
17391         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17392         Likewise.
17393         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17394         Likewise.
17395         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17396         (pthread_barrier_destroy): Likewise.
17397         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17398         (__pthread_barrier_wait): Likewise.
17399         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17400         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17401         (__pthread_barrier_wait): Likewise.
17402         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17403         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17404         (memcmp_not_common_alignment): Likewise.
17405         (MEMCMP): Likewise.
17406         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17407         (_wordcopy_fwd_dest_aligned): Likewise.
17408         (_wordcopy_bwd_aligned): Likewise.
17409         (_wordcopy_bwd_dest_aligned): Likewise.
17410         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17411         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17412         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17413         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17414         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17415         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17416         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17417         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17418         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17419         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17420         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17421         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17422         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17423         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17424         * sysdeps/unix/stime.c (stime): Likewise.
17425         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17426         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17427         Likewise.  Use internal_function.
17428         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17429         Convert to prototype-style function definition.
17430         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17431         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17433         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17434         Likewise.  Use internal_function.
17435         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17436         prototype-style function definition
17437         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17438         Likewise.
17439         (__getlogin_r): Likewise.
17440         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17442         (__pthread_cond_broadcast): Likewise.
17443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17444         (__pthread_cond_destroy): Likewise.
17445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17446         (__pthread_cond_init): Likewise.
17447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17448         (__pthread_cond_signal): Likewise.
17449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17450         (__pthread_cond_wait): Likewise.
17451         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17452         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17453         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17454         Likewise.
17455         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17456         Likewise.
17457         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17458         Likewise.
17459         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17460         Likewise.
17461         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17463         (__ftruncate64): Likewise.
17464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17465         (truncate64): Likewise.
17466         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17467         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17468         (pthread_getcpuclockid): Likewise.
17469         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17470         Likewise.
17471         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17472         Likewise.
17473         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17476         Likewise.
17477         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17478         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17479         (__libc_sigaction): Likewise.
17480         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17481         Likewise.
17482         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17483         (__sigprocmask): Likewise.
17484         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17485         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17486         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17487         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17488         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17489         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17490         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17491         Likewise.
17492         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17493         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17494         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17495         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17497         Likewise.
17498         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17499         (__sigprocmask): Likewise.
17500         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17501         (cfgetispeed): Likewise.
17502         (cfsetospeed): Likewise.
17503         (cfsetispeed): Likewise.
17504         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17505         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17506         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17507         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17508         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17509         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17510         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17511         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17512         Likewise.
17513         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17514         Likewise.
17515         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17516         Likewise.
17517         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17518         Likewise.
17519         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17521 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17523         sunrpc: Rewrite with explicit TLS access using __thread.
17524         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17525         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17526         directly.
17527         (__rpc_thread_variables): Access thread_rpc_vars directly.
17528         Eliminate redundant assignment of the tvp variable.
17530 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17532         malloc: Rewrite with explicit TLS access using __thread.
17533         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17534         (tsd_setspecific, tsd_getspecific): Remove.
17535         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17536         (tsd_setspecific, tsd_getspecific): Likewise.
17537         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17538         (tsd_setspecific, tsd_getspecific): Likewise.
17539         * malloc/arena.c (thread_arena): New TLS variable.
17540         (arena_key): Remove variable.
17541         (arena_get): Use thread_arena.
17542         (arena_lookup): Remove macro.
17543         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17544         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17545         (_int_new_arena, get_free_list, reused_arena)
17546         (arena_thread_freeres): Use thread_arena.
17547         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17548         tsd_getspecific, tsd_setspecific from safety annotations.
17549         (Allocating Cleared Space): Remove arena_lookup from safety
17550         annotations.
17552 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17554         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17555         struct scratch_buffer instead of extend_alloca.
17557 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17559         * sysdeps/unix/sysv/linux/kernel-features.h
17560         (__ASSUME_SOCK_CLOEXEC): Remove.
17561         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17562         (__have_paccept): Remove unused macro.
17563         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17564         * misc/syslog.c (openlog_internal): Remove fallback code for
17565         !__ASSUME_SOCK_CLOEXEC.
17566         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17567         missing SOCK_CLOEXEC.
17568         * nscd/connections.c (have_sock_cloexec): Remove definition.
17569         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17570         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17571         !__ASSUME_SOCK_CLOEXEC.
17572         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17573         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17574         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17575         definition.
17576         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17577         code for !__ASSUME_SOCK_CLOEXEC.
17579 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17581         [BZ #18982]
17582         * manual/stdio.texi (Variable Arguments Output): Add portability
17583         note, explaining that vfprintf clobbers the va_list pointer.
17585 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17587         * math/libm-test.inc (fabs_test_data): Add more tests.
17588         (fdim_test_data): Likewise.
17589         (fma_test_data): Likewise.
17590         (fmax_test_data): Likewise.
17591         (fmin_test_data): Likewise.
17592         (fmod_test_data): Likewise.
17594 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17596         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17597         data.
17599 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17601         * math/libm-test.inc (ceil_test_data): Add more tests and more
17602         expectations for "inexact".
17603         (floor_test_data): Add more tests.
17604         (round_test_data): Likewise.
17605         (trunc_test_data): Likewise.
17607         * crypt/cert.c (good_bye): Convert to prototype-style function
17608         definition.
17609         (get8): Likewise.
17610         (put8): Likewise.
17611         * crypt/crypt-entry.c (crypt): Likewise.
17612         (__fcrypt): Likewise.
17613         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17614         (_ufc_set_bits): Likewise.
17615         (_ufc_clearmem): Likewise.
17616         (__init_des_r): Likewise.
17617         (shuffle_sb): Likewise.
17618         (shuffle_sb): Likewise.
17619         (_ufc_setup_salt_r): Likewise.
17620         (_ufc_mk_keytab_r): Likewise.
17621         (_ufc_dofinalperm_r): Likewise.
17622         (encrypt): Likewise.
17623         (__setkey_r): Likewise.
17624         (setkey): Likewise.
17625         * crypt/md5.c (md5_init_ctx): Likewise.
17626         (md5_read_ctx): Likewise.
17627         (md5_finish_ctx): Likewise.
17628         (md5_stream): Likewise.
17629         (md5_buffer): Likewise.
17630         (md5_process_bytes): Likewise.
17631         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17632         (__sha256_finish_ctx): Likewise.
17633         (__sha256_process_bytes): Likewise.
17634         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17635         (__sha512_finish_ctx): Likewise.
17636         (__sha512_process_bytes): Likewise.
17637         * ctype/isctype.c (__isctype): Likewise.
17638         * debug/backtrace.c (__backtrace): Likewise.
17639         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17640         * debug/fgets_chk.c (__fgets_chk): Likewise.
17641         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17642         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17643         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17644         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17645         * debug/memset_chk.c (__memset_chk): Likewise.
17646         * debug/strcat_chk.c (__strcat_chk): Likewise.
17647         * debug/strncat_chk.c (__strncat_chk): Likewise.
17648         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17649         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17650         * dirent/dirfd.c (dirfd): Likewise.
17651         * dirent/getdents.c (__getdirentries): Likewise.
17652         * dirent/getdents64.c (getdirentries64): Likewise.
17653         * dirent/rewinddir.c (__rewinddir): Likewise.
17654         * dirent/seekdir.c (seekdir): Likewise.
17655         * dirent/telldir.c (telldir): Likewise.
17656         * elf/sln.c (makesymlinks): Likewise.
17657         (makesymlink): Likewise.
17658         * gmon/gmon.c (__moncontrol): Likewise.
17659         (__monstartup): Likewise.
17660         (write_hist): Likewise.
17661         (write_call_graph): Likewise.
17662         (write_bb_counts): Likewise.
17663         * grp/setgroups.c (setgroups): Likewise.
17664         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17665         * inet/inet_net.c (inet_network): Likewise.
17666         * inet/inet_netof.c (inet_netof): Likewise.
17667         * inet/rcmd.c (rresvport_af): Likewise.
17668         (rresvport): Likewise.
17669         * io/access.c (__access): Likewise.
17670         * io/chdir.c (__chdir): Likewise.
17671         * io/chmod.c (__chmod): Likewise.
17672         * io/chown.c (__chown): Likewise.
17673         * io/close.c (__close): Likewise.
17674         * io/creat.c (creat): Likewise.
17675         * io/creat64.c (creat64): Likewise.
17676         * io/dup.c (__dup): Likewise.
17677         * io/dup2.c (__dup2): Likewise.
17678         * io/dup3.c (__dup3): Likewise.
17679         * io/euidaccess.c (__euidaccess): Likewise.
17680         * io/faccessat.c (faccessat): Likewise.
17681         * io/fchmod.c (__fchmod): Likewise.
17682         * io/fchmodat.c (fchmodat): Likewise.
17683         * io/fchown.c (__fchown): Likewise.
17684         * io/fchownat.c (fchownat): Likewise.
17685         * io/fcntl.c (__fcntl): Likewise.
17686         * io/flock.c (__flock): Likewise.
17687         * io/fts.c (fts_load): Likewise.
17688         (fts_close): Likewise.
17689         (fts_read): Likewise.
17690         (fts_set): Likewise.
17691         (fts_children): Likewise.
17692         (fts_build): Likewise.
17693         (fts_stat): Likewise.
17694         (fts_sort): Likewise.
17695         (fts_alloc): Likewise.
17696         (fts_lfree): Likewise.
17697         (fts_palloc): Likewise.
17698         (fts_padjust): Likewise.
17699         (fts_maxarglen): Likewise.
17700         (fts_safe_changedir): Likewise.
17701         * io/getwd.c (getwd): Likewise.
17702         * io/isatty.c (__isatty): Likewise.
17703         * io/lchown.c (__lchown): Likewise.
17704         * io/link.c (__link): Likewise.
17705         * io/linkat.c (linkat): Likewise.
17706         * io/lseek.c (__libc_lseek): Likewise.
17707         * io/mkdir.c (__mkdir): Likewise.
17708         * io/mkdirat.c (mkdirat): Likewise.
17709         * io/mkfifo.c (mkfifo): Likewise.
17710         * io/mkfifoat.c (mkfifoat): Likewise.
17711         * io/open.c (__libc_open): Likewise.
17712         * io/open64.c (__libc_open64): Likewise.
17713         * io/readlink.c (__readlink): Likewise.
17714         * io/readlinkat.c (readlinkat): Likewise.
17715         * io/rmdir.c (__rmdir): Likewise.
17716         * io/symlink.c (__symlink): Likewise.
17717         * io/symlinkat.c (symlinkat): Likewise.
17718         * io/ttyname.c (ttyname): Likewise.
17719         * io/ttyname_r.c (__ttyname_r): Likewise.
17720         * io/umask.c (__umask): Likewise.
17721         * io/unlink.c (__unlink): Likewise.
17722         * io/unlinkat.c (unlinkat): Likewise.
17723         * io/utime.c (utime): Likewise.
17724         * libio/clearerr.c (clearerr): Likewise.
17725         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17726         * libio/feof.c (_IO_feof): Likewise.
17727         * libio/feof_u.c (feof_unlocked): Likewise.
17728         * libio/ferror.c (_IO_ferror): Likewise.
17729         * libio/ferror_u.c (ferror_unlocked): Likewise.
17730         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17731         * libio/fileno.c (__fileno): Likewise.
17732         * libio/fputc.c (fputc): Likewise.
17733         * libio/fputc_u.c (fputc_unlocked): Likewise.
17734         * libio/fputwc.c (fputwc): Likewise.
17735         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17736         * libio/freopen.c (freopen): Likewise.
17737         * libio/freopen64.c (freopen64): Likewise.
17738         * libio/fseek.c (fseek): Likewise.
17739         * libio/fseeko.c (fseeko): Likewise.
17740         * libio/fseeko64.c (fseeko64): Likewise.
17741         * libio/ftello.c (__ftello): Likewise.
17742         * libio/ftello64.c (ftello64): Likewise.
17743         * libio/fwide.c (fwide): Likewise.
17744         * libio/genops.c (_IO_un_link): Likewise.
17745         (_IO_link_in): Likewise.
17746         (_IO_least_marker): Likewise.
17747         (_IO_switch_to_main_get_area): Likewise.
17748         (_IO_switch_to_backup_area): Likewise.
17749         (_IO_switch_to_get_mode): Likewise.
17750         (_IO_free_backup_area): Likewise.
17751         (_IO_switch_to_put_mode): Likewise.
17752         (__overflow): Likewise.
17753         (__underflow): Likewise.
17754         (__uflow): Likewise.
17755         (_IO_setb): Likewise.
17756         (_IO_doallocbuf): Likewise.
17757         (_IO_default_underflow): Likewise.
17758         (_IO_default_uflow): Likewise.
17759         (_IO_default_xsputn): Likewise.
17760         (_IO_sgetn): Likewise.
17761         (_IO_default_xsgetn): Likewise.
17762         (_IO_sync): Likewise.
17763         (_IO_default_setbuf): Likewise.
17764         (_IO_default_seekpos): Likewise.
17765         (_IO_default_doallocate): Likewise.
17766         (_IO_init): Likewise.
17767         (_IO_old_init): Likewise.
17768         (_IO_default_sync): Likewise.
17769         (_IO_default_finish): Likewise.
17770         (_IO_default_seekoff): Likewise.
17771         (_IO_sputbackc): Likewise.
17772         (_IO_sungetc): Likewise.
17773         (_IO_set_column): Likewise.
17774         (_IO_set_column): Likewise.
17775         (_IO_adjust_column): Likewise.
17776         (_IO_get_column): Likewise.
17777         (_IO_init_marker): Likewise.
17778         (_IO_remove_marker): Likewise.
17779         (_IO_marker_difference): Likewise.
17780         (_IO_marker_delta): Likewise.
17781         (_IO_seekmark): Likewise.
17782         (_IO_unsave_markers): Likewise.
17783         (_IO_nobackup_pbackfail): Likewise.
17784         (_IO_default_pbackfail): Likewise.
17785         (_IO_default_seek): Likewise.
17786         (_IO_default_stat): Likewise.
17787         (_IO_default_read): Likewise.
17788         (_IO_default_write): Likewise.
17789         (_IO_default_showmanyc): Likewise.
17790         (_IO_default_imbue): Likewise.
17791         (_IO_iter_next): Likewise.
17792         (_IO_iter_file): Likewise.
17793         * libio/getc.c (_IO_getc): Likewise.
17794         * libio/getwc.c (_IO_getwc): Likewise.
17795         * libio/iofclose.c (_IO_new_fclose): Likewise.
17796         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17797         * libio/iofflush.c (_IO_fflush): Likewise.
17798         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17799         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17800         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17801         * libio/iofgets.c (_IO_fgets): Likewise.
17802         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17803         * libio/iofgetws.c (fgetws): Likewise.
17804         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17805         * libio/iofopen64.c (_IO_fopen64): Likewise.
17806         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17807         (_IO_cookie_write): Likewise.
17808         (_IO_cookie_seek): Likewise.
17809         (_IO_cookie_close): Likewise.
17810         (_IO_cookie_seekoff): Likewise.
17811         (_IO_old_cookie_seek): Likewise.
17812         * libio/iofputs.c (_IO_fputs): Likewise.
17813         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17814         * libio/iofputws.c (fputws): Likewise.
17815         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17816         * libio/iofread.c (_IO_fread): Likewise.
17817         * libio/iofread_u.c (__fread_unlocked): Likewise.
17818         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17819         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17820         * libio/ioftell.c (_IO_ftell): Likewise.
17821         * libio/iofwrite.c (_IO_fwrite): Likewise.
17822         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17823         * libio/iogets.c (_IO_gets): Likewise.
17824         * libio/iopadn.c (_IO_padn): Likewise.
17825         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17826         (_IO_new_popen): Likewise.
17827         (_IO_new_proc_close): Likewise.
17828         * libio/ioputs.c (_IO_puts): Likewise.
17829         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17830         (_IO_seekoff): Likewise.
17831         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17832         (_IO_seekpos): Likewise.
17833         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17834         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17835         * libio/ioungetc.c (_IO_ungetc): Likewise.
17836         * libio/ioungetwc.c (ungetwc): Likewise.
17837         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17838         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17839         * libio/iowpadn.c (_IO_wpadn): Likewise.
17840         * libio/libc_fatal.c (__libc_fatal): Likewise.
17841         * libio/memstream.c (__open_memstream): Likewise.
17842         (_IO_mem_sync): Likewise.
17843         (_IO_mem_finish): Likewise.
17844         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17845         (_IO_old_file_close_it): Likewise.
17846         (_IO_old_file_finish): Likewise.
17847         (_IO_old_file_fopen): Likewise.
17848         (_IO_old_file_attach): Likewise.
17849         (_IO_old_file_setbuf): Likewise.
17850         (_IO_old_do_write): Likewise.
17851         (old_do_write): Likewise.
17852         (_IO_old_file_underflow): Likewise.
17853         (_IO_old_file_overflow): Likewise.
17854         (_IO_old_file_sync): Likewise.
17855         (_IO_old_file_seekoff): Likewise.
17856         (_IO_old_file_write): Likewise.
17857         (_IO_old_file_xsputn): Likewise.
17858         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17859         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17860         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17861         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17862         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17863         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17864         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17865         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17866         (_IO_old_popen): Likewise.
17867         (_IO_old_proc_close): Likewise.
17868         * libio/oldpclose.c (__old_pclose): Likewise.
17869         * libio/pclose.c (__new_pclose): Likewise.
17870         * libio/peekc.c (_IO_peekc_locked): Likewise.
17871         * libio/putc.c (_IO_putc): Likewise.
17872         * libio/putc_u.c (putc_unlocked): Likewise.
17873         * libio/putchar.c (putchar): Likewise.
17874         * libio/putchar_u.c (putchar_unlocked): Likewise.
17875         * libio/putwc.c (putwc): Likewise.
17876         * libio/putwc_u.c (putwc_unlocked): Likewise.
17877         * libio/putwchar.c (putwchar): Likewise.
17878         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17879         * libio/rewind.c (rewind): Likewise.
17880         * libio/setbuf.c (setbuf): Likewise.
17881         * libio/setlinebuf.c (setlinebuf): Likewise.
17882         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17883         * libio/vscanf.c (_IO_vscanf): Likewise.
17884         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17885         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17886         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17887         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17888         (_IO_switch_to_main_wget_area): Likewise.
17889         (_IO_switch_to_wbackup_area): Likewise.
17890         (_IO_wsetb): Likewise.
17891         (_IO_wdefault_pbackfail): Likewise.
17892         (_IO_wdefault_finish): Likewise.
17893         (_IO_wdefault_uflow): Likewise.
17894         (__woverflow): Likewise.
17895         (__wuflow): Likewise.
17896         (__wunderflow): Likewise.
17897         (_IO_wdefault_xsputn): Likewise.
17898         (_IO_wdefault_xsgetn): Likewise.
17899         (_IO_wdoallocbuf): Likewise.
17900         (_IO_wdefault_doallocate): Likewise.
17901         (_IO_switch_to_wget_mode): Likewise.
17902         (_IO_free_wbackup_area): Likewise.
17903         (_IO_switch_to_wput_mode): Likewise.
17904         (_IO_sputbackwc): Likewise.
17905         (_IO_sungetwc): Likewise.
17906         (_IO_adjust_wcolumn): Likewise.
17907         (_IO_init_wmarker): Likewise.
17908         (_IO_wmarker_delta): Likewise.
17909         (_IO_seekwmark): Likewise.
17910         (_IO_unsave_wmarkers): Likewise.
17911         * libio/wmemstream.c (open_wmemstream): Likewise.
17912         (_IO_wmem_sync): Likewise.
17913         (_IO_wmem_finish): Likewise.
17914         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17915         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17916         * locale/programs/simple-hash.c (init_hash): Likewise.
17917         (delete_hash): Likewise.
17918         (insert_entry): Likewise.
17919         (set_entry): Likewise.
17920         (next_prime): Likewise.
17921         (is_prime): Likewise.
17922         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17923         (xmalloc): Likewise.
17924         (xrealloc): Likewise.
17925         * locale/programs/xstrdup.c (xstrdup): Likewise.
17926         * localedata/collate-test.c (xstrcoll): Likewise.
17927         * localedata/xfrm-test.c (xstrcmp): Likewise.
17928         * login/getlogin_r.c (__getlogin_r): Likewise.
17929         * login/getpt.c (__posix_openpt): Likewise.
17930         * login/login_tty.c (login_tty): Likewise.
17931         * login/setlogin.c (setlogin): Likewise.
17932         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17933         (mach_msg_destroy_port): Likewise.
17934         (mach_msg_destroy_memory): Likewise.
17935         * malloc/mcheck.c (flood): Likewise.
17936         * misc/acct.c (acct): Likewise.
17937         * misc/brk.c (__brk): Likewise.
17938         * misc/chflags.c (chflags): Likewise.
17939         * misc/chroot.c (chroot): Likewise.
17940         * misc/fchflags.c (fchflags): Likewise.
17941         * misc/fstab.c (getfsspec): Likewise.
17942         (getfsfile): Likewise.
17943         * misc/fsync.c (fsync): Likewise.
17944         * misc/ftruncate.c (__ftruncate): Likewise.
17945         * misc/ftruncate64.c (__ftruncate64): Likewise.
17946         * misc/getdomain.c (getdomainname): Likewise.
17947         (getdomainname): Likewise.
17948         * misc/gethostname.c (__gethostname): Likewise.
17949         * misc/getpass.c (getpass): Likewise.
17950         * misc/getttyent.c (skip): Likewise.
17951         (value): Likewise.
17952         * misc/gtty.c (gtty): Likewise.
17953         * misc/hsearch.c (hsearch): Likewise.
17954         (hcreate): Likewise.
17955         * misc/hsearch_r.c (__hcreate_r): Likewise.
17956         (__hdestroy_r): Likewise.
17957         * misc/ioctl.c (__ioctl): Likewise.
17958         * misc/mkdtemp.c (mkdtemp): Likewise.
17959         * misc/mkostemp.c (mkostemp): Likewise.
17960         * misc/mkostemp64.c (mkostemp64): Likewise.
17961         * misc/mkostemps.c (mkostemps): Likewise.
17962         * misc/mkostemps64.c (mkostemps64): Likewise.
17963         * misc/mkstemp.c (mkstemp): Likewise.
17964         * misc/mkstemp64.c (mkstemp64): Likewise.
17965         * misc/mkstemps.c (mkstemps): Likewise.
17966         * misc/mkstemps64.c (mkstemps64): Likewise.
17967         * misc/mktemp.c (__mktemp): Likewise.
17968         * misc/preadv.c (preadv): Likewise.
17969         * misc/preadv64.c (preadv64): Likewise.
17970         * misc/pwritev.c (pwritev): Likewise.
17971         * misc/pwritev64.c (pwritev64): Likewise.
17972         * misc/readv.c (__readv): Likewise.
17973         * misc/revoke.c (revoke): Likewise.
17974         * misc/setdomain.c (setdomainname): Likewise.
17975         * misc/setegid.c (setegid): Likewise.
17976         * misc/seteuid.c (seteuid): Likewise.
17977         * misc/sethostid.c (sethostid): Likewise.
17978         * misc/sethostname.c (sethostname): Likewise.
17979         * misc/setregid.c (__setregid): Likewise.
17980         * misc/setreuid.c (__setreuid): Likewise.
17981         * misc/sstk.c (sstk): Likewise.
17982         * misc/stty.c (stty): Likewise.
17983         * misc/syscall.c (syscall): Likewise.
17984         * misc/syslog.c (setlogmask): Likewise.
17985         * misc/truncate.c (__truncate): Likewise.
17986         * misc/truncate64.c (truncate64): Likewise.
17987         * misc/ualarm.c (ualarm): Likewise.
17988         * misc/usleep.c (usleep): Likewise.
17989         * misc/ustat.c (ustat): Likewise.
17990         * misc/writev.c (__writev): Likewise.
17991         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17992         * nptl/old_pthread_cond_broadcast.c
17993         (__pthread_cond_broadcast_2_0): Likewise.
17994         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17995         Likewise.
17996         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17997         Likewise.
17998         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17999         Likewise.
18000         * nptl/pt-raise.c (raise): Likewise.
18001         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18002         Likewise.
18003         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18004         * nptl/pthread_barrierattr_destroy.c
18005         (pthread_barrierattr_destroy): Likewise.
18006         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18007         Likewise.
18008         * nptl/pthread_barrierattr_setpshared.c
18009         (pthread_barrierattr_setpshared): Likewise.
18010         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18011         Likewise.
18012         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18013         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18014         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18015         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18016         Likewise.
18017         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18018         Likewise.
18019         * nptl/pthread_condattr_getpshared.c
18020         (pthread_condattr_getpshared): Likewise.
18021         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18022         Likewise.
18023         * nptl/pthread_condattr_setpshared.c
18024         (pthread_condattr_setpshared): Likewise.
18025         * nptl/pthread_detach.c (pthread_detach): Likewise.
18026         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18027         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18028         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18029         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18030         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18031         Likewise.
18032         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18033         Likewise.
18034         * nptl/pthread_mutex_getprioceiling.c
18035         (pthread_mutex_getprioceiling): Likewise.
18036         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18037         Likewise.
18038         * nptl/pthread_mutexattr_getprotocol.c
18039         (pthread_mutexattr_getprotocol): Likewise.
18040         * nptl/pthread_mutexattr_getpshared.c
18041         (pthread_mutexattr_getpshared): Likewise.
18042         * nptl/pthread_mutexattr_getrobust.c
18043         (pthread_mutexattr_getrobust): Likewise.
18044         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18045         Likewise.
18046         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18047         Likewise.
18048         * nptl/pthread_mutexattr_setprioceiling.c
18049         (pthread_mutexattr_setprioceiling): Likewise.
18050         * nptl/pthread_mutexattr_setprotocol.c
18051         (pthread_mutexattr_setprotocol): Likewise.
18052         * nptl/pthread_mutexattr_setpshared.c
18053         (pthread_mutexattr_setpshared): Likewise.
18054         * nptl/pthread_mutexattr_setrobust.c
18055         (pthread_mutexattr_setrobust): Likewise.
18056         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18057         Likewise.
18058         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18059         Likewise.
18060         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18061         Likewise.
18062         * nptl/pthread_rwlockattr_getkind_np.c
18063         (pthread_rwlockattr_getkind_np): Likewise.
18064         * nptl/pthread_rwlockattr_getpshared.c
18065         (pthread_rwlockattr_getpshared): Likewise.
18066         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18067         Likewise.
18068         * nptl/pthread_rwlockattr_setkind_np.c
18069         (pthread_rwlockattr_setkind_np): Likewise.
18070         * nptl/pthread_rwlockattr_setpshared.c
18071         (pthread_rwlockattr_setpshared): Likewise.
18072         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18073         Likewise.
18074         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18075         Likewise.
18076         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18077         Likewise.
18078         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18079         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18080         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18081         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18082         * nptl/sem_close.c (sem_close): Likewise.
18083         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18084         * nptl/sem_init.c (__old_sem_init): Likewise.
18085         * nptl/sigaction.c (__sigaction): Likewise.
18086         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18087         * posix/_exit.c (_exit): Likewise.
18088         * posix/alarm.c (alarm): Likewise.
18089         * posix/confstr.c (confstr): Likewise.
18090         * posix/fpathconf.c (__fpathconf): Likewise.
18091         * posix/getgroups.c (__getgroups): Likewise.
18092         * posix/getpgid.c (__getpgid): Likewise.
18093         * posix/group_member.c (__group_member): Likewise.
18094         * posix/pathconf.c (__pathconf): Likewise.
18095         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18096         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18097         * posix/setgid.c (__setgid): Likewise.
18098         * posix/setpgid.c (__setpgid): Likewise.
18099         * posix/setuid.c (__setuid): Likewise.
18100         * posix/sleep.c (__sleep): Likewise.
18101         * posix/sysconf.c (__sysconf): Likewise.
18102         * posix/times.c (__times): Likewise.
18103         * posix/uname.c (__uname): Likewise.
18104         * posix/waitid.c (__waitid): Likewise.
18105         * pwd/getpw.c (__getpw): Likewise.
18106         * resolv/base64.c (b64_pton): Likewise.
18107         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18108         * resolv/gethnamaddr.c (Dprintf): Likewise.
18109         (gethostbyname): Likewise.
18110         (gethostbyname2): Likewise.
18111         (gethostbyaddr): Likewise.
18112         (_sethtent): Likewise.
18113         (_gethtbyname): Likewise.
18114         (_gethtbyname2): Likewise.
18115         (_gethtbyaddr): Likewise.
18116         (map_v4v6_address): Likewise.
18117         (map_v4v6_hostent): Likewise.
18118         (addrsort): Likewise.
18119         (ht_sethostent): Likewise.
18120         (ht_gethostbyname): Likewise.
18121         (ht_gethostbyaddr): Likewise.
18122         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18123         (inet_net_ntop_ipv4): Likewise.
18124         * resolv/inet_neta.c (inet_neta): Likewise.
18125         * resolv/inet_ntop.c (inet_ntop): Likewise.
18126         (inet_ntop4): Likewise.
18127         (inet_ntop6): Likewise.
18128         * resolv/inet_pton.c (__inet_pton): Likewise.
18129         (inet_pton4): Likewise.
18130         (inet_pton6): Likewise.
18131         * resolv/res_debug.c (loc_aton): Likewise.
18132         (loc_ntoa): Likewise.
18133         * resource/getpriority.c (__getpriority): Likewise.
18134         * resource/getrusage.c (__getrusage): Likewise.
18135         * resource/nice.c (nice): Likewise.
18136         * resource/setpriority.c (__setpriority): Likewise.
18137         * resource/setrlimit64.c (setrlimit64): Likewise.
18138         * resource/vlimit.c (vlimit): Likewise.
18139         * resource/vtimes.c (vtimes): Likewise.
18140         * rt/aio_error.c (aio_error): Likewise.
18141         * rt/aio_return.c (aio_return): Likewise.
18142         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18143         * signal/kill.c (__kill): Likewise.
18144         * signal/killpg.c (killpg): Likewise.
18145         * signal/raise.c (raise): Likewise.
18146         * signal/sigaction.c (__sigaction): Likewise.
18147         * signal/sigaddset.c (sigaddset): Likewise.
18148         * signal/sigaltstack.c (sigaltstack): Likewise.
18149         * signal/sigandset.c (sigandset): Likewise.
18150         * signal/sigblock.c (__sigblock): Likewise.
18151         * signal/sigdelset.c (sigdelset): Likewise.
18152         * signal/sigempty.c (sigemptyset): Likewise.
18153         * signal/sigfillset.c (sigfillset): Likewise.
18154         * signal/sighold.c (sighold): Likewise.
18155         * signal/sigignore.c (sigignore): Likewise.
18156         * signal/sigintr.c (siginterrupt): Likewise.
18157         * signal/sigisempty.c (sigisemptyset): Likewise.
18158         * signal/sigismem.c (sigismember): Likewise.
18159         * signal/signal.c (signal): Likewise.
18160         * signal/sigorset.c (sigorset): Likewise.
18161         * signal/sigpause.c (__sigpause): Likewise.
18162         * signal/sigpending.c (sigpending): Likewise.
18163         * signal/sigprocmask.c (__sigprocmask): Likewise.
18164         * signal/sigrelse.c (sigrelse): Likewise.
18165         * signal/sigreturn.c (__sigreturn): Likewise.
18166         * signal/sigset.c (sigset): Likewise.
18167         * signal/sigsetmask.c (__sigsetmask): Likewise.
18168         * signal/sigstack.c (sigstack): Likewise.
18169         * signal/sigsuspend.c (__sigsuspend): Likewise.
18170         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18171         * signal/sysv_signal.c (__sysv_signal): Likewise.
18172         * socket/accept.c (accept): Likewise.
18173         * socket/accept4.c (__libc_accept4): Likewise.
18174         * socket/bind.c (__bind): Likewise.
18175         * socket/connect.c (__connect): Likewise.
18176         * socket/getpeername.c (getpeername): Likewise.
18177         * socket/getsockname.c (__getsockname): Likewise.
18178         * socket/getsockopt.c (getsockopt): Likewise.
18179         * socket/listen.c (__listen): Likewise.
18180         * socket/recv.c (__recv): Likewise.
18181         * socket/recvmsg.c (__recvmsg): Likewise.
18182         * socket/send.c (__send): Likewise.
18183         * socket/sendmsg.c (__sendmsg): Likewise.
18184         * socket/shutdown.c (shutdown): Likewise.
18185         * socket/sockatmark.c (sockatmark): Likewise.
18186         * socket/socket.c (__socket): Likewise.
18187         * stdio-common/ctermid.c (ctermid): Likewise.
18188         * stdio-common/cuserid.c (cuserid): Likewise.
18189         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18190         * stdio-common/remove.c (remove): Likewise.
18191         * stdio-common/rename.c (rename): Likewise.
18192         * stdio-common/renameat.c (renameat): Likewise.
18193         * stdio-common/tempname.c (__gen_tempname): Likewise.
18194         * stdio-common/xbug.c (InitBuffer): Likewise.
18195         (AppendToBuffer): Likewise.
18196         (ReadFile): Likewise.
18197         * stdlib/a64l.c (a64l): Likewise.
18198         * stdlib/drand48_r.c (drand48_r): Likewise.
18199         * stdlib/getcontext.c (getcontext): Likewise.
18200         * stdlib/getenv.c (getenv): Likewise.
18201         * stdlib/l64a.c (l64a): Likewise.
18202         * stdlib/llabs.c (llabs): Likewise.
18203         * stdlib/lldiv.c (lldiv): Likewise.
18204         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18205         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18206         * stdlib/putenv.c (putenv): Likewise.
18207         * stdlib/random.c (__srandom): Likewise.
18208         (__initstate): Likewise.
18209         (__setstate): Likewise.
18210         * stdlib/random_r.c (__srandom_r): Likewise.
18211         (__setstate_r): Likewise.
18212         (__random_r): Likewise.
18213         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18214         * stdlib/setcontext.c (setcontext): Likewise.
18215         * stdlib/setenv.c (setenv): Likewise.
18216         (unsetenv): Likewise.
18217         * stdlib/srand48.c (srand48): Likewise.
18218         * stdlib/srand48_r.c (__srand48_r): Likewise.
18219         * stdlib/swapcontext.c (swapcontext): Likewise.
18220         * stdlib/system.c (__libc_system): Likewise.
18221         * stdlib/tst-strtod.c (expand): Likewise.
18222         * stdlib/tst-strtol.c (expand): Likewise.
18223         * stdlib/tst-strtoll.c (expand): Likewise.
18224         * streams/fattach.c (fattach): Likewise.
18225         * streams/fdetach.c (fdetach): Likewise.
18226         * streams/getmsg.c (getmsg): Likewise.
18227         * streams/isastream.c (isastream): Likewise.
18228         * string/ffs.c (__ffs): Likewise.
18229         * string/ffsll.c (ffsll): Likewise.
18230         * string/memcmp.c (memcmp_common_alignment): Likewise.
18231         (memcmp_not_common_alignment): Likewise.
18232         (MEMCMP): Likewise.
18233         * string/memcpy.c (memcpy): Likewise.
18234         * string/memmove.c (MEMMOVE): Likewise.
18235         * string/memset.c (memset): Likewise.
18236         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18237         * string/strchrnul.c (STRCHRNUL): Likewise.
18238         * string/strerror.c (strerror): Likewise.
18239         * string/strndup.c (__strndup): Likewise.
18240         * string/strverscmp.c (__strverscmp): Likewise.
18241         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18242         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18243         (clnttcp_freeres): Likewise.
18244         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18245         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18246         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18247         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18248         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18249         (xdr_callhdr): Likewise.
18250         * sunrpc/rpcinfo.c (udpping): Likewise.
18251         (tcpping): Likewise.
18252         (pstatus): Likewise.
18253         (pmapdump): Likewise.
18254         (brdcst): Likewise.
18255         (deletereg): Likewise.
18256         (getprognum): Likewise.
18257         (getvers): Likewise.
18258         (get_inet_address): Likewise.
18259         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18260         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18261         (svcudp_stat): Likewise.
18262         (svcudp_recv): Likewise.
18263         (svcudp_reply): Likewise.
18264         (svcudp_getargs): Likewise.
18265         (svcudp_freeargs): Likewise.
18266         (svcudp_destroy): Likewise.
18267         * sunrpc/xdr.c (xdr_bytes): Likewise.
18268         (xdr_netobj): Likewise.
18269         (xdr_string): Likewise.
18270         (xdr_wrapstring): Likewise.
18271         * sunrpc/xdr_float.c (xdr_float): Likewise.
18272         (xdr_double): Likewise.
18273         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18274         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18275         * sysvipc/ftok.c (ftok): Likewise.
18276         * sysvipc/msgctl.c (msgctl): Likewise.
18277         * sysvipc/msgget.c (msgget): Likewise.
18278         * sysvipc/msgrcv.c (msgrcv): Likewise.
18279         * sysvipc/msgsnd.c (msgsnd): Likewise.
18280         * sysvipc/semget.c (semget): Likewise.
18281         * sysvipc/semop.c (semop): Likewise.
18282         * sysvipc/shmat.c (shmat): Likewise.
18283         * sysvipc/shmctl.c (shmctl): Likewise.
18284         * sysvipc/shmdt.c (shmdt): Likewise.
18285         * sysvipc/shmget.c (shmget): Likewise.
18286         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18287         * termios/speed.c (cfgetospeed): Likewise.
18288         (cfgetispeed): Likewise.
18289         (cfsetospeed): Likewise.
18290         (cfsetispeed): Likewise.
18291         * termios/tcflow.c (tcflow): Likewise.
18292         * termios/tcflush.c (tcflush): Likewise.
18293         * termios/tcgetattr.c (__tcgetattr): Likewise.
18294         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18295         * termios/tcgetsid.c (tcgetsid): Likewise.
18296         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18297         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18298         * time/adjtime.c (__adjtime): Likewise.
18299         * time/dysize.c (dysize): Likewise.
18300         * time/ftime.c (ftime): Likewise.
18301         * time/getitimer.c (__getitimer): Likewise.
18302         * time/gettimeofday.c (__gettimeofday): Likewise.
18303         * time/gmtime.c (__gmtime_r): Likewise.
18304         (gmtime): Likewise.
18305         * time/localtime.c (__localtime_r): Likewise.
18306         (localtime): Likewise.
18307         * time/offtime.c (__offtime): Likewise.
18308         * time/settimeofday.c (__settimeofday): Likewise.
18309         * time/stime.c (stime): Likewise.
18310         * time/strftime_l.c (tm_diff): Likewise.
18311         (iso_week_days): Likewise.
18312         * time/strptime.c (strptime): Likewise.
18313         * time/time.c (time): Likewise.
18314         * time/timespec_get.c (timespec_get): Likewise.
18315         * time/tzset.c (tzset_internal): Likewise.
18316         (compute_change): Likewise.
18317         (__tz_compute): Likewise.
18318         * wcsmbs/btowc.c (__btowc): Likewise.
18319         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18320         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18321         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18322         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18323         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18324         * wcsmbs/wcscat.c (__wcscat): Likewise.
18325         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18326         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18327         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18329         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18330         * wcsmbs/wcslen.c (__wcslen): Likewise.
18331         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18332         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18333         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18334         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18335         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18336         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18337         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18338         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18339         * wcsmbs/wcstok.c (wcstok): Likewise.
18340         * wcsmbs/wctob.c (wctob): Likewise.
18341         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18342         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18343         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18344         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18345         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18346         * wcsmbs/wmemset.c (__wmemset): Likewise.
18347         * wctype/wcfuncs.c (__towlower): Likewise.
18348         (__towupper): Likewise.
18350         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18351         (lll_unlock_elision): Add adapt_count parameter.
18353 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18355         * sysdeps/nptl/configure.ac: Do not give errors based on the
18356         results of top-level configure tests.
18357         * sysdeps/nptl/configure: Regenerated.
18359         * configure.ac (libc_cv_Bgroup): Remove configure test.
18360         * configure: Regenerated.
18361         * config.make.in (have-Bgroup): Remove variable.
18363         * configure.ac (sizeof_long_double): Remove configure test.
18364         * configure: Regenerated.
18365         * config.make.in (sizeof-long-double): Remove variable.
18367         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18368         * configure: Regenerated.
18369         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18370         variable.
18371         (exceptions): Likewise.
18372         * sysdeps/arm/configure: Regenerated.
18373         * config.make.in (exceptions): Remove variable.
18374         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18375         $(exceptions).
18376         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18377         (CFLAGS-vdprintf_chk.c): Likewise.
18378         (CFLAGS-printf_chk.c): Likewise.
18379         (CFLAGS-fprintf_chk.c): Likewise.
18380         (CFLAGS-vprintf_chk.c): Likewise.
18381         (CFLAGS-vfprintf_chk.c): Likewise.
18382         (CFLAGS-gets_chk.c): Likewise.
18383         (CFLAGS-fgets_chk.c): Likewise.
18384         (CFLAGS-fgets_u_chk.c): Likewise.
18385         (CFLAGS-fread_chk.c): Likewise.
18386         (CFLAGS-fread_u_chk.c): Likewise.
18387         (CFLAGS-wprintf_chk.c): Likewise.
18388         (CFLAGS-fwprintf_chk.c): Likewise.
18389         (CFLAGS-vwprintf_chk.c): Likewise.
18390         (CFLAGS-vfwprintf_chk.c): Likewise.
18391         (CFLAGS-fgetws_chk.c): Likewise.
18392         (CFLAGS-fgetws_u_chk.c): Likewise.
18393         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18394         (CFLAGS-fputc.c): Likewise.
18395         (CFLAGS-fputwc.c): Likewise.
18396         (CFLAGS-freopen64.c): Likewise.
18397         (CFLAGS-freopen.c): Likewise.
18398         (CFLAGS-fseek.c): Likewise.
18399         (CFLAGS-fseeko64.c): Likewise.
18400         (CFLAGS-fseeko.c): Likewise.
18401         (CFLAGS-ftello64.c): Likewise.
18402         (CFLAGS-ftello.c): Likewise.
18403         (CFLAGS-fwide.c): Likewise.
18404         (CFLAGS-genops.c): Likewise.
18405         (CFLAGS-getc.c): Likewise.
18406         (CFLAGS-getchar.c): Likewise.
18407         (CFLAGS-getwc.c): Likewise.
18408         (CFLAGS-getwchar.c): Likewise.
18409         (CFLAGS-iofclose.c): Likewise.
18410         (CFLAGS-iofflush.c): Likewise.
18411         (CFLAGS-iofgetpos64.c): Likewise.
18412         (CFLAGS-iofgetpos.c): Likewise.
18413         (CFLAGS-iofgets.c): Likewise.
18414         (CFLAGS-iofgetws.c): Likewise.
18415         (CFLAGS-iofputs.c): Likewise.
18416         (CFLAGS-iofputws.c): Likewise.
18417         (CFLAGS-iofread.c): Likewise.
18418         (CFLAGS-iofsetpos64.c): Likewise.
18419         (CFLAGS-iofsetpos.c): Likewise.
18420         (CFLAGS-ioftell.c): Likewise.
18421         (CFLAGS-iofwrite.c): Likewise.
18422         (CFLAGS-iogetdelim.c): Likewise.
18423         (CFLAGS-iogetline.c): Likewise.
18424         (CFLAGS-iogets.c): Likewise.
18425         (CFLAGS-iogetwline.c): Likewise.
18426         (CFLAGS-ioputs.c): Likewise.
18427         (CFLAGS-ioseekoff.c): Likewise.
18428         (CFLAGS-ioseekpos.c): Likewise.
18429         (CFLAGS-iosetbuffer.c): Likewise.
18430         (CFLAGS-iosetvbuf.c): Likewise.
18431         (CFLAGS-ioungetc.c): Likewise.
18432         (CFLAGS-ioungetwc.c): Likewise.
18433         (CFLAGS-oldfileops.c): Likewise.
18434         (CFLAGS-oldiofclose.c): Likewise.
18435         (CFLAGS-oldiofgetpos64.c): Likewise.
18436         (CFLAGS-oldiofgetpos.c): Likewise.
18437         (CFLAGS-oldiofsetpos64.c): Likewise.
18438         (CFLAGS-oldiofsetpos.c): Likewise.
18439         (CFLAGS-peekc.c): Likewise.
18440         (CFLAGS-putc.c): Likewise.
18441         (CFLAGS-putchar.c): Likewise.
18442         (CFLAGS-putwc.c): Likewise.
18443         (CFLAGS-putwchar.c): Likewise.
18444         (CFLAGS-rewind.c): Likewise.
18445         (CFLAGS-wfileops.c): Likewise.
18446         (CFLAGS-wgenops.c): Likewise.
18447         (CFLAGS-oldiofopen.c): Likewise.
18448         (CFLAGS-iofopen.c): Likewise.
18449         (CFLAGS-iofopen64.c): Likewise.
18450         (CFLAGS-oldtmpfile.c): Likewise.
18451         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18452         (CFLAGS-fprintf.c): Likewise.
18453         (CFLAGS-printf.c): Likewise.
18454         (CFLAGS-vfwprintf.c): Likewise.
18455         (CFLAGS-vfscanf.c): Likewise.
18456         (CFLAGS-vfwscanf.c): Likewise.
18457         (CFLAGS-fscanf.c): Likewise.
18458         (CFLAGS-scanf.c): Likewise.
18459         (CFLAGS-isoc99_vfscanf.c): Likewise.
18460         (CFLAGS-isoc99_vscanf.c): Likewise.
18461         (CFLAGS-isoc99_fscanf.c): Likewise.
18462         (CFLAGS-isoc99_scanf.c): Likewise.
18463         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18464         (CFLAGS-isoc99_fwscanf.c): Likewise.
18465         (CFLAGS-isoc99_vwscanf.c): Likewise.
18466         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18468         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18469         after mkstemp64.
18470         * login/tst-utmp.c (do_prepare): Likewise.
18471         * rt/tst-aio.c (do_prepare): Likewise.
18472         * rt/tst-aio64.c (do_prepare): Likewise.
18474 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18476         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18477         (__lll_lock_elision): Remove adapt_count decrement...
18478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18479         (__lll_trylock_elision): Likewise.
18480         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18481         (__lll_unlock_elision): ... to here. And utilize
18482         new adapt_count parameter.
18483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18484         (__lll_unlock_elision): Update to include adapt_count
18485         parameter.
18486         (lll_unlock_elision): Pass pointer to adapt_count
18487         variable.
18489 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18491         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18492         Add elision adapt_count parameter to list of arguments.
18493         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18494         (lll_unlock_elision): Update with new parameter list
18495         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18496         (lll_unlock_elision): Likewise.
18497         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18498         (lll_unlock_elision): Likewise.
18500 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18502         [BZ #19122]
18503         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18504         attribute_hidden.
18506         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18507         attribute_hidden.
18508         [IS_IN (rtld)] (__strdup): Likewise.
18509         [IS_IN (rtld)] (__strerror_r): Likewise.
18510         [IS_IN (rtld)] (__strsep_g): Likewise.
18511         [IS_IN (rtld)] (memchr): Likewise.
18512         [IS_IN (rtld)] (memcmp): Likewise.
18513         [IS_IN (rtld)] (memcpy): Likewise.
18514         [IS_IN (rtld)] (memmove): Likewise.
18515         [IS_IN (rtld)] (memset): Likewise.
18516         [IS_IN (rtld)] (rawmemchr): Likewise.
18517         [IS_IN (rtld)] (stpcpy): Likewise.
18518         [IS_IN (rtld)] (strchr): Likewise.
18519         [IS_IN (rtld)] (strcmp): Likewise.
18520         [IS_IN (rtld)] (strlen): Likewise.
18521         [IS_IN (rtld)] (strnlen): Likewise.
18522         [IS_IN (rtld)] (strsep): Likewise.
18524         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18525         attribute_hidden.
18526         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18528         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18529         attribute_hidden.
18530         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18532         * include/setjmp.h (__longjmp): Add attribute_hidden.
18533         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18535         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18536         Add attribute_hidden.
18538         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18539         [IS_IN (rtld)] (__open): Likewise.
18540         [IS_IN (rtld)] (__fcntl): Likewise.
18542         * include/dirent.h (__opendirat): Add attribute_hidden.
18543         (__getdents): Likewise.
18544         (__getdents64): Likewise.
18545         (__alloc_dir): Likewise.
18546         [IS_IN (rtld)] (__closedir): Likewise.
18547         [IS_IN (rtld)] (__fdopendir): Likewise.
18548         [IS_IN (rtld)] (__readdir): Likewise.
18549         [IS_IN (rtld)] (__readdir64): Likewise.
18550         [IS_IN (rtld)] (__rewinddir): Likewise.
18552         * include/dlfcn.h (_dl_catch_error): Moved to ...
18553         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18554         attribute_hidden.
18556         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18557         (_itoa_word): Likewise.
18559         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18560         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18561         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18562         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18563         (_dl_higher_prime_number): Likewise.
18564         (_dl_debug_printf_c): Likewise.
18565         (_dl_signal_cerror): Likewise.
18566         (_dl_receive_error): Likewise.
18567         (_dl_reloc_bad_type): Likewise.
18568         (_dl_resolve_conflicts): Likewise.
18569         (_dl_check_all_versions): Likewise.
18570         (_dl_check_map_versions): Likewise.
18571         (_dl_sort_fini): Likewise.
18572         (_dl_debug_initialize): Likewise.
18573         (_dl_init_paths): Likewise.
18574         (_dl_show_auxv): Likewise.
18575         (_dl_next_ld_env_entry): Likewise.
18576         (_dl_important_hwcaps): Likewise.
18577         (_dl_load_cache_lookup): Likewise.
18578         (_dl_update_slotinfo): Likewise.
18579         (_dl_show_scope): Likewise.
18581         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18582         attribute_hidden.
18583         (_wordcopy_fwd_dest_aligned): Likewise.
18584         (_wordcopy_bwd_aligned): Likewise.
18585         (_wordcopy_bwd_dest_aligned): Likewise.
18587         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18588         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18589         Likewise.
18590         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18591         Likewise.
18592         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18594 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18596         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18597         GCC 5 requirement.
18599 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18601         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18602         test.
18603         * sysdeps/i386/configure: Regenerated.
18604         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18605         code unconditional.
18607         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18608         test.
18609         (libc_cv_asm_popsection_directive): Likewise.
18610         * configure: Regenerated.
18611         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18612         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18613         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18614         (__make_section_unallocated): Make definition unconditional.
18615         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18616         Remove conditional definition.
18617         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18618         (__make_section_unallocated): Likewise.
18620         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18621         * configure: Regenerated.
18622         * config.make.in (static-libgcc): Remove variable.
18623         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18624         $(static-libgcc).
18625         (build-module-helper): Likewise.
18627         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18628         * configure: Regenerated.
18630 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18632         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18633         (struct char_buffer): New type.
18634         (char_buffer_start, char_buffer_size, char_buffer_error)
18635         (char_buffer_rewind, char_buffer_add): New functions.
18636         (ADDW): Remove macro, replaced by the char_buffer_add function.
18637         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18638         of extend_alloca.  Make control flow more explicit.
18640 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18642         [BZ #19137]
18643         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18644         Add -fomit-frame-pointer.
18645         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18647 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18649         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18650         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18651         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18652         only if !__GNUC_PREREQ (5,0).
18653         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18654         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18655         (INTERNAL_SYSCALL_NCS): Likewise.
18656         (LOADREGS_0): New macro for GCC 5.
18657         (ASMARGS_0): Likewise.
18658         (LOADREGS_1): Likewise.
18659         (ASMARGS_1): Likewise.
18660         (LOADREGS_2): Likewise.
18661         (ASMARGS_2): Likewise.
18662         (LOADREGS_3): Likewise.
18663         (ASMARGS_3): Likewise.
18664         (LOADREGS_4): Likewise.
18665         (ASMARGS_4): Likewise.
18666         (LOADREGS_5): Likewise.
18667         (ASMARGS_5): Likewise.
18668         (LOADREGS_6): Likewise.
18669         (ASMARGS_6): Likewise.
18671 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18673         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18674         -fomit-frame-pointer.
18675         (CFLAGS-mmap64.c): Likewise.
18676         (CFLAGS-semtimedop.c): Likewise.
18677         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18678         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18679         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18680         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18682 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18684         [BZ #18928]
18685         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18686         _dl_pointer_guard member.
18687         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18688         initializer.
18689         (security_init): Always set up pointer guard.
18690         (process_envvars): Do not process LD_POINTER_GUARD.
18692 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18694         [BZ #19134]
18695         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18696         (.LC2): Likewise.
18697         (.LC3): Likewise.
18698         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18700 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18702         [BZ #19129]
18703         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18704         r0 and r1.
18706 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18708         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18710 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18712         * include/stap-probe.h: Fix macro definition formatting.
18714 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18716         [BZ #19074]
18717         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18718         load and store num_ifs.
18720 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18722         [BZ #18822]
18723         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18724         (__sched_getaffinity_new): Add libc_hidden_proto and
18725         libc_hidden_def.
18727 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18729         [BZ #19007]
18730         * scripts/localplt.awk: Also allow GOT references.
18731         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18732         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18733         with "+ REL R_386_GLOB_DAT".
18734         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18735         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18737 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18739         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18740         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18741         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18742         Likewise.
18743         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18744         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18745         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18746         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18747         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18748         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18749         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18750         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18751         Likewise.
18752         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18754 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18756         [BZ #19125]
18757         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18758         <math_private.h> and <stdint.h>.
18759         (__llround): Avoid conversions to and from long long int, and
18760         subtractions, where those might raise spurious exceptions.
18761         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18762         <math_private.h> and <stdint.h>.
18763         (__llroundf): Avoid conversions to and from long long int, and
18764         subtractions, where those might raise spurious exceptions.
18766 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18768         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18769         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18770         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18771         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18772         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18773         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18774         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18775         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18776         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18777         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18778         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18779         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18780         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18781         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18782         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18783         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18784         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18785         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18786         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18787         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18788         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18789         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18790         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18791         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18792         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18793         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18794         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18795         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18796         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18797         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18798         (__xstat64_conv): Likewise.
18799         (__xstat32_conv): Likewise.
18801 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18803         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18804         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18805         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18806         <sysdeps/unix/sysv/linux/sysdep.h>.
18807         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18808         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18809         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18810         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18811         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18812         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18813         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18814         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18815         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18820         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18821         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18822         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18823         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18824         (sysdep-dl-routines): Add sysdep.
18825         [$(subdir) == nptl] (libpthread-routines): Likewise.
18826         [$(subdir) == rt] (librt-routines): Likewise.
18827         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18828         PIC when branching to SYSCALL_ERROR_LABEL.
18829         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18830         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18831         <sysdeps/unix/sysv/linux/sysdep.h>.
18832         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18833         (SYSCALL_ERROR_ERRNO): Removed.
18834         (SYSCALL_ERROR_HANDLER): Changed to empty.
18835         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18836         (__syscall_error): New prototype.
18837         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18838         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18840 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18842         [BZ #19124]
18843         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18844         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18845         _dl_runtime_resolve_avx.
18846         (_dl_runtime_profile_avx512): Make it a hidden alias of
18847         _dl_runtime_profile_avx.
18849 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18851         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18852         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18853         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18854         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18856         [BZ #16422]
18857         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18858         New configure test.
18859         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18860         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18861         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18862         <math_private.h> and <stdint.h>.
18863         (__llrint): Avoid conversions to long long int where those might
18864         raise spurious exceptions.
18865         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18866         <math_private.h> and <stdint.h>.
18867         (__llrintf): Avoid conversions to long long int where those might
18868         raise spurious exceptions.
18870 2015-10-12  Andreas Schwab  <schwab@suse.de>
18872         [BZ #18969]
18873         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18874         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18875         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18876         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18877         $(gen-locales).
18878         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18879         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18880         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18881         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18882         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18883         $(gen-locales).
18884         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18885         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18886         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18887         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18888         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18889         ($(objpfx)tst-ftell-active-handler.out)
18890         ($(objpfx)tst-ftell-append.out)
18891         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18892         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18893         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18894         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18895         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18896         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18897         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18898         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18899         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18900         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18901         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18902         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18903         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18904         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18905         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18906         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18907         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18908         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18909         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18910         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18911         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18912         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18913         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18914         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18915         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18916         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18917         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18918         $(gen-locales).
18919         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18920         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18921         $(gen-locales).
18922         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18923         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18924         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18925         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18926         $(gen-locales).
18927         * libio/tst_wprintf2.c (main): Use explicit locale.
18928         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18930 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18932         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18933         __msg_sig_post.
18934         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18936 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18938         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18939         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18941         * sysdeps/arm/libm-test-ulps: Regenerated.
18943         [BZ #15470]
18944         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18946         [BZ #16399]
18947         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18948         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18949         and <fix-fp-int-convert-overflow.h>.
18950         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18951         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18952         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18953         and <fix-fp-int-convert-overflow.h>.
18954         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18955         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18956         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18957         <fix-fp-int-convert-overflow.h>.
18958         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18959         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18960         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18961         <fix-fp-int-convert-overflow.h>.
18962         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18963         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18964         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18965         and <fix-fp-int-convert-overflow.h>.
18966         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18967         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18968         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18969         <limits.h> and <fix-fp-int-convert-overflow.h>.
18970         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18971         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18972         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18973         and <fix-fp-int-convert-overflow.h>.
18974         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18975         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18976         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18977         and <fix-fp-int-convert-overflow.h>.
18978         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18979         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18980         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18982 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18984         [BZ #18589]
18985         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18986         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18987         $(gen-locales).
18989 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18990             Phil Blundell <pb@pbcl.net>
18992         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18993         * nptl/tst-cancel26.c: New file.
18994         * nptl/tst-cancel27.c: Likewise.
18996 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18998         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18999         __ILP32__ isn't defined.
19000         (lrint): Likewise.
19001         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19002         (lrintf): Likewise.
19003         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19004         (lrintl): Likewise.
19005         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19006         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19007         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19009 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19012         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19015         file.
19016         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19017         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19019 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19021         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19022         configure test.
19023         * sysdeps/i386/configure: Regenerated.
19024         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19025         configure test.
19026         * sysdeps/x86_64/configure: Regenerated.
19027         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19028         Make code unconditional.
19030         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19031         test.
19032         * sysdeps/i386/configure: Regenerated.
19033         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19034         test.
19035         * sysdeps/x86_64/configure: Regenerated.
19036         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19037         Make code unconditional.
19038         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19039         Likewise.
19040         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19041         Likewise.
19042         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19043         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19044         code unconditional.
19045         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19046         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19047         code unconditional.
19048         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19049         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19050         code unconditional.
19051         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19052         code unconditional.
19053         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19054         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19055         code unconditional.
19056         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19057         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19058         code unconditional.
19059         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19060         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19061         code unconditional.
19062         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19063         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19064         code unconditional.
19065         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19066         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19068         [BZ #19095]
19069         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19070         mantissa to long int before shifting left.
19072 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19074         [BZ #19094]
19075         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19076         <limits.h>.
19077         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19078         when result overflows but exception would not result from cast.
19079         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19080         <limits.h>.
19081         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19082         when result overflows but exception would not result from cast.
19083         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19084         <limits.h>.
19085         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19086         when result overflows but exception would not result from cast.
19087         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19088         <limits.h>.
19089         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19090         when result overflows but exception would not result from cast.
19091         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19092         <limits.h>.
19093         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19094         when result overflows but exception would not result from cast.
19095         * math/libm-test.inc (lrint_test_data): Add more tests.
19096         (llrint_test_data): Likewise.
19098 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19100         [BZ #18872]
19101         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19102         Move out from under [$(run-built-tests) = yes] conditional.
19103         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19104         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19106 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19108         [BZ #18589]
19109         * string/Makefile (tests): Add bug-strcoll2.
19110         (LOCALES): Add cs_CZ.UTF-8.
19111         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19113         [BZ #18589]
19114         * string/bug-strcoll2.c: New file.
19115         * locale/categories.def: Revert commit
19116         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19117         * locale/langinfo.h: Likewise.
19118         * locale/localeinfo.h: Likewise.
19119         * locale/C-collate.c: Likewise.
19120         * locale/programs/ld-collate.c (collate_output): Likewise.
19121         * string/strcoll_l.c (STRDIFF): Likewise.
19122         (STRCOLL): Likewise.
19123         * wcsmbs/wcscoll_l.c: Likewise.
19125 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19127         * math/libm-test.inc (lround_test_data): Do not expect the absence
19128         of "inexact" for some tests with non-integer arguments.
19129         (llround_test_data): Likewise.
19131         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19132         test.
19133         (libc_cv_cc_sse2avx): Likewise.
19134         * sysdeps/i386/configure: Regenerated.
19135         * sysdeps/i386/i686/multiarch/Makefile
19136         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19137         [$(subdir) = math].
19138         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19139         code unconditional.
19140         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19141         Likewise.
19142         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19143         Likewise.
19144         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19145         Likewise.
19146         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19147         test.
19148         (libc_cv_cc_sse2avx): Likewise.
19149         * sysdeps/x86_64/configure: Regenerated.
19150         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19151         unconditional.
19152         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19153         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19154         unconditional.
19155         (_dl_runtime_profile)
19156         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19157         conditional code.
19158         * sysdeps/x86_64/fpu/multiarch/Makefile
19159         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19161         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19162         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19163         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19164         * sysdeps/x86_64/fpu/multiarch/e_log.c
19165         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19166         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19167         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19168         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19169         Likewise.
19170         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19171         Likewise.
19172         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19173         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19174         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19175         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19176         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19177         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19178         (HAVE_SSE2AVX_SUPPORT): Likewise.
19180 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19182         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19183         instead of #pragma optimize.
19185 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19187         [BZ #17195]
19188         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19189         as is similarly done in systrim and _int_free already.
19191 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19193         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19195 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19197         [BZ #19088]
19198         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19199         <limits.h>.
19200         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19201         overflows but exception would not result from cast.
19202         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19203         and <limits.h>.
19204         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19205         overflows but exception would not result from cast.
19206         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19207         <limits.h>.
19208         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19209         overflows but exception would not result from cast.
19210         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19211         <limits.h>.
19212         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19213         overflows but exception would not result from cast.
19214         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19215         <limits.h>.
19216         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19217         overflows but exception would not result from cast.
19218         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19219         <limits.h>.
19220         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19221         overflows but exception would not result from cast.
19222         * math/libm-test.inc (lround_test_data): Add more tests.
19223         (llround_test_data): Likewise.
19225 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19227         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19228         (CFLAGS-ialloc.c): Ditto.
19229         (CFLAGS-scheck.c): Ditto.
19231 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19233         [BZ #19086]
19234         * manual/filesys.texi (Storage Allocation): Fix argument order for
19235         posix_fallocate64.
19237 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19239         [BZ #19085]
19240         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19241         exponent below 48 inside case for non-overflowing exponent.
19242         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19244 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19246         * iconvdata/cp737.h (from_idx): Add const.
19247         * iconvdata/cp775.h (from_idx): Likewise.
19249 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19251         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19252         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19253         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19255         [BZ #19079]
19256         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19257         file, conditioned on [!_LP64].
19258         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19259         [!_LP64] (__lround): Do not define as function or alias.
19260         [!_LP64] (lround): Likewise.
19261         [!_LP64] (__lroundl): Likewise.
19262         [!_LP64] (lroundl): Likewise.
19263         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19264         macro.
19265         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19266         Likewise.
19268 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19270         * math/libm-test.inc (lrint_test_data): Add more tests.
19271         (llrint_test_data): Likewise.
19272         (lround_test_data): Likewise.
19273         (llround_test_data): Likewise.
19275         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19276         (llrint_test_data): Add tests used for lrint.
19278         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19279         test.
19280         * sysdeps/i386/configure: Regenerated.
19281         * sysdeps/i386/i686/multiarch/Makefile
19282         [$(config-cflags-sse4) = yes]: Make code unconditional.
19283         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19284         Likewise.
19285         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19286         Likewise.
19287         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19288         test.
19289         * sysdeps/x86_64/configure: Regenerated.
19290         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19291         Make code unconditional.
19292         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19293         Likewise.
19294         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19295         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19297         * scripts/rpm2dynsym.sh: Remove file.
19299 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19301         * configure.ac (libc_cv_cxx_thread_local): Define.
19302         * configure: Regenerate.
19303         * config.make.in (have-cxx-thread_local): Define.
19304         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19305         (LDLIBS-tst-thread_local1): Define.
19306         (tests): Add tst-thread_local1.
19307         [have-cxx-thread_local != yes] (tests-unsupported): Add
19308         tst-thread_local1.
19309         * nptl/tst-thread_local1.cc: New file.
19311 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19313         [BZ #19078]
19314         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19315         (u_thres): Likewise.
19316         (__expl): Determine whether to call __kernel_standard_l based on
19317         value of result, not argument.
19319         * math/libm-test.inc (scalb_test_data): Add more expectations for
19320         the "inexact" exception.
19322         [BZ #19077]
19323         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19324         0.0L for argument 1.0L.
19326         [BZ #19076]
19327         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19328         constant 0.0L when computing infinite result.
19330 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19332         [BZ #10432]
19333         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19334         malloc_usable_size.
19336 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19338         [BZ #19018]
19339         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19340         Mangle function pointer before storing it.
19341         (__call_tls_dtors): Demangle function pointer before calling it.
19343 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19345         [BZ #19012]
19346         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19347         Clean up on failure.
19349 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19351         [BZ #19071]
19352         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19353         long int variable to store possibly incremented high part of
19354         mantissa.
19355         * math/libm-test.inc (lround_test_data): Add tests used for
19356         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19357         for tests requiring 64-bit long.  Do not condition tests on
19358         [TEST_FLOAT] unnecessarily.
19359         (llround_test_data): Add tests used for lround.  Add another
19360         expectation for the "inexact" exception.  Do not condition tests
19361         on [TEST_FLOAT] unnecessarily.
19363         [BZ #887]
19364         [BZ #19049]
19365         [BZ #19050]
19366         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19367         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19368         <fix-int-fp-convert-zero.h>.
19369         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19370         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19371         <fix-int-fp-convert-zero.h>.
19372         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19373         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19374         <fix-int-fp-convert-zero.h>.
19375         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19376         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19377         <fix-int-fp-convert-zero.h>.
19378         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19379         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19380         <fix-int-fp-convert-zero.h>.
19381         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19382         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19383         <fix-int-fp-convert-zero.h>.
19384         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19385         * sysdeps/ieee754/flt-32/s_erff.c: Include
19386         <fix-int-fp-convert-zero.h>.
19387         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19388         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19389         <fix-int-fp-convert-zero.h>.
19390         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19391         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19392         <fix-int-fp-convert-zero.h>.
19393         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19394         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19395         <fix-int-fp-convert-zero.h>.
19396         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19397         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19398         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19399         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19400         file.
19401         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19403 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19405         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19407 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19409         [BZ #19059]
19410         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19411         overflowing computation.
19412         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19413         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19414         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19415         Likewise.
19416         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19417         Likewise.
19418         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19419         Likewise.
19420         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19421         Likewise.
19422         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19423         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19424         Likewise.
19425         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19426         Likewise.
19427         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19429         * nss/rewrite_field.c (__nss_rewrite_field): Use
19430         internal_function.
19431         * nss/valid_field.c (__nss_valid_field): Likewise.
19432         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19434 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19436         [BZ #18724]
19437         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19438         (__nss_invalid_field_characters, __nss_valid_field)
19439         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19440         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19441         tst-field.c: New file.
19442         * nss/Makefile (routines): Add valid_field, rewrite_field.
19443         (tests-static): Define unconditionally.
19444         (tests): Include tests-static.
19445         [build-static-nss] (tests-static): Use append.
19446         [build-static-nss] (tests): Remove modification.
19447         * nss/getent.c (print_group): Call putgrent.  Report error.
19448         (print_gshadow): Call putsgent.  Report error.
19449         (print_passwd): Call putpwent.  Report error.
19450         (print_shadow): Call putspent.  Report error.
19451         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19452         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19453         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19454         name, password, directory, shell fields for valid syntax.  Rewrite
19455         GECOS field to match syntax.
19456         * pwd/Makefile (tests): Add tst-putpwent.
19457         * pwd/tst-putpwent.c: New file.
19458         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19459         Check grName, grpasswd, gr_mem fields for valid syntax.
19460         Change loop variable i to size_t.
19461         * grp/Makefile (tests): Add tst-putgrent.
19462         * grp/tst-putgrent.c: New file.
19463         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19464         valid syntax.
19465         * shadow/Makefile (tests): Add tst-putspent.
19466         * shadow/tst-putspent.c: New file.
19467         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19468         sg_mem fields for valid syntax.
19469         * gshadow/Makefile (tests): Add tst-putsgent.
19470         * gshadow/tst-putsgent.c: New file.
19472 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19474         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19475         assembly instructions.
19477 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19479         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19480         prefix from operands.
19482 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19484         [BZ #16347]
19485         [BZ #19046]
19486         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19487         <libc-internal.h>.
19488         (MAXLGM): Do not use diagnostic control macros.
19489         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19490         threshold for ldbl-128ibm.
19491         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19492         instead of multiplying by log then subtracting.
19493         * math/auto-libm-test-in: Add more tests of lgamma.
19494         * math/auto-libm-test-out: Regenerated.
19496         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19497         (TYPE_HEX_DIG): Likewise.
19498         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19499         precisions when printing floating-point numbers.
19500         (check_float_internal): Likewise.
19502 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19504         [BZ #16620]
19505         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19506         of log (10) rounded downward to 48 bits.
19507         (log10_low): Use corresponding low part of log (10).
19509         [BZ #19032]
19510         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19511         compute result as (x - x) / (x - x) not as 0 / 0.
19512         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19513         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19515         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19516         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19517         and expm1.
19518         * math/auto-libm-test-out: Regenerated.
19519         * math/libm-test.inc (acos_test_data): Add more tests.
19520         (asin_test_data): Likewise.
19521         (asinh_test_data): Likewise.
19522         (atan_test_data): Likewise.
19523         (atanh_test_data): Likewise.
19524         (atan2_test_data): Likewise.
19525         (cbrt_test_data): Likewise.
19526         (ceil_test_data): Likewise.
19527         (copysign_test_data): Likewise.
19528         (cos_test_data): Likewise.
19529         (cosh_test_data): Likewise.
19530         (erf_test_data): Likewise.
19531         (erfc_test_data): Likewise.
19532         (exp_test_data): Likewise.
19533         (exp10_test_data): Likewise.
19534         (exp2_test_data): Likewise.
19535         (expm1_test_data): Likewise.
19536         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19538 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19540         [BZ #19006]
19541         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19542         to ...
19543         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19544         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19545         to ...
19546         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19547         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19548         to ...
19549         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19550         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19551         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19552         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19553         to ...
19554         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19555         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19556         Moved to ...
19557         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19558         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19559         Moved to ...
19560         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19561         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19562         to ...
19563         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19564         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19565         Moved to ...
19566         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19567         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19568         to ...
19569         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19570         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19571         Removed.
19572         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19577         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19578         Likewise.
19579         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19580         Likewise.
19581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19582         Likewise.
19583         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19584         Likewise.
19585         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19586         Likewise.
19587         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19588         Likewise.
19589         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19590         Likewise.
19591         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19592         Likewise.
19593         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19594         Likewise.
19595         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19596         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19597         Likewise.
19598         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19599         Likewise.
19600         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19601         Likewise.
19602         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19603         Likewise.
19604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19605         Likewise.
19606         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19607         Replace ../i486/pthread_cond_timedwait.S with
19608         ../pthread_cond_timedwait.S.
19610 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19612         * math/libm-test.inc (acos_test_data): Refine expectations for
19613         errno and "inexact" exceptions.
19614         (acosh_test_data): Likewise.
19615         (asin_test_data): Likewise.
19616         (asinh_test_data): Likewise.
19617         (atan_test_data): Likewise.
19618         (atanh_test_data): Likewise.
19619         (atan2_test_data): Likewise.
19620         (cbrt_test_data): Likewise.
19621         (ceil_test_data): Likewise.
19622         (copysign_test_data): Likewise.
19623         (cosh_test_data): Likewise.
19624         (erf_test_data): Likewise.
19625         (erfc_test_data): Likewise.
19626         (exp_test_data): Likewise.
19627         (exp10_test_data): Likewise.
19628         (exp2_test_data): Likewise.
19629         (expm1_test_data): Likewise.
19630         (fabs_test_data): Likewise.
19631         (floor_test_data): Likewise.
19632         (fma_test_data): Likewise.
19633         (fmax_test_data): Likewise.
19634         (fmin_test_data): Likewise.
19635         (fmod_test_data): Likewise.
19636         (fpclassify_test_data): Likewise.
19637         (frexp_test_data): Likewise.
19638         (hypot_test_data): Likewise.
19639         (ilogb_test_data): Likewise.
19640         (isgreater_test_data): Likewise.
19641         (isgreaterequal_test_data): Likewise.
19642         (isinf_test_data): Likewise.
19643         (isless_test_data): Likewise.
19644         (islessequal_test_data): Likewise.
19645         (islessgreater_test_data): Likewise.
19646         (isnan_test_data): Likewise.
19647         (isnormal_test_data): Likewise.
19648         (issignaling_test_data): Likewise.
19649         (isunordered_test_data): Likewise.
19650         (j0_test_data): Likewise.
19651         (j1_test_data): Likewise.
19652         (jn_test_data): Likewise.
19653         (lgamma_test_data): Likewise.
19654         (lrint_test_data): Likewise.
19655         (llrint_test_data): Likewise.
19656         (log_test_data): Likewise.
19657         (log10_test_data): Likewise.
19658         (log1p_test_data): Likewise.
19659         (log2_test_data): Likewise.
19660         (logb_test_data): Likewise.
19661         (lround_test_data): Likewise.
19662         (llround_test_data): Likewise.
19663         (modf_test_data): Likewise.
19664         (nearbyint_test_data): Likewise.
19665         (nextafter_test_data): Likewise.
19666         (nexttoward_test_data): Likewise.
19667         (pow_test_data): Likewise.
19668         (remainder_test_data): Likewise.
19669         (remquo_test_data): Likewise.
19670         (rint_test_data): Likewise.
19671         (round_test_data): Likewise.
19672         (signbit_test_data): Likewise.
19673         (sinh_test_data): Likewise.
19674         (sqrt_test_data): Likewise.
19675         (tanh_test_data): Likewise.
19676         (tgamma_test_data): Likewise.
19677         (trunc_test_data): Likewise.
19678         (y0_test_data): Likewise.
19679         (y1_test_data): Likewise.
19680         (yn_test_data): Likewise.
19681         (significand_test_data): Likewise.
19683 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19685         * manual/filesys.texi (Storage Allocation): Document that
19686         posix_fallocate emulation fails when fd is open with O_WRONLY.
19688 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #19016]
19691         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19692         allow more cases with X^2 + Y^2 >= 0.5.
19693         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19694         normal element in sum instead of special-casing based on values of
19695         arguments.
19696         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19697         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19698         -1 as normal element in sum instead of special-casing based on
19699         values of arguments.
19700         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19701         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19702         (__x2y2m1): Update comment.
19703         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19704         as normal element in sum instead of special-casing based on values
19705         of arguments.
19706         * math/s_clog.c (__clog): Handle more cases using log1p without
19707         hypot.
19708         * math/s_clog10.c (__clog10): Likewise.
19709         * math/s_clog10f.c (__clog10f): Likewise.
19710         * math/s_clog10l.c (__clog10l): Likewise.
19711         * math/s_clogf.c (__clogf): Likewise.
19712         * math/s_clogl.c (__clogl): Likewise.
19713         * math/auto-libm-test-in: Add more tests of clog and clog10.
19714         * math/auto-libm-test-out: Regenerated.
19715         * sysdeps/i386/fpu/libm-test-ulps: Update.
19716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19718 2015-09-28  Martin Sebor  <msebor@redhat.com>
19720         [BZ #18969]
19721         * string/Makefile (LOCALES): Define.
19722         (gen-locales.mk): Include.
19723         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19724         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19725         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19726         on setlocale failure.
19728 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19730         [BZ #18985]
19731         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19732         (__strftime_internal): Likewise.
19733         * time/tst-strftime.c (do_bz18985): New test.
19734         (do_test): Call it.
19736 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19738         [BZ #18956]
19739         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19740         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19741         extracting high part.
19742         * math/auto-libm-test-in: Add another test of pow.
19743         * math/auto-libm-test-out: Regenerated.
19744         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19746 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19748         [BZ #18825]
19749         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19750         New macro.
19751         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19752         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19753         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19754         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19755         DBL_NARROW_EVAL, reloading the PIC register as needed.
19756         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19757         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19758         FLT_NARROW_EVAL.  Use separate return path for case when first
19759         argument is NaN.
19760         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19761         DEFINE_LDBL_MIN.
19762         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19763         PIC register.
19764         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19765         math_check_force_underflow_nonneg.
19766         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19767         underflow for subnormal result.
19768         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19769         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19770         math_check_force_underflow_nonneg.
19771         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19772         math_check_force_underflow.
19773         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19774         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19775         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19776         DEFINE_LDBL_MIN.
19777         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19778         * math/auto-libm-test-in: Add more tests of pow.
19779         * math/auto-libm-test-out: Regenerated.
19781 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19783         * nss/bug17079.c (init_test_items): Add diagnostic for
19784         inconsistent entries.
19785         (test_buffer_size): Skip inconsistent entries.
19787 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19789         [BZ #13304]
19790         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19791         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19792         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19794         [BZ #13304]
19795         * sysdeps/microblaze/s_fma.c: New file.
19796         * sysdeps/microblaze/s_fmaf.c: Likewise.
19797         * sysdeps/microblaze/sfp-machine.h: Likewise.
19799 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19801         [BZ #17250]
19802         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19803         member.
19805 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19807         [BZ #18803]
19808         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19809         (MO): New macro.
19810         (__ieee754_hypot) [PIC]: Load PIC register.
19811         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19812         DBL_NARROW_EVAL.
19813         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19814         math_check_force_underflow_nonneg in case where result might be
19815         tiny.
19816         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19817         Likewise.
19818         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19819         Likewise.
19820         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19821         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19822         * math/auto-libm-test-in: Add more tests of hypot.
19823         * math/auto-libm-test-out: Regenerated.
19825 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19827         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19829 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19831         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19832         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19833         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19834         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19835         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19836         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19837         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19839         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19840         LOAD_PIC_REG.
19842         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19843         (FLT_CHECK_FORCE_UFLOW): Likewise.
19844         (DBL_CHECK_FORCE_UFLOW): Likewise.
19845         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19846         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19847         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19848         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19849         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19850         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19851         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19852         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19853         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19854         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19855         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19856         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19857         (flt_min): Replace with use of DEFINE_FLT_MIN.
19858         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19859         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19860         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19861         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19862         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19863         (flt_min): Replace with use of DEFINE_FLT_MIN.
19864         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19865         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19866         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19867         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19868         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19869         (flt_min): Replace with use of DEFINE_FLT_MIN.
19870         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19871         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19872         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19873         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19874         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19875         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19876         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19877         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19878         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19879         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19880         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19881         (flt_min): Replace with use of DEFINE_FLT_MIN.
19882         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19883         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19884         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19885         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19886         main computation.
19887         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19888         (flt_min): Replace with use of DEFINE_FLT_MIN.
19889         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19890         main computation.
19891         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19892         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19893         (MO): New macro.
19894         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19895         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19896         (flt_min): Replace with use of DEFINE_FLT_MIN.
19897         (MO): New macro.
19898         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19899         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19900         (__log1pl): Use MO.
19902         [BZ #19003]
19903         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19904         $(config-cflags-nofma).
19906 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19908         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19910 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19912         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19913         (TWO127): Likewise.
19915         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19916         (min_of_type): Likewise.
19917         (math_check_force_underflow): Likewise.
19918         (math_check_force_underflow_nonneg): Likewise.
19919         (math_check_force_underflow_complex): Likewise.
19920         * math/e_exp2l.c (__ieee754_exp2l): Use
19921         math_check_force_underflow_nonneg.
19922         * math/k_casinh.c (__kernel_casinh): Likewise.
19923         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19924         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19925         * math/s_catan.c (__catan): Use
19926         math_check_force_underflow_complex.
19927         * math/s_catanf.c (__catanf): Likewise.
19928         * math/s_catanh.c (__catanh): Likewise.
19929         * math/s_catanhf.c (__catanhf): Likewise.
19930         * math/s_catanhl.c (__catanhl): Likewise.
19931         * math/s_catanl.c (__catanl): Likewise.
19932         * math/s_ccosh.c (__ccosh): Likewise.
19933         * math/s_ccoshf.c (__ccoshf): Likewise.
19934         * math/s_ccoshl.c (__ccoshl): Likewise.
19935         * math/s_cexp.c (__cexp): Likewise.
19936         * math/s_cexpf.c (__cexpf): Likewise.
19937         * math/s_cexpl.c (__cexpl): Likewise.
19938         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19939         * math/s_clog10.c (__clog10): Likewise.
19940         * math/s_clog10f.c (__clog10f): Likewise.
19941         * math/s_clog10l.c (__clog10l): Likewise.
19942         * math/s_clogf.c (__clogf): Likewise.
19943         * math/s_clogl.c (__clogl): Likewise.
19944         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19945         * math/s_csinf.c (__csinf): Likewise.
19946         * math/s_csinh.c (__csinh): Likewise.
19947         * math/s_csinhf.c (__csinhf): Likewise.
19948         * math/s_csinhl.c (__csinhl): Likewise.
19949         * math/s_csinl.c (__csinl): Likewise.
19950         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19951         * math/s_csqrtf.c (__csqrtf): Likewise.
19952         * math/s_csqrtl.c (__csqrtl): Likewise.
19953         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19954         * math/s_ctanf.c (__ctanf): Likewise.
19955         * math/s_ctanh.c (__ctanh): Likewise.
19956         * math/s_ctanhf.c (__ctanhf): Likewise.
19957         * math/s_ctanhl.c (__ctanhl): Likewise.
19958         * math/s_ctanl.c (__ctanl): Likewise.
19959         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19960         instead of volatile.
19961         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19962         math_check_force_underflow.
19963         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19964         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19965         volatile when forcing underflow.
19966         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19967         math_check_force_underflow_nonneg.
19968         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19969         Likewise.
19970         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19971         math_check_force_underflow.
19972         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19973         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19974         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19975         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19976         math_check_force_underflow_nonneg.
19977         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19978         math_check_force_underflow.
19979         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19980         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19981         instead of volatile.
19982         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19983         math_check_force_underflow.
19984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19985         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19986         math_check_force_underflow_nonneg.
19987         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19988         math_check_force_underflow.
19989         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19990         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19991         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19992         math_check_force_underflow_nonneg.
19993         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19994         Likewise.
19995         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19996         math_check_force_underflow.
19997         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19998         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19999         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20000         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20001         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20002         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20003         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20004         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20005         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20006         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20007         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20008         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20009         Likewise.
20010         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20011         math_check_force_underflow_nonneg.
20012         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20013         Likewise.
20014         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20015         math_check_force_underflow.
20016         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20017         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20018         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20019         Likewise.
20020         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20021         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20022         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20023         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20024         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20025         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20027         instead of volatile.
20028         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20029         math_check_force_underflow.
20030         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20032         math_check_force_underflow.
20033         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20034         Likewise.
20035         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20036         Use math_check_force_underflow_nonneg.
20037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20038         math_check_force_underflow.
20039         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20040         Likewise.
20041         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20042         Likewise.
20043         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20044         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20045         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20046         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20047         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20048         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20049         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20050         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20051         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20052         math_check_force_underflow_nonneg.
20053         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20054         math_check_force_underflow.
20055         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20056         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20057         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20058         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20059         math_check_force_underflow_nonneg.
20060         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20061         math_check_force_underflow.
20062         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20064         instead of volatile.
20065         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20066         math_check_force_underflow.
20068         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20069         * stdlib/strtod_l.c: Include <math_private.h>.
20070         (overflow_value): Use math_narrow_eval.
20071         (underflow_value): Likewise.
20072         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20073         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20074         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20075         (__ieee754_gamma_r): Likewise.
20076         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20077         Likewise.
20078         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20079         Likewise.
20080         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20081         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20082         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20083         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20084         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20085         (__ieee754_gammaf_r): Likewise.
20086         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20087         Likewise.
20088         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20089         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20090         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20091         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20092         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20093         volatile.
20094         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20096         math_narrow_eval.
20097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20098         Likewise.
20099         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20100         Likewise.
20101         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20102         Likewise.
20103         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20104         volatile.
20105         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20106         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20107         math_narrow_eval.
20108         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20109         Likewise.
20110         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20111         Likewise.
20113 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20115         * nptl/Versions: Remove ignored symbols.
20117 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20119         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20120         * nss/Makefile (tests): Update.
20122 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20124         * nss/bug18287.c: New file.
20125         * nss/Makefile (tests): Add bug18287.
20127 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20129         * mach/Versions (__mach_host_self_): Add symbol.
20131 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20133         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20134         vm_page_size.
20136 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20138         Really fix sysdeps/i386/fpu/s_scalbn.S build
20140         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20141         (libc: GLIBC_2_22): Remove unused version set.
20143 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20145         * config.make.in (enable-timezone-tools): New variable.
20146         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20147         (enable_timezone_tools): Export to generated files.
20148         * configure: Regenerate.
20149         * INSTALL: Regenerate.
20150         * manual/install.texi (--disable-timezone-tools): Document new flag.
20151         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20152         ifeq ($(enable-timezone-tools),yes) check.
20154 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20156         * timezone/Makefile: Revert previous change.
20158         [BZ #18980]
20159         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20160         (DEFINE_DBL_MIN): Likewise.
20161         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20162         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20163         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20164         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20165         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20166         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20167         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20168         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20169         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20170         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20171         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20172         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20173         (flt_min): Replace with use of DEFINE_FLT_MIN.
20174         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20175         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20176         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20177         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20178         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20179         (flt_min): Replace with use of DEFINE_FLT_MIN.
20180         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20181         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20182         (flt_min): Replace with use of DEFINE_FLT_MIN.
20183         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20184         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20185         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20186         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20187         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20188         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20189         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20190         (__ieee754_pow): Use DBL_NARROW_EVAL.
20191         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20192         (__ieee754_powf): Use FLT_NARROW_EVAL.
20193         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20194         (__ieee754_expf_sse2): Convert double-precision result to single
20195         precision.
20196         * sysdeps/i386/fpu/libm-test-ulps: Update.
20198 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20200         * timezone/Makefile: Ignore unused variable errors due to private.h
20201         (time_t_min) and (time_t_max).
20202         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20203         Likewise.
20205 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20207         [BZ #18981]
20208         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20209         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20210         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20211         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20212         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20213         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20214         (__scalbn): Use DBL_NARROW_EVAL.
20215         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20216         (__scalbnf): Use FLT_NARROW_EVAL.
20218 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20220         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20221         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20222         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20223         * stdio-common/printf_fp.c (___printf_fp):
20224         Use signbit to get the sign. Use isinf macro to allow inlining.
20225         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20226         * stdio-common/printf_size.c (__printf_size): Likewise.
20228 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20230         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20232 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20234         [BZ #18980]
20235         * sysdeps/generic/math_private.h: Include <float.h>.
20236         (math_narrow_eval): New macro.
20237         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20238         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20239         math_narrow_eval on overflowing return value.
20240         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20241         Likewise.
20242         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20243         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20244         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20245         Likewise.
20246         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20248 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20250         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20251         * math/Makefile: Remove isinf_ns.c.
20252         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20253         * math/multc3.c (__multc3): Likewise.
20254         * math/s_casin.c (__casin): Likewise.
20255         * math/s_casinf.c (__casinf): Likewise.
20256         * math/s_casinl.c (__casinl): Likewise.
20257         * math/s_cproj.c (__cproj): Likewise.
20258         * math/s_cprojf.c (__cprojf): Likewise.
20259         * math/s_cprojl.c (__cprofl): Likewise.
20260         * math/s_ctan.c (__ctan): Likewise.
20261         * math/s_ctanf.c (__ctanf): Likewise.
20262         * math/s_ctanh.c (__ctanh): Likewise.
20263         * math/s_ctanhf.c (__ctanhf): Likewise.
20264         * math/s_ctanhl.c (__ctanhl): Likewise.
20265         * math/s_ctanl.c (__ctanl): Likewise.
20266         * math/w_fmod.c (__fmod): Likewise.
20267         * math/w_fmodf.c (__fmodf): Likewise.
20268         * math/w_fmodl.c (_fmodl): Likewise.
20269         * math/w_remainder.c (__remainder): Likewise.
20270         * math/w_remainderf.c (__remainderf): Likewise.
20271         * math/w_remainderl.c (__remainderl): Likewise.
20272         * math/w_scalb.c (__scalb): Likewise.
20273         * math/w_scalbf.c (__scalbf): Likewise.
20274         * math/w_scalbl.c (__scalbl): Likewise.
20275         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20276         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20277         with isinf.
20278         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20279         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20280         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20281         __isinf_nsf with isinf.
20282         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20284         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20285         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20286         with isinf.
20287         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20288         __isinf_nsl with isinf.
20289         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20290         with isinf.
20291         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20292         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20293         __isinf_nsl with isinf.
20294         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20295         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20296         with isinf.
20298 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20300         * resolv/base64.c (rcsid): Remove unused static.
20301         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20302         static.  (tqpi1): Likewise.
20303         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20304         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20305         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20306         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20307         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20308         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20309         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20310         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20311         Likewise.
20313 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20315         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20316         <nptl/pthreadP.h>.
20317         (_longjmp_unwind): Use __libc_ptf_call.
20318         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20320 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20322         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20323         * sysdeps/arm/__longjmp.S: Likewise.
20325 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20327         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20328         Use __builtin_signbit.
20329         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20330         Use __builtin_signbitf.
20331         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20332         Use __builtin_signbitl.
20333         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20334         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20336 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20338         [BZ #15367]
20339         [BZ #17441]
20341         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20342         * math/math.h (fpclassify): Use __builtin_fpclassify when
20343         available.  (signbit): Use __builtin_signbit(f/l).
20344         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20345         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20346         (isinf): Use __builtin_isinf_sign.
20348 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20350         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20351         * benchtests/bench-math-inlines.c: New benchmark.
20352         * benchtests/bench-util.h: New file.
20353         * benchtests/bench-util.c: New file.
20354         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20356 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20358         * elf/tst-dlmopen1.c: Define TEST_SO.
20359         (do_test): Use TEST_SO.
20361         * elf/dl-load.c: Include libc-internal.h.
20362         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20364 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20366         [BZ #17887]
20367         * time/strptime_l.c (__strptime_internal): Make %z accept
20368         [+-]HH:MM time zones.
20370 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20372         [BZ #17886]
20373         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20374         valid time zone.
20376 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20378         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20379         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20381         (__ASSUME_FDATASYNC): Delete.
20383 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20385         * conform/linknamespace.pl: Require weak undefined symbols to be
20386         in the standard namespace.
20387         (%strong_syms): Rename to %seen_syms.
20388         (%strong_seen): Rename to %seen_where.
20390 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20392         [BZ #18970]
20393         * misc/error.c (error): Replace pthread_setcancelstate with
20394         __pthread_setcancelstate.
20395         (error_at_line): Likewise.
20396         * posix/wordexp.c (parse_comm): Likewise.
20397         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20398         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20399         (__pthread_setcancelstate): This.
20400         (pthread_setcancelstate): Add an alias.
20401         * nptl/nptl-init.c (pthread_functions): Replace
20402         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20403         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20404         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20405         hidden_proto.
20406         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20407         it with hidden_def.
20408         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20409         (pthread_setcancelstate): Renamed to ...
20410         (__pthread_setcancelstate): This.
20411         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20412         __libc_ptf_call with __pthread_setcancelstate.
20414 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20415             Andreas Schwab  <schwab@suse.de>
20417         [BZ #17118]
20418         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20419         result when imaginary part of argument is infinite using sine and
20420         cosine.
20421         * math/s_ctanf.c (__ctanf): Likewise.
20422         * math/s_ctanl.c (__ctanl): Likewise.
20423         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20424         of result when real part of argument is infinite using sine and
20425         cosine.
20426         * math/s_ctanhf.c (__ctanhf): Likewise.
20427         * math/s_ctanhl.c (__ctanhl): Likewise.
20428         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20429         (ctanh_test_data): Add more tests of ctanh.
20431 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20433         [BZ #15384]
20434         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20435         bit-mask as in subtraction.
20436         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20437         Likewise.
20438         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20439         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20440         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20442         [BZ #18951]
20443         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20444         underflow exception for small results.
20445         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20446         Likewise.
20447         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20448         Likewise.
20449         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20450         Likewise.
20451         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20452         Likewise.
20453         * math/auto-libm-test-in: Add more tests of tgamma.
20454         * math/auto-libm-test-out: Regenerated.
20456 2015-09-17  Andreas Schwab  <schwab@suse.de>
20458         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20460 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20462         [BZ #18977]
20463         * math/bits/mathcalls.h
20464         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20465         not declare.
20466         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20467         Likewise.
20468         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20469         Likewise.
20470         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20471         Likewise.
20472         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20473         Likewise.
20474         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20475         Likewise.
20476         * conform/data/math.h-data
20477         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20478         function.
20479         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20483         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20484         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20485         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20486         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20487         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20488         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20489         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20491         [BZ #6803]
20492         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20493         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20494         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20495         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20496         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20497         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20498         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20499         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20500         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20501         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20502         Likewise.
20503         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20504         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20505         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20506         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20507         long_double_symbol calls.
20508         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20509         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20510         strong alias of __ldexpl.
20511         (scalbnl): Define using long_double_symbol.
20512         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20513         Remove alias.
20514         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20515         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20516         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20517         (scalbln_test_data): Add more errno expectations.
20519 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20521         Cache the host port like we cache the task port.  This way we do not
20522         need to call the kernel just to get the port.  Furthermore, we no
20523         longer increase the reference count on every invocation of
20524         `mach_host_self'.
20526         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20527         Protect declarations against the macro expansion.
20528         * mach/mach_init.c (__mach_host_self_): New variable.
20529         (mach_init): Initialize `__mach_host_self_'.
20530         * mach/mach_init.h (__mach_host_self_): New declaration.
20531         (__mach_host_self, mach_host_self): New macros.
20532         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20533         Release reference.
20535 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20537         [BZ #4404]
20538         * po/de.po: Update from Translation Project.
20540         [BZ #16415]
20541         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20542         (__expm1l): Remove code to handle positive infinity and overflow.
20543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20544         variable.
20545         (__expm1l): Remove code to handle positive infinity and overflow.
20547 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20548             Paul Pluzhnikov  <ppluzhnikov@google.com>
20550         [BZ #18872]
20551         * stdio-common/Makefile (tst-printf-bz18872): New test.
20552         (tst-printf-bz18872-mem.out): Likewise.
20553         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20554         * stdio-common/vfprintf.c: Fix memory leaks.
20556 2015-09-16  Andreas Schwab  <schwab@suse.de>
20558         [BZ #17244]
20559         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20560         Remove extra va_start/va_end calls.
20562         [BZ #17243]
20563         * posix/execl.c (execl): Add missing va_end.
20564         * posix/execle.c (execle): Likewise.
20565         * posix/execlp.c (execlp): Likewise.
20567 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20569         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20570         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20572 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20574         [BZ #18967]
20575         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20576         undefine around includes of <bits/mathcalls.h>.
20577         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20578         not declare function.
20579         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20580         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20581         (scalb): Likewise.
20582         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20583         not define macro.
20584         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20585         variable.
20586         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20587         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20588         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20590         [BZ #18857]
20591         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20592         return non-finite argument without doing ordered comparisons on
20593         it.
20595         [BZ #16296]
20596         * math/fenv.h (fegetround): Use __attribute_pure__.
20597         * include/fenv.h (__fegetround): Likewise.
20599         [BZ #18595]
20600         * math/s_ctan.c (__ctan): Force underflow exception for results
20601         whose real or imaginary part has small absolute value.
20602         * math/s_ctanf.c (__ctanf): Likewise.
20603         * math/s_ctanh.c (__ctanh): Likewise.
20604         * math/s_ctanhf.c (__ctanhf): Likewise.
20605         * math/s_ctanhl.c (__ctanhl): Likewise.
20606         * math/s_ctanl.c (__ctanl): Likewise.
20607         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20608         and ctanh.  Add more tests of ctan and ctanh.
20610         [BZ #15918]
20611         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20612         handling of cases where one argument is an infinity.
20614         [BZ #18875]
20615         [BZ #18966]
20616         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20617         (MO): New macro.
20618         (__ieee754_exp10): For small results, force underflow exception
20619         and remove excess range and precision from return value.
20620         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20621         (MO): New macro.
20622         (__ieee754_exp10f): For small results, force underflow exception
20623         and remove excess range and precision from return value.
20624         * math/auto-libm-test-in: Add more tests of exp10.
20625         * math/auto-libm-test-out: Regenerated.
20627 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20629         [BZ #18875]
20630         [BZ #18961]
20631         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20632         (MO): New macro.
20633         (__ieee754_exp): For small results, force underflow exception and
20634         remove excess range and precision from return value.
20635         (__exp_finite): Likewise.
20636         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20637         (MO): New macro.
20638         (__ieee754_expf): For small results, force underflow exception and
20639         remove excess range and precision from return value.
20640         (__expf_finite): Likewise.
20641         * math/auto-libm-test-in: Add more tests of exp.
20642         * math/auto-libm-test-out: Regenerated.
20644         [BZ #16521]
20645         [BZ #18875]
20646         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20647         small results.
20648         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20649         (MO): New macro.
20650         (__ieee754_exp2): For small results, force underflow exception and
20651         remove excess range and precision from return value.
20652         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20653         (MO): New macro.
20654         (__ieee754_exp2f): For small results, force underflow exception
20655         and remove excess range and precision from return value.
20656         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20657         (MO): New macro.
20658         (__ieee754_exp2l): Force underflow exception for small results.
20659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20660         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20661         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20662         (MO): New macro.
20663         (__ieee754_exp2l): Force underflow exception for small results.
20664         * math/auto-libm-test-in: Add more tests or exp2.
20665         * math/auto-libm-test-out: Regenerated.
20667 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20669         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20671         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20672         /dev/null.
20674 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20676         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20677         io fs process)): Drop spurious backslash.
20679 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20682         Use sysinfo system call instead of parsing /proc/meminfo.
20683         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20684         Likewise.
20686 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20688         [BZ #16985]
20689         * programs/localedef.c (main): Display argv[remaining] when
20690         output_path is NULL.
20692 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20694         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20695         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20696         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20697         tanh.
20698         * math/auto-libm-test-out: Regenerated.
20699         * sysdeps/i386/fpu/libm-test-ulps: Update.
20700         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20701         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20704 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20706         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20707         Use 'override' keyword to freeze the value here, preventing
20708         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20710 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20712         [BZ #14912]
20713         * sysdeps/aarch64/bits/atomic.h: Move to ...
20714         * sysdeps/aarch64/atomic-machine.h: ...here.
20715         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20716         _AARCH64_ATOMIC_MACHINE_H.
20717         * sysdeps/alpha/bits/atomic.h: Move to ...
20718         * sysdeps/alpha/atomic-machine.h: ...here.
20719         * sysdeps/arm/bits/atomic.h: Move to ...
20720         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20721         * bits/atomic.h: Move to ...
20722         * sysdeps/generic/atomic-machine.h: ...here.
20723         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20724         * sysdeps/i386/bits/atomic.h: Move to ...
20725         * sysdeps/i386/atomic-machine.h: ...here.
20726         * sysdeps/ia64/bits/atomic.h: Move to ...
20727         * sysdeps/ia64/atomic-machine.h: ...here.
20728         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20729         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20730         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20731         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20732         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20733         * sysdeps/microblaze/bits/atomic.h: Move to ...
20734         * sysdeps/microblaze/atomic-machine.h: ...here.
20735         * sysdeps/mips/bits/atomic.h: Move to ...
20736         * sysdeps/mips/atomic-machine.h: ...here.
20737         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20738         * sysdeps/powerpc/bits/atomic.h: Move to ...
20739         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20740         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20741         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20742         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20743         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20744         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20745         <atomic-machine.h> instead of <bits/atomic.h>.
20746         * sysdeps/s390/bits/atomic.h: Move to ...
20747         * sysdeps/s390/atomic-machine.h: ...here.
20748         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20749         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20750         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20751         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20752         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20753         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20754         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20755         * sysdeps/tile/bits/atomic.h: Move to ...
20756         * sysdeps/tile/atomic-machine.h: ...here.
20757         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20758         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20759         <sysdeps/tile/atomic-machine.h> instead of
20760         <sysdeps/tile/bits/atomic.h>.
20761         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20762         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20763         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20764         <sysdeps/tile/atomic-machine.h> instead of
20765         <sysdeps/tile/bits/atomic.h>.
20766         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20767         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20768         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20769         <sysdeps/arm/atomic-machine.h> instead of
20770         <sysdeps/arm/bits/atomic.h>.
20771         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20772         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20773         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20774         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20775         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20776         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20777         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20778         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20779         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20780         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20781         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20782         * sysdeps/x86_64/bits/atomic.h: Move to ...
20783         * sysdeps/x86_64/atomic-machine.h: ...here.
20784         * include/atomic.h: Include <atomic-machine.h> instead of
20785         <bits/atomic.h>.
20787         * sysdeps/mips/mips32/libm-test-ulps: Update.
20788         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20790         [BZ #18952]
20791         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20792         not convert non-integer negative arguments to int to determine the
20793         value of signgam.
20794         * math/auto-libm-test-in: Add more tests of lgamma.
20795         * math/auto-libm-test-out: Regenerated.
20797         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20798         cosh, csqrt, erfc, expm1 and lgamma.
20799         * math/auto-libm-test-out: Regenerated.
20800         * sysdeps/i386/fpu/libm-test-ulps: Update.
20801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20805         [BZ #2542]
20806         [BZ #2543]
20807         [BZ #2558]
20808         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20809         __lgamma_neg for arguments from -28.0 to -2.0.
20810         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20811         __lgamma_negf for arguments from -15.0 to -2.0.
20812         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20813         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20814         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20815         Call __lgamma_negl for arguments from -33.0 to -2.0.
20816         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20817         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20818         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20819         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20820         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20821         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20822         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20823         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20824         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20825         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20826         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20827         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20828         (__lgamma_neg): Likewise.
20829         (__lgamma_negl): Likewise.
20830         (__lgamma_product): Likewise.
20831         (__lgamma_productl): Likewise.
20832         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20833         * math/auto-libm-test-in: Add more tests of lgamma.
20834         * math/auto-libm-test-out: Regenerated.
20835         * sysdeps/i386/fpu/libm-test-ulps: Update.
20836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20838 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20840         [BZ #18675]
20841         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20843 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20845         [BZ #14912]
20846         * bits/libc-lock.h: Move to ...
20847         * sysdeps/generic/libc-lock.h: ...here.
20848         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20849         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20850         * sysdeps/mach/hurd/libc-lock.h: ...here.
20851         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20852         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20853         * sysdeps/mach/bits/libc-lock.h: Move to ...
20854         * sysdeps/mach/libc-lock.h: ...here.
20855         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20856         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20857         * sysdeps/nptl/libc-lock.h: ...here.
20858         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20859         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20860         * sysdeps/nptl/libc-lockP.h: ...here.
20861         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20862         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20863         <bits/libc-lock.h>.
20864         * dirent/scandir-tail.c: Likewise.
20865         * dlfcn/dlerror.c: Likewise.
20866         * elf/dl-close.c: Likewise.
20867         * elf/dl-iteratephdr.c: Likewise.
20868         * elf/dl-lookup.c: Likewise.
20869         * elf/dl-open.c: Likewise.
20870         * elf/dl-support.c: Likewise.
20871         * elf/dl-writev.h: Likewise.
20872         * elf/rtld.c: Likewise.
20873         * grp/fgetgrent.c: Likewise.
20874         * gshadow/fgetsgent.c: Likewise.
20875         * gshadow/sgetsgent.c: Likewise.
20876         * iconv/gconv_conf.c: Likewise.
20877         * iconv/gconv_db.c: Likewise.
20878         * iconv/gconv_dl.c: Likewise.
20879         * iconv/gconv_int.h: Likewise.
20880         * iconv/gconv_trans.c: Likewise.
20881         * include/link.h: Likewise.
20882         * inet/getnameinfo.c: Likewise.
20883         * inet/getnetgrent.c: Likewise.
20884         * inet/getnetgrent_r.c: Likewise.
20885         * intl/bindtextdom.c: Likewise.
20886         * intl/dcigettext.c: Likewise.
20887         * intl/finddomain.c: Likewise.
20888         * intl/gettextP.h: Likewise.
20889         * intl/loadmsgcat.c: Likewise.
20890         * intl/localealias.c: Likewise.
20891         * intl/textdomain.c: Likewise.
20892         * libidn/idn-stub.c: Likewise.
20893         * libio/libioP.h: Likewise.
20894         * locale/duplocale.c: Likewise.
20895         * locale/freelocale.c: Likewise.
20896         * locale/newlocale.c: Likewise.
20897         * locale/setlocale.c: Likewise.
20898         * login/getutent_r.c: Likewise.
20899         * login/getutid_r.c: Likewise.
20900         * login/getutline_r.c: Likewise.
20901         * login/utmp-private.h: Likewise.
20902         * login/utmpname.c: Likewise.
20903         * malloc/mtrace.c: Likewise.
20904         * misc/efgcvt.c: Likewise.
20905         * misc/error.c: Likewise.
20906         * misc/fstab.c: Likewise.
20907         * misc/getpass.c: Likewise.
20908         * misc/mntent.c: Likewise.
20909         * misc/syslog.c: Likewise.
20910         * nis/nis_call.c: Likewise.
20911         * nis/nis_callback.c: Likewise.
20912         * nis/nss-default.c: Likewise.
20913         * nis/nss_compat/compat-grp.c: Likewise.
20914         * nis/nss_compat/compat-initgroups.c: Likewise.
20915         * nis/nss_compat/compat-pwd.c: Likewise.
20916         * nis/nss_compat/compat-spwd.c: Likewise.
20917         * nis/nss_nis/nis-alias.c: Likewise.
20918         * nis/nss_nis/nis-ethers.c: Likewise.
20919         * nis/nss_nis/nis-grp.c: Likewise.
20920         * nis/nss_nis/nis-hosts.c: Likewise.
20921         * nis/nss_nis/nis-network.c: Likewise.
20922         * nis/nss_nis/nis-proto.c: Likewise.
20923         * nis/nss_nis/nis-pwd.c: Likewise.
20924         * nis/nss_nis/nis-rpc.c: Likewise.
20925         * nis/nss_nis/nis-service.c: Likewise.
20926         * nis/nss_nis/nis-spwd.c: Likewise.
20927         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20928         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20929         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20930         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20931         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20932         * nis/nss_nisplus/nisplus-network.c: Likewise.
20933         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20934         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20935         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20936         * nis/nss_nisplus/nisplus-service.c: Likewise.
20937         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20938         * nis/ypclnt.c: Likewise.
20939         * nptl/libc_pthread_init.c: Likewise.
20940         * nss/getXXbyYY.c: Likewise.
20941         * nss/getXXent.c: Likewise.
20942         * nss/getXXent_r.c: Likewise.
20943         * nss/nss_db/db-XXX.c: Likewise.
20944         * nss/nss_db/db-netgrp.c: Likewise.
20945         * nss/nss_db/nss_db.h: Likewise.
20946         * nss/nss_files/files-XXX.c: Likewise.
20947         * nss/nss_files/files-alias.c: Likewise.
20948         * nss/nsswitch.c: Likewise.
20949         * posix/regex_internal.h: Likewise.
20950         * posix/wordexp.c: Likewise.
20951         * pwd/fgetpwent.c: Likewise.
20952         * resolv/res_hconf.c: Likewise.
20953         * resolv/res_libc.c: Likewise.
20954         * shadow/fgetspent.c: Likewise.
20955         * shadow/lckpwdf.c: Likewise.
20956         * shadow/sgetspent.c: Likewise.
20957         * socket/opensock.c: Likewise.
20958         * stdio-common/reg-modifier.c: Likewise.
20959         * stdio-common/reg-printf.c: Likewise.
20960         * stdio-common/reg-type.c: Likewise.
20961         * stdio-common/vfprintf.c: Likewise.
20962         * stdio-common/vfscanf.c: Likewise.
20963         * stdlib/abort.c: Likewise.
20964         * stdlib/cxa_atexit.c: Likewise.
20965         * stdlib/fmtmsg.c: Likewise.
20966         * stdlib/random.c: Likewise.
20967         * stdlib/setenv.c: Likewise.
20968         * string/strsignal.c: Likewise.
20969         * sunrpc/auth_none.c: Likewise.
20970         * sunrpc/bindrsvprt.c: Likewise.
20971         * sunrpc/create_xid.c: Likewise.
20972         * sunrpc/key_call.c: Likewise.
20973         * sunrpc/rpc_thread.c: Likewise.
20974         * sysdeps/arm/backtrace.c: Likewise.
20975         * sysdeps/generic/ldsodefs.h: Likewise.
20976         * sysdeps/generic/stdio-lock.h: Likewise.
20977         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20978         * sysdeps/i386/backtrace.c: Likewise.
20979         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20980         * sysdeps/m68k/backtrace.c: Likewise.
20981         * sysdeps/mach/hurd/cthreads.c: Likewise.
20982         * sysdeps/mach/hurd/dirstream.h: Likewise.
20983         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20984         * sysdeps/nptl/malloc-machine.h: Likewise.
20985         * sysdeps/nptl/stdio-lock.h: Likewise.
20986         * sysdeps/posix/dirstream.h: Likewise.
20987         * sysdeps/posix/getaddrinfo.c: Likewise.
20988         * sysdeps/posix/system.c: Likewise.
20989         * sysdeps/pthread/aio_suspend.c: Likewise.
20990         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20991         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20992         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20993         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20994         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20995         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20996         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20997         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20998         * sysdeps/unix/sysv/linux/system.c: Likewise.
20999         * sysdeps/x86_64/backtrace.c: Likewise.
21000         * time/alt_digit.c: Likewise.
21001         * time/era.c: Likewise.
21002         * time/tzset.c: Likewise.
21003         * wcsmbs/wcsmbsload.c: Likewise.
21004         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21005         instead of <bits/libc-lock.h> in comment.
21007 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21009         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21010         Only use .set mips2 if the current ISA is below mips2.
21011         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21012         Likewise.
21013         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21014         mips32r2 if the current ISA is below mips32r2.
21015         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21016         (TLS_IE): Updated to use the TLD_RDHWR macro.
21017         (TLS_LE): Likewise.
21018         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21019         __ASSEMBLER__ condition.
21021 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21023         Fix parallel build of before-compile targets.
21025         * sysdeps/mach/Makefile ($(patsubst
21026         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21027         mach-before-compile target.
21028         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21029         io fs process)): Move rule to dedicated hurd-before-compile target.
21031 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21033         Fix rules generating headers in hurd/ and mach/ when initial make call
21034         has subdir= explicitly set.
21036         * sysdeps/mach/Makefile ($(patsubst
21037         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21038         calling $(MAKE).
21039         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21040         io fs process)): Force subdir to hurd when calling $(MAKE).
21041         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21042         subdir to mach when calling $(MAKE).
21044 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21046         Check sysheaders when looking for Mach and Hurd headers
21048         * sysdeps/mach/configure.ac: Add sysheaders check.
21049         * sysdeps/mach/configure: Regenerate.
21050         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21051         * sysdeps/mach/hurd/configure: Regenerate.
21053 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21055         [BZ #18921]
21056         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21057         Fix inverted sense of test of 'o_directory_works' value.
21058         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21059         Bernhard Voelker <mail@bernhard-voelker.de>.
21061 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21063         [BZ #14912]
21064         * bits/linkmap.h: Move to ...
21065         * sysdeps/generic/linkmap.h: ...here.
21066         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21067         * sysdeps/aarch64/linkmap.h: ...here.
21068         * sysdeps/arm/bits/linkmap.h: Move to ...
21069         * sysdeps/arm/linkmap.h: ...here.
21070         * sysdeps/hppa/bits/linkmap.h: Move to ...
21071         * sysdeps/hppa/linkmap.h: ...here.
21072         * sysdeps/ia64/bits/linkmap.h: Move to ...
21073         * sysdeps/ia64/linkmap.h: ...here.
21074         * sysdeps/mips/bits/linkmap.h: Move to ...
21075         * sysdeps/mips/linkmap.h: ...here.
21076         * sysdeps/s390/bits/linkmap.h: Move to ...
21077         * sysdeps/s390/linkmap.h: ...here.
21078         * sysdeps/sh/bits/linkmap.h: Move to ...
21079         * sysdeps/sh/linkmap.h: ...here.
21080         * sysdeps/x86/bits/linkmap.h: Move to ...
21081         * sysdeps/x86/linkmap.h: ...here.
21082         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21084 2015-09-04  Andreas Schwab  <schwab@suse.de>
21086         [BZ #18635]
21087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21088         (__makecontext): Terminate FDE before return label.
21089         (__novec_makecontext): Likewise.
21091 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21093         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21094         first member of struct sv in syscall macro.
21096 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #14912]
21099         * bits/stdio-lock.h: Move to ...
21100         * sysdeps/generic/stdio-lock.h: ...here.
21101         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21102         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21103         * sysdeps/nptl/stdio-lock.h: ...here.
21104         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21105         * include/libio.h: Include <stdio-lock.h> instead of
21106         <bits/stdio-lock.h>.
21107         * sysdeps/nptl/fork.c: Likewise.
21108         * sysdeps/pthread/flockfile.c: Likewise.
21109         * sysdeps/pthread/ftrylockfile.c: Likewise.
21110         * sysdeps/pthread/funlockfile.c: Likewise.
21112         [BZ #14912]
21113         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21114         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21115         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21116         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21117         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21118         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21119         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21121 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21123         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21124         (test-xfail-tst-protected1b): New variable.
21126 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21128         [BZ #14912]
21129         * bits/libc-tsd.h: Move to ...
21130         * sysdeps/generic/libc-tsd.h: ...here.
21131         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21132         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21133         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21134         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21135         * include/ctype.h: Include <libc-tsd.h> instead of
21136         <bits/libc-tsd.h>.
21137         * include/rpc/rpc.h: Likewise.
21138         * locale/localeinfo.h: Likewise.
21139         * sunrpc/rpc_thread.c: Likewise.
21140         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21141         * sysdeps/nptl/malloc-machine.h: Likewise.
21143         * Makefile (headers): Remove bits/libc-lock.h.
21144         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21146         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21147         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21148         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21149         <bits/stdio-lock.h>.
21150         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21151         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21153 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21155         [BZ #18757]
21156         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21157         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21158         BZ #18757.
21160 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21162         * malloc/mtrace.pl: Filter out NULL entries.
21164 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21166         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21167         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21168         macro.
21170         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21171         (TCP_CC_INFO): Likewise.
21172         (TCP_SAVE_SYN): Likewise.
21173         (TCP_SAVED_SYN): Likewise.
21175 2015-08-31  Brett Neumeier <brett@neumeier.us>
21177         [BZ #18870]
21178         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21180 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21182         [BZ #18873]
21183         Fix broken overflow check in posix_fallocate
21184         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21185         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21186         Fix parenthesization typo.
21188 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21190         [BZ #18887]
21191         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21192         tst-mntent-blank-passno.
21193         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21194         * misc/tst-mntent-blank-corrupt.c: New test.
21195         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21196         * misc/tst-mntent.c (do_test): ... here.
21198 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21200         [BZ #4404]
21201         * po/de.po: Fix SIGALRM typo.
21203 2015-08-28  James Perkins  <james@loowit.net>
21205         * time/tst-strptime2.c (tests): Replace short list of test
21206         strings for strptime %z specifier with code which exhaustively
21207         tests every combination of sign and 0 to 5 digits. Tests for
21208         rejection of invalid strings.
21210 2015-08-28  James Perkins  <james@loowit.net>
21212         [BZ #16141]
21213         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21214         calculation, removing incorrect decimal time rounding, so that
21215         all minute values result in a valid seconds value.
21216         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21217         offset range limits to UTC-99:59 through UTC+99:59 to parse
21218         current and historical use cases.
21219         * time/tst-strptime2.c (tests): Modify and add tests for the
21220         strptime %z input field descriptor, specifically conversion of
21221         minutes to seconds and validating an offset range of -9959 to
21222         +9959.
21224 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21225             Dmitry V. Levin  <ldv@altlinux.org>
21227         [BZ #18877]
21228         * posix/Makefile (tests): Add tst-mmap-offset.
21229         * posix/tst-mmap.c: New file.
21230         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21231         offset calculation for negative values.
21233 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21235         * sysdeps/i386/init-arch.h: New file.
21236         * sysdeps/i386/i586/init-arch.h: Likewise.
21237         * sysdeps/i386/i686/init-arch.h: Likewise.
21238         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21239         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21240         * sysdeps/x86/cpu-features.h (bit_I586): New.
21241         (bit_I686): Likewise.
21242         (bit_CX8): Likewise.
21243         (bit_CMOV): Likewise.
21244         (index_CX8): Likewise.
21245         (index_CMOV): Likewise.
21246         (index_I586): Likewise.
21247         (index_I686): Likewise.
21248         (reg_CX8): Likewise.
21249         (reg_CMOV): Likewise.
21250         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21251         available at compile-time.
21252         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21253         available at compile-time.
21254         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21255         (USE_I686): Likewise.
21257 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21259         * sysdeps/i386/bcopy.S: New file.
21260         * sysdeps/i386/bzero.S: Likewise.
21261         * sysdeps/i386/memcpy.S: Likewise.
21262         * sysdeps/i386/memmove.S: Likewise.
21263         * sysdeps/i386/mempcpy.S: Likewise.
21264         * sysdeps/i386/memset.S: Likewise.
21265         * sysdeps/i386/bzero.c: Removed.
21266         * sysdeps/i386/memset.c: Likewise.
21267         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21268         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21269         * sysdeps/i386/i586/memset_chk.S: Likewise.
21270         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21271         * sysdeps/i386/memcpy_chk.S: Here.
21272         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21273         * sysdeps/i386/memmove_chk.S: Here.
21274         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21275         * sysdeps/i386/mempcpy_chk.S: Likewise.
21276         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21277         * sysdeps/i386/memset_chk.S: Likewise.
21279 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21281         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21282         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21283         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21284         * soft-fp/fmadf4.c: Ditto.
21285         * soft-fp/fmatf4.c: Ditto.
21287 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21289         * sysdeps/i386/i586/Implies: Removed.
21290         * sysdeps/i386/i686/Implies: Likewise.
21292 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21294         * sysdeps/i386/i486/strlen.S: Moved to ...
21295         * sysdeps/i386/strlen.S: Here.
21297 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21299         * sysdeps/i386/i486/strcat.S: Moved to ...
21300         * sysdeps/i386/strcat.S: Here.
21302 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21304         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21305         * sysdeps/i386/pthread_spin_trylock.S: Here.
21306         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21307         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21309 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21311         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21312         * sysdeps/i386/string-inlines.c: Here.
21314 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21316         * sysdeps/i386/i486/htonl.S: Moved ...
21317         * sysdeps/i386/htonl.S: here.
21319 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21321         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21322         * sysdeps/i386/bits/atomic.h: Here.
21324 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21326         * sysdeps/i386/i486/Versions: Removed.
21328 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21330         [BZ #2898]
21331         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21332         Based on patch by Aurelien Jarno.
21334 2015-08-26  Stan Shebs  <stanshebs@google.com>
21336         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21337         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21339 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21341         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21342         * sysdeps/powerpc/dl-procinfo.c:
21343         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21344         feature so it shows when LD_SHOW_AUXV=1.
21346 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21348         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21349         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21350         definition.  ISA 2.07B no longer requires full sync.
21352 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21354         [BZ #18863]
21355         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21356         (si_call_addr): Define.
21357         (si_syscall): Define.
21358         (si_arch): Define.
21360 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21362         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21363         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21364         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21365         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21366         (__memset_zero_constant_len_parameter): New.
21367         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21368         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21369         (__memset_zero_constant_len_parameter): Don't define if
21370         __memset_chk or USE_AS_BZERO are defined.
21372         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21373         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21374         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21376         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21377         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21378         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21379         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21380         comments.
21381         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21382         -mno-mmx for $(all-rtld-routines).
21383         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21384         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21385         i386.
21387 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21389         * sysdeps/generic/unwind.h
21390         (_Unwind_Word): Use __mode__(__unwind_word__)
21391         instead of __mode__(__word__).
21392         (_Unwind_Sword): Likewise.
21394         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21395         (MAX_NEEDED_INPUT): New define.
21396         (MAX_NEEDED_OUTPUT): New define.
21398         * NEWS: New item for IBM z13 string optimizations.
21400         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21401         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21402         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21403         * sysdeps/s390/multiarch/Makefile
21404         (sysdep_routines): Add memrchr functions.
21405         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21406         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21408         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21409         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21410         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21411         * sysdeps/s390/multiarch/Makefile
21412         (sysdep_routines): Add wmemcmp functions.
21413         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21414         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21415         * benchtests/bench-wmemcmp.c: New File.
21416         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21418         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21419         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21420         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21421         * sysdeps/s390/multiarch/Makefile
21422         (sysdep_routines): Add wmemset functions.
21423         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21424         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21425         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21426         * string/test-memset.c: Add wmemset support.
21427         * wcsmbs/test-wmemset.c: New File.
21428         * wcsmbs/Makefile (strop-tests): Add wmemset.
21429         * benchtests/bench-memset.c: Add wmemset support.
21430         * benchtests/bench-wmemset.c: New File.
21431         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21433         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21434         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21435         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21436         * sysdeps/s390/multiarch/Makefile
21437         (sysdep_routines): Add memccpy functions.
21438         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21439         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21440         * string/memccpy.c: Use MEMCCPY if defined.
21442         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21443         * sysdeps/s390/multiarch/memchr.c: Likewise.
21444         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21445         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21446         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21447         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21448         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21449         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21450         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21451         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21452         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21453         and rawmemchr functions.
21454         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21455         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21456         and wmemchr.
21457         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21458         * string/test-memchr.c: Add wmemchr support.
21459         * wcsmbs/test-wmemchr.c: New File.
21460         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21461         * benchtests/bench-memchr.c: Add wmemchr support.
21462         * benchtests/bench-wmemchr.c: New File.
21463         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21465         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21466         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21467         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21468         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21469         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21470         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21471         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21472         wcscspn functions.
21473         * sysdeps/s390/multiarch/ifunc-impl-list.c
21474         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21475         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21476         * string/test-strcspn.c: Add wcscspn support.
21477         * wcsmbs/test-wcscspn.c: New File.
21478         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21479         * benchtests/bench-strcspn.c: Add wcscspn support.
21480         * benchtests/bench-wcscspn.c: New File.
21481         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21483         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21484         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21485         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21486         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21487         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21488         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21490         wcspbrk functions.
21491         * sysdeps/s390/multiarch/ifunc-impl-list.c
21492         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21493         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21494         * string/test-strpbrk.c: Add wcspbrk support.
21495         * wcsmbs/test-wcspbrk.c: New File.
21496         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21497         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21498         * benchtests/bench-wcspbrk.c: New File.
21499         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21501         * sysdeps/s390/multiarch/strspn-c.c: New File.
21502         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21503         * sysdeps/s390/multiarch/strspn.c: Likewise.
21504         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21505         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21506         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21507         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21509         wcsspn functions.
21510         * sysdeps/s390/multiarch/ifunc-impl-list.c
21511         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21512         * string/test-strspn.c: Add wcsspn support.
21513         * wcsmbs/test-wcsspn.c: New File.
21514         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21515         * benchtests/bench-strspn.c: Add wcsspn support.
21516         * benchtests/bench-wcsspn.c: New File.
21517         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21519         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21520         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21521         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21522         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21523         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21524         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21525         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21526         wcsrchr functions.
21527         * sysdeps/s390/multiarch/ifunc-impl-list.c
21528         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21529         * benchtests/bench-wcsrchr.c: New File.
21530         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21532         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21533         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21534         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21535         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21536         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21537         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21538         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21539         wcschrnul functions.
21540         * sysdeps/s390/multiarch/ifunc-impl-list.c
21541         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21542         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21543         * string/test-strchr.c: Add wcschrnul support.
21544         * wcsmbs/test-wcschrnul.c: New File.
21545         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21546         * benchtests/bench-strchr.c: Add wcschrnul support.
21547         * benchtests/bench-wcschrnul.c: New File.
21548         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21550         * sysdeps/s390/multiarch/strchr-c.c: New File.
21551         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21552         * sysdeps/s390/multiarch/strchr.c: Likewise.
21553         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21554         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21555         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21556         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21557         wcschr functions.
21558         * sysdeps/s390/multiarch/ifunc-impl-list.c
21559         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21560         * string/strchr.c (STRCHR): Define and use macro.
21561         * benchtests/bench-wcschr.c: New File.
21562         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21564         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21565         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21566         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21567         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21568         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21569         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21570         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21571         wcsncmp functions.
21572         * sysdeps/s390/multiarch/ifunc-impl-list.c
21573         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21574         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21575         * benchtests/bench-strncmp.c: Add wcsncmp support.
21576         * benchtests/bench-wcsncmp.c: New File.
21577         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21579         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21580         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21581         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21582         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21583         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21584         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21585         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21586         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21587         wcscmp functions.
21588         * sysdeps/s390/multiarch/ifunc-impl-list.c
21589         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21590         * string/strcmp.c (STRCMP): Define and use macro.
21591         * benchtests/bench-wcscmp.c: New File.
21592         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21593         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21594         instead of _HAVE_STRING_ARCH_memchr.
21596         * sysdeps/s390/multiarch/strncat-c.c: New File.
21597         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21598         * sysdeps/s390/multiarch/strncat.c: Likewise.
21599         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21600         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21601         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21602         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21603         wcsncat functions.
21604         * sysdeps/s390/multiarch/ifunc-impl-list.c
21605         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21606         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21607         * string/test-strncat.c: Add wcsncat support.
21608         * wcsmbs/test-wcsncat.c: New File.
21609         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21610         * benchtests/bench-strncat.c: Add wcsncat support.
21611         * benchtests/bench-wcsncat.c: New File.
21612         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21614         * sysdeps/s390/multiarch/strcat-c.c: New File.
21615         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21616         * sysdeps/s390/multiarch/strcat.c: Likewise.
21617         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21618         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21619         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21620         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21621         wcscat functions.
21622         * sysdeps/s390/multiarch/ifunc-impl-list.c
21623         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21624         * string/strcat.c (STRCAT): Define and use macro.
21625         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21626         * string/test-strcat.c: Add wcscat support.
21627         * wcsmbs/test-wcscat.c: New File.
21628         * wcsmbs/Makefile (strop-tests): Add wcscat.
21629         * benchtests/bench-strcat.c: Add wcscat support.
21630         * benchtests/bench-wcscat.c: New File.
21631         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21633         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21634         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21635         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21636         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21637         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21638         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21640         wcpncpy functions.
21641         * sysdeps/s390/multiarch/ifunc-impl-list.c
21642         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21643         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21644         * string/test-stpncpy.c: Add wcpncpy support.
21645         * wcsmbs/test-wcpncpy.c: New File.
21646         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21647         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21648         * benchtests/bench-wcpncpy.c: New File.
21649         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21651         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21652         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21653         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21654         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21655         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21656         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21657         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21658         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21659         wcsncpy functions.
21660         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21661         * sysdeps/s390/multiarch/ifunc-impl-list.c
21662         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21663         * string/test-strncpy.c: Add wcsncpy support.
21664         * wcsmbs/test-wcsncpy.c: New File.
21665         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21666         * benchtests/bench-strncpy.c: Add wcsncpy support.
21667         * benchtests/bench-wcsncpy.c: New File.
21668         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21670         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21671         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21672         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21673         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21674         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21675         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21676         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21677         wcpcpy functions.
21678         * string/stpcpy.c: Use STPCPY if defined.
21679         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21680         * sysdeps/s390/multiarch/ifunc-impl-list.c
21681         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21682         * string/test-stpcpy.c: Add wcpcpy support.
21683         * wcsmbs/test-wcpcpy.c: New File.
21684         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21685         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21686         * benchtests/bench-wcpcpy.c: New File.
21687         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21689         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21690         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21691         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21692         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21693         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21694         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21695         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21696         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21697         wcscpy functions.
21698         * sysdeps/s390/multiarch/ifunc-impl-list.c
21699         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21700         * benchtests/bench-wcscpy.c: New File.
21701         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21703         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21704         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21705         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21706         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21707         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21708         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21709         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21710         wcsnlen functions.
21711         * sysdeps/s390/multiarch/ifunc-impl-list.c
21712         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21713         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21714         * string/test-strnlen.c: Add wcsnlen support.
21715         * wcsmbs/test-wcsnlen.c: New File.
21716         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21717         * benchtests/bench-strnlen.c: Add wcsnlen support.
21718         * benchtests/bench-wcsnlen.c: New File.
21719         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21721         * sysdeps/s390/multiarch/Makefile: New File.
21722         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21723         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21724         * sysdeps/s390/multiarch/strlen.c: Likewise.
21725         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21726         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21727         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21728         * string/strlen.c (STRLEN): Define and use macro.
21729         * sysdeps/s390/multiarch/ifunc-impl-list.c
21730         (IFUNC_VX_IMPL): New macro function.
21731         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21732         * benchtests/Makefile (wcsmbs-bench): New variable.
21733         (string-bench-all): Added wcsmbs-bench.
21734         * benchtests/bench-wcslen.c: New File.
21736         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21737         s390_vx_libc_ifunc2): New macro function.
21739         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21740         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21741         assembler support.
21742         * sysdeps/s390/configure: Regenerated.
21744         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21745         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21747         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21748         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21749         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21751         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21752         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21753         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21754         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21755         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21756         (memcmp, bcmp): Use __memcmp_default as alias source.
21757         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21758         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21759         Rename to __memcmp_default.
21760         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21761         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21762         (memcpy): Use __memcpy_default as alias source.
21763         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21764         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21765         Rename to __memcpy_default.
21766         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21767         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21768         (memset): Use __memset_default as alias source.
21769         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21770         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21771         Rename to __memset_default.
21772         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21773         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21774         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21775         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21776         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21777         (memcmp, bcmp): Use __memcmp_default as alias source.
21778         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21779         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21780         Rename to __memcmp_default.
21781         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21782         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21783         (memcpy): Use __memcpy_default as alias source.
21784         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21785         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21786         Rename to __memcpy_default.
21787         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21788         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21789         (memset): Use __memset_default as alias source.
21790         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21791         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21792         Rename to __memset_default.
21793         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21794         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21796         [BZ #18610]
21797         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21798         __ieee_instruction_pointer to __unused.
21799         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21800         __ieee_instruction_pointer.
21801         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21802         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21803         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21804         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21805         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21806         Mark dxc-field as reserved.
21808 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21810         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21811         if the weak reference is not null.
21813 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21815         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21817         [BZ #11214]
21818         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21820 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21822         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21823         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21824         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21825         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21826         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21827         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21828         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21829         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21830         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21831         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21832         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21833         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21834         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21835         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21836         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21837         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21838         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21839         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21841 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21843         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21844         register other than r0 for tabort, it has special meaning.
21845         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21846         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21847         transaction before starting syscall.
21849 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21851         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21853 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21855         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21857         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21858         * sysdeps/x86_64/rtld-memset.S: Likewise.
21859         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21860         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21861         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21862         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21864         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21866 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21868         * debug/strcpy_chk.c: Improve performance.
21869         * debug/stpcpy_chk.c: Likewise.
21870         * sysdeps/x86_64/strcpy_chk.S: Remove.
21871         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21873         [BZ #18240]
21874         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21876 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21878         [BZ #15128]
21879         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21880         ifuncmain8.
21881         (modules-names): Add ifuncmod8.
21882         ($(objpfx)ifuncmain8): New rule.
21883         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21884         <cpuid.h>.
21885         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21886         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21887         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21888         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21889         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21890         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21891         * sysdeps/x86_64/ifuncmain8.c: New file.
21892         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21893         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21894         Removed.
21895         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21896         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21897         Change rtld_savespace_sse to __glibc_unused2.
21898         (RTLD_CHECK_FOREIGN_CALL): Removed.
21899         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21900         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21901         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21903 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21905         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21907 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21909         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21910         Unconditionally set __fpcr to avoid uninialized warning.
21911         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21913 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21915         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21916         is corrupt.
21918         * malloc/arena.c (arena_get2): Drop unused argument.
21919         (arena_lock): Adjust.
21920         (arena_get_retry): Likewise.
21922 2015-08-24  Andreas Schwab  <schwab@suse.de>
21924         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21925         Don't define.
21926         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21927         (__ASSUME_IPC64): Don't undef.
21928         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21929         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21930         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21931         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21932         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21933         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21934         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21935         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21936         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21937         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21938         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21939         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21940         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21941         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21942         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21943         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21944         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21945         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21946         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21947         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21948         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21950 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21952         * manual/Makefile (install): Only build manual when perl is available.
21954 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21956         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21957         '#undef memcpy' by '#undef memchr'.
21959 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21961         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21962         memchr not point to the internal __GI_memchr implementation.
21964 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21966         * timezone/Makefile (CFLAGS-zdump.c): Remove
21967         -Wno-strict-prototypes.
21968         (CFLAGS-zic.c): Likewise.
21969         (CFLAGS-ialloc.c): Likewise.
21970         (CFLAGS-scheck.c): Likewise.
21972         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21973         -Wno-error=undef.
21975 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21977         * i386/i686/multiarch/strcasestr-c.c: Removed.
21978         * x86_64/multiarch/strcasestr.c: Likewise.
21979         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21980         Remove strcasestr.
21982 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21984         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21986         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21987         variables for high and low parts before possibly modifying them.
21989 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21991         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21992         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21993         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21994         of "multiarch/init-arch.h".
21995         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21996         * sysdeps/x86/init-arch.h: This.
21998 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22000         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22001         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22003 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22005         [BZ #17787]
22006         * manual/macros.texi: Add twoexp macro.
22007         * manual/filesys.texi: Fix exponents.
22008         * manual/llio.texi: Likewise.
22009         * manual/stdio.texi: Likewise.
22011 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22013         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22014         incorrect use.
22016 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #18370]
22019         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22020         whose real or imaginary part has small absolute value.
22021         * math/s_csqrtf.c (__csqrtf): Likewise.
22022         * math/s_csqrtl.c (__csqrtl): Likewise.
22023         * math/auto-libm-test-in: Add more tests of csqrt.
22024         * math/auto-libm-test-out: Regenerated.
22025         * sysdeps/i386/fpu/libm-test-ulps: Update.
22027 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22029         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22030         __ppc_set_ppr_very_low): New functions.
22031         * manual/platform.texi: Add documentation about
22032         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22034 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22036         * string/stpncpy.c (stpncpy): Improve performance using
22037         __strnlen/memcpy/memset.
22039 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22041         [BZ #18796]
22042         * scripts/test-installation.pl: Don't add -lmvec to build options if
22043         libmvec wasn't built.
22045 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22047         [BZ #14341]
22048         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22049         case when there is a gap between DT_REL and DT_JMPREL sections.
22050         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22051         (LDFLAGS-tst-split-dynreloc): New.
22052         (tst-split-dynreloc-ENV): Likewise.
22053         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22054         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22056 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22058         [BZ #18822]
22059         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22060         attribute_hidden.
22061         (__xstat64_conv): Likewise.
22062         (__xstat32_conv): Likewise.
22064 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22066         [BZ #18822]
22067         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22068         Don't load %ebx when calling __setcontext.  Call __setcontext
22069         with HIDDEN_JUMPTARGET.
22070         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22071         libc_hidden_def.
22073 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22075         * sysdeps/i386/i686/Makefile
22076         [$(subdir) == string] (sysdep_routines): Moved to ...
22077         * sysdeps/i386/Makefile: Here.
22078         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22079         * sysdeps/i386/cacheinfo.c: Here.
22080         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22081         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22082         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22083         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22085 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22087         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22088         __i586__ is defined.
22089         (HAS_I686): Defined to 1 if __i686__ is defined.
22091 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22093         * elf/Makefile [$(have-z-execstack) = yes]
22094         (CPPFLAGS-tst-execstack.c): New variable.
22096         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22097         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22098         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22099         UTMPX || _HAVE_UT_TV].
22100         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22101         UTMPX || _HAVE_UT_TV - 0].
22103 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22105         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22106         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22107         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22109 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22111         * sysdeps/powerpc/dl-procinfo.c:
22112         (_dl_powerpc_cap_flags): Added missing strings for some
22113         hwcap features.
22114         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22116 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22118         Port the 0x7efe...feff pattern to GCC 6.
22119         See Steve Ellcey's bug report in:
22120         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22121         * string/memrchr.c (MEMRCHR):
22122         * string/rawmemchr.c (RAWMEMCHR):
22123         * string/strchr.c (strchr):
22124         * string/strchrnul.c (STRCHRNUL):
22125         Rewrite code to avoid issues with signed shift overflow.
22127 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22129         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22130         whether cpuid is available only if HAS_CPUID is 0.
22131         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22132         (HAS_I586): Likewise.
22133         (HAS_I686): Likewise.
22135 2015-08-18  Zack Weinberg  <zackw@panix.com>
22137         * misc/Versions (libc): Add GLIBC_2.23.
22139 2015-08-18  Alan Modra  <amodra@gmail.com>
22141         [BZ #18421]
22142         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22143         .Lp__global.
22144         (_start): Load %dp via .Lp__global.
22145         [!SHARED]: Use .section .rodata.
22147 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22149         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22150         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22152 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22154         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22155         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22157 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22159         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22160         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22162 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22164         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22165         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22167 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22169         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22170         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22172 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22174         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22175         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22177 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22179         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22181 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22183         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22184         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22185         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22186         (__ASSUME_LWS_CAS): Delete.
22188 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22190         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22191         * sysdeps/hppa/configure: Regenerated.
22192         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22193         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22194         * sysdeps/hppa/nptl/tls.h: Likewise.
22196 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22198         [BZ #18823]
22199         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22200         for scaling up small arguments.
22201         * math/s_csqrtf.c (__csqrtf): Likewise.
22202         * math/s_csqrtl.c (__csqrtl): Likewise.
22203         * math/auto-libm-test-in: Add more tests of csqrt.
22204         * math/auto-libm-test-out: Regenerated.
22206 2015-08-17  Andreas Schwab  <schwab@suse.de>
22208         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22209         version set GLIBC_2.19.
22211 2015-08-16  Zack Weinberg  <zackw@panix.com>
22213         [BZ #18681]
22214         * misc/regexp.h: This interface is no longer supported.
22215         Remove all contents, leaving only an #error directive.
22216         * misc/regexp.c (loc1, loc2, locs, step, advance):
22217         Demote to compatibility symbols.
22219 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22221         [BZ #18084]
22222         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22223         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22224         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22225         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22226         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22227         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22228         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22229         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22230         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22232 2015-08-15  Zack Weinberg  <zackw@panix.com>
22234         [BZ #18795]
22235         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22236         buffer length is known to be too large, not if it's known to be
22237         small enough.
22238         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22239         overflow at runtime, involving a length parameter, twice: once
22240         with a compile-time constant length parameter, once without.
22242 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22244         [BZ #18824]
22245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22246         scaling x * y up instead of down.
22247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22249         * math/auto-libm-test-in: Add more tests of fma.
22250         * math/auto-libm-test-out: Regenerated.
22252 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22256 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22258         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22259         unnecessary movq.
22260         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22261         Likewise.
22263 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22265         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22266         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22267         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22268         and tgamma.
22269         * math/auto-libm-test-out: Regenerated.
22270         * sysdeps/i386/fpu/libm-test-ulps: Update.
22271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22273         [BZ #16520]
22274         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22275         (__tanh): Force underflow exception for arguments with small
22276         absolute value.
22277         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22278         (__tanhf): Force underflow exception for arguments with small
22279         absolute value.
22280         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22281         (__tanhl): Force underflow exception for arguments with small
22282         absolute value.
22283         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22284         (__tanhl): Force underflow exception for arguments with small
22285         absolute value.
22286         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22287         (__tanhl): Force underflow exception for arguments with small
22288         absolute value.
22289         * math/auto-libm-test-in: Add more tests of tanh.
22290         * math/auto-libm-test-out: Regenerated.
22291         * sysdeps/i386/fpu/libm-test-ulps: Update.
22293 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22295         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22296         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22298 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22300         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22301         <cpuid.h>.
22303 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22305         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22306         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22308 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22310         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22311         Remove $(objpfx)init-arch.o.
22312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22313         init-arch.
22314         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22315         (INIT_ARCH_EXT): Defined as empty.
22316         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22317         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22318         __init_cpu_features call.  Replace HAS_XXX with
22319         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22323         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22324         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22325         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22326         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22327         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22356 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22358         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22359         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22360         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22361         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22362         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22363         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22364         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22365         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22366         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22367         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22368         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22369         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22370         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22371         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22372         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22373         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22374         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22375         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22376         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22377         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22378         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22379         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22380         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22381         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22382         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22383         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22384         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22385         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22386         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22387         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22388         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22389         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22390         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22391         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22392         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22393         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22394         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22395         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22396         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22397         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22398         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22399         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22400         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22402 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22404         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22405         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22406         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22407         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22408         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22409         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22410         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22411         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22412         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22413         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22414         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22415         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22416         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22417         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22418         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22419         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22420         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22421         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22422         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22423         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22424         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22425         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22426         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22427         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22428         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22429         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22430         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22431         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22432         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22433         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22434         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22435         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22436         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22437         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22438         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22439         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22440         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22441         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22442         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22443         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22444         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22445         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22446         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22448 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22450         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22451         (dl_platform_init): Call init_cpu_features.
22452         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22453         * sysdeps/i386/i686/cacheinfo.c
22454         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22455         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22456         * sysdeps/i386/i686/multiarch/Versions: Removed.
22457         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22458         Removed.
22459         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22460         * sysdeps/unix/sysv/linux/x86/Makefile
22461         (libpthread-sysdep_routines): Remove init-arch.
22462         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22463         <sysdeps/x86_64/dl-procinfo.c> instead of
22464         sysdeps/generic/dl-procinfo.c>.
22465         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22466         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22467         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22468         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22469         [$(subdir) == elf] (tests-static): Add
22470         tst-get-cpu-features-static.
22471         * sysdeps/x86/Versions: New file.
22472         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22473         * sysdeps/x86/cpu-features.c: Likewise.
22474         * sysdeps/x86/cpu-features.h: Likewise.
22475         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22476         * sysdeps/x86/libc-start.c: Likewise.
22477         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22478         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22479         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22480         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22481         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22482         Assume USE_MULTIARCH is defined and don't check it.
22483         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22484         (is_amd): Likewise.
22485         (max_cpuid): Likewise.
22486         (intel_check_word): Likewise.
22487         (__cache_sysconf): Don't call __init_cpu_features.
22488         (__x86_preferred_memory_instruction): Removed.
22489         (init_cacheinfo): Don't call __init_cpu_features. Replace
22490         __cpu_features with GLRO(dl_x86_cpu_features).
22491         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22492         (dl_platform_init): Call init_cpu_features.
22493         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22494         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22495         * sysdeps/x86_64/multiarch/Versions: Removed.
22496         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22497         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22498         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22499         Removed.
22500         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22502 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22504         [BZ #18820]
22505         * libio/Makefile (test-fmemopen-mem): New test.
22506         * libio/test-fmemopen.c (do_bz18820): New test.
22507         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22508         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22510 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22512         [BZ #16734]
22513         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22514         (FREE_BUF): Delete.
22515         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22516         * libio/genops.c (_IO_setb): Use malloc and free directly.
22517         (_IO_default_doallocate, _IO_default_finish): Likewise.
22518         ( _IO_unbuffer_all): Likewise.
22519         ( libc_freeres_fn): Likewise.
22520         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22521         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22522         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22523         (_IO_wdefault_doallocate): Likewise.
22525 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22527         [BZ #18086]
22528         * sysdeps/posix/nice.c (nice): Restore old errno.
22529         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22531 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22533         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22535 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22537         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22538         __bcopy and add a weak_alias to bcopy.
22539         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22540         for static build.
22542         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22543         cleanup macro usage.
22544         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22546         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22547         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22548         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22549         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22550         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22551         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22552         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22553         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22555         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22557         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22560         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22561         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22562         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22564         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22565         libc_hidden_def.
22566         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22568         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22569         (sysdep_routines): Add strstr-ppc64.
22570         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22572 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22574         [BZ #18778]
22575         * elf/Makefile (tests): Add Add tst-nodelete2.
22576         (modules-names): Add tst-nodelete2mod.
22577         (tst-nodelete2mod.so-no-z-defs): New.
22578         ($(objpfx)tst-nodelete2): Likewise.
22579         ($(objpfx)tst-nodelete2.out): Likewise.
22580         (LDFLAGS-tst-nodelete2): Likewise.
22581         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22582         out of loop through all loaded libraries.
22583         * elf/tst-nodelete2.c: New file.
22584         * elf/tst-nodelete2mod.c: Likewise.
22585         * elf/tst-znodelete-zlib.cc: Delete.
22587 2015-08-11  Andreas Schwab  <schwab@suse.de>
22589         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22590         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22591         (__openat64_nocancel): Likewise.
22593 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22595         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22596         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22597         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22598         * math/auto-libm-test-out: Regenerated.
22599         * sysdeps/i386/fpu/libm-test-ulps: Update.
22600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22602 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22604         [BZ #18790]
22605         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22606         threshold for returning +/- 1.
22607         * math/auto-libm-test-in: Add more tests of tanh.
22608         * math/auto-libm-test-out: Regenerated.
22609         * sysdeps/i386/fpu/libm-test-ulps: Update.
22611 2015-08-10  Andreas Schwab  <schwab@suse.de>
22613         [BZ #18781]
22614         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22615         MORE_OFLAGS to oflag.
22616         * io/test-lfs.c (do_test): Test openat64.
22618 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22620         [BZ #18789]
22621         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22622         smaller threshold for returning the argument.
22623         * math/auto-libm-test-in: Add more tests of sinh.
22624         * math/auto-libm-test-out: Regenerated.
22625         * sysdeps/i386/fpu/libm-test-ulps: Update.
22627 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22629         [BZ #18674]
22630         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22631         break.
22633 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22635         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22636         (generated): Don't add $(addprefix z.,$(tzfiles)).
22638 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22640         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22641         * scripts/sysd-rules.awk: Likewise.
22643 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22645         * iconvdata/tst-tables.sh: Change echo -n to printf.
22646         * nss/db-Makefile: Likewise.
22647         * posix/tst-getconf.sh: Likewise.
22648         * stdio-common/tst-unbputc.sh: Likewise.
22650 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22652         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22653         MADV_*_PAGES defines behind this feature check.
22655 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22657         [BZ #18480]
22658         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22659         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22660         Define.
22661         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22662         LOAD_REGS_5, LOAD_REGS_6): Update.
22663         (INTERNAL_SYSCALL): Update using new LOAD defines.
22664         (INTERNAL_SYSCALL_NCS): Likewise.
22665         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22667 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22669         [BZ #16734]
22670         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22672 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22674         [BZ #17905]
22675         * catgets/Makefile (tst-catgets-mem): New test.
22676         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22677         * catgets/open_catalog.c (__open_catalog): Likewise.
22678         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22680 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22682         [BZ #18787]
22683         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22684         clobber registers.
22685         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22686         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22687         Cast return to __typeof (oldval).
22689 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22691         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22692         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22693         and delete sys/syscall.h include.
22695 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22697         [BZ #16517]
22698         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22699         (tan): Force underflow exception for arguments with small absolute
22700         value.
22701         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22702         (__kernel_tanf): Force underflow exception for arguments with
22703         small absolute value.
22704         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22705         (__kernel_tanl): Force underflow exception for arguments with
22706         small absolute value.
22707         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22708         (__kernel_tanl): Force underflow exception for arguments with
22709         small absolute value.
22710         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22711         (__kernel_tanl): Force underflow exception for arguments with
22712         small absolute value.
22713         * math/auto-libm-test-in: Add more tests of tan.
22714         * math/auto-libm-test-out: Regenerated.
22716 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22718         Fix sysdeps/i386/fpu/s_scalbn.S build
22720         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22722 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22724         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22726 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22728         Fix gcrt0.o compilation
22730         When static-start-installed-name is different from
22731         start-installed-name, we must not use the shared objects.
22733         * csu/Makefile
22734         (extra-objs): Add gmon-start.o when building shared library and
22735         $(static-start-installed-name) is different from
22736         $(start-installed-name).
22737         $(objpfx)g$(static-start-installed-name): When building shared
22738         library and $(static-start-installed-name) is different from
22739         $(static-start-installed-name), revert to non-shared rule,
22740         i.e. using $(objpfx)% and gmon-start.o.
22742 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22744         [BZ #16519]
22745         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22746         (__ieee754_sinh): Force underflow exception for arguments with
22747         small absolute value.
22748         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22749         (__ieee754_sinhf): Force underflow exception for arguments with
22750         small absolute value.
22751         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22752         (__ieee754_sinhl): Force underflow exception for arguments with
22753         small absolute value.
22754         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22755         (__ieee754_sinhl): Force underflow exception for arguments with
22756         small absolute value.
22757         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22758         (__ieee754_sinhl): Force underflow exception for arguments with
22759         small absolute value.
22760         * math/auto-libm-test-in: Add more tests of sinh.
22761         * math/auto-libm-test-out: Regenerated.
22762         * sysdeps/i386/fpu/libm-test-ulps: Update.
22764 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22766         * libio/oldfileops.c: Include unistd.h.
22768 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22770         * stdlib/isomac.c: Include ctype.h.
22772 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22774         * dirent/tst-seekdir.c (main): Converted to ...
22775         (do_test): ... this.
22776         (TEST_FUNCTION): New macro.
22777         Include test-skeleton.c.
22778         * elf/tst-dlmodcount.c (main): Converted to ...
22779         (do_test): ... this.
22780         (TEST_FUNCTION): New macro.
22781         Include test-skeleton.c.
22782         * elf/tst-order-main.c (main): Converted to ...
22783         (do_test): ... this.
22784         (TEST_FUNCTION): New macro.
22785         Include test-skeleton.c.
22786         * elf/tst-pie2.c (main): Converted to ...
22787         (do_test): ... this.
22788         (TEST_FUNCTION): New macro.
22789         Include test-skeleton.c.
22790         * inet/tst-ether_aton.c (main): Converted to ...
22791         (do_test): ... this.
22792         (TEST_FUNCTION): New macro.
22793         Include test-skeleton.c.
22794         * misc/tst-mntent.c (main): Converted to ...
22795         (do_test): ... this.
22796         (TEST_FUNCTION): New macro.
22797         Include test-skeleton.c.
22798         * misc/tst-tsearch.c (main): Converted to ...
22799         (do_test): ... this.
22800         (TEST_FUNCTION): New macro.
22801         Include test-skeleton.c.
22802         * posix/tst-regexloc.c (main): Converted to ...
22803         (do_test): ... this.
22804         (TEST_FUNCTION): New macro.
22805         Include test-skeleton.c.
22806         * resolv/tst-aton.c (main): Converted to ...
22807         (do_test): ... this.
22808         (TEST_FUNCTION): New macro.
22809         Include test-skeleton.c.
22810         * stdio-common/test-fwrite.c (main): Converted to ...
22811         (do_test): ... this.
22812         (TEST_FUNCTION): New macro.
22813         Include test-skeleton.c.
22814         * stdio-common/tst-ferror.c (main): Converted to ...
22815         (do_test): ... this.
22816         (TEST_FUNCTION): New macro.
22817         Include test-skeleton.c.
22818         * stdio-common/tst-printf.c (main): Converted to ...
22819         (do_test): ... this.
22820         (TEST_FUNCTION): New macro.
22821         Include test-skeleton.c.
22822         * stdio-common/tst-printfsz.c (main): Converted to ...
22823         (do_test): ... this.
22824         (TEST_FUNCTION): New macro.
22825         Include test-skeleton.c.
22826         * stdlib/tst-strtod.c (main): Converted to ...
22827         (do_test): ... this.
22828         (TEST_FUNCTION): New macro.
22829         Include test-skeleton.c.
22830         * string/tst-strlen.c (main): Converted to ...
22831         (do_test): ... this.
22832         (TEST_FUNCTION): New macro.
22833         Include test-skeleton.c.
22834         * string/tst-svc.c (main): Converted to ...
22835         (do_test): ... this.
22836         (TEST_FUNCTION): New macro.
22837         Include test-skeleton.c.
22838         * time/tst-strptime.c (main): Converted to ...
22839         (do_test): ... this.
22840         (TEST_FUNCTION): New macro.
22841         Include test-skeleton.c.
22842         * timezone/tst-timezone.c (main): Converted to ...
22843         (do_test): ... this.
22844         (TEST_FUNCTION): New macro.
22845         Include test-skeleton.c.
22847 2015-08-05  Zack Weinberg  <zackw@panix.com>
22849         * misc/regexp.h: Update comments.
22851 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22853         [BZ #18635]
22854         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22855         before return label.
22857 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22859         [BZ #18661]
22860         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22861         when calling __errno_location.
22862         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22863         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22865 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22867         [BZ #18661]
22868         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22869         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22870         __gettimeofday.
22872 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22874         [BZ #18661]
22875         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22876         (__start_context): Don't use pop to restore %rdi so that stack
22877         is aligned to 16 bytes when calling __setcontext.
22879 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22881         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22882         only for libc.
22883         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22885 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22887         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22888         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22889         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22891 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22893         * string/memccpy.c (memccpy):
22894         Improve performance by using memchr/memcpy/__mempcpy.
22896 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22898         * string/strncpy.c (strncpy):
22899         Improve performance by using __strnlen/memcpy.
22901 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22903         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22904         Optimize to avoid an unnecessary FPCR read.
22906 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22908         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22909         Optimize to reduce FPCR/FPSR accesses.
22911 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22913         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22914         dead->data[category] != NULL.
22916 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22918         [BZ #18647]
22919         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22920         and |x| close to 1, use absolute value of x when computing log.
22921         * math/auto-libm-test-in: Add more tests of pow.
22922         * math/auto-libm-test-out: Regenerated.
22924 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22926         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22927         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22928         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22930 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22932         [BZ #18525]
22933         * locales/km_KH: Remove timezone definition.
22934         * locales/lo_LA: Likewise.
22935         * locales/my_MM: Likewise.
22936         * locales/nan_TW@latin: Likewise.
22937         * locales/th_TH: Likewise.
22938         * locales/uk_UA: Likewise.
22940 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22942         [BZ #18265]
22943         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22944         (wcsncat): Likewise.
22945         (wcscmp): Likewise.
22946         (wcsncmp): Likewise.
22948 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22950         * test-skeleton.c (usage): New function.
22951         (main): Call usage when opt is '?'.
22953 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22955         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22956         before first use.
22958 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22960         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22961         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22962         in there too.
22964 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22966         * version.h (RELEASE): Set to "development".
22967         (VERSION): Set to "2.22.90"
22969         * version.h (RELEASE): Set to "stable".
22970         (VERSION): Set to "2.22"
22971         * include/features.h (__GLIBC_MINOR__): Set to 22.
22973 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22975         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22976         Restructure macro to avoid "value computed is not used" warning.
22977         (atomic_compare_and_exchange_val_acq): Likewise.
22979 2015-08-04  Andreas Schwab  <schwab@suse.de>
22981         [BZ #18635]
22982         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22983         ret.
22984         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22986 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22988         * po/pl.po: Updated translation.
22989         * po/uk.po: Likewise.
22990         * po/fi.po: Likewise.
22991         * po/ko.po: Likewise.
22992         * po/ru.po: Likewise.
22993         * po/vi.po: Likewise.
22995 2015-07-31  Zack Weinberg  <zackw@panix.com>
22997         [BZ #18681]
22998         * regexp.h: Add unconditional #warning stating that this header
22999         will be removed soon.  Revise banner comment to match.
23000         (compile): Consistently use ERROR instead of RETURN to report
23001         errors (partial fix for bz#18681).
23002         * regexp.c: Don't include regexp.h. Remove some unnecessary
23003         declarations.
23005 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23007         * po/libc.pot: Regenerated.
23009 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23011         [BZ #18740]
23012         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23013         float-vlen4-arch-ext-cflags): Removed.
23014         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23015         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23017 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23019         [BZ #14113]
23020         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23021         aligned to __aligned__.
23022         (pthread_cond_t, pthread_rwlock_t): Likewise.
23024 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23026         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23028 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23030         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23031         (struct sigaction): Change sa_flags from a long to an int, and add
23032         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23034 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23036         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23037         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23038         sysdeps/generic/sysdep.h include.
23039         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23040         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23041         sysdeps/hppa/sysdep.h.
23042         (ENTRY, PSEUDO): Undefine before defining.
23044 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23046         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23047         from scratch to use INTERNAL_SYSCALL.
23049 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23051         [BZ #18078]
23052         * scripts/check-localplt.awk: Support alternate relocations.
23053         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23054         sections.
23055         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23056         malloc entries with + REL R_386_GLOB_DAT.
23057         * sysdeps/x86_64/localplt.data: New file.
23059 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23061         [BZ #18731]
23062         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23063         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23064         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23066 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23068         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23070 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23072         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23073         directly in terms of __sync_fetch_and_add and delete (int) cast.
23075 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23077         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23078         the -D_ASM_IA64_CURRENT_H flag.
23080 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23082         [BZ #18641]
23083         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23085 2015-07-27  Andreas Schwab  <schwab@suse.de>
23087         * conform/conformtest.pl (checknamespace): Filter out string
23088         literals while tokenizing.
23090 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23092         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23093         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23094         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23096 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23098         * nptl/tst-join7mod.c: Add #include <string.h>.
23100 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23102         * sysdeps/nios2/libm-test-ulps: Update.
23104 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23106         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23107         Fix order of arguments to the rt_sigprocmask syscall.
23108         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23109         Likewise.
23111 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23113         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23115 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23117         [BZ #18457]
23118         * nptl/Makefile (tests): New test case tst-join7.
23119         (modules-names): New test case module tst-join7mod.
23120         * nptl/tst-join7.c: New file.
23121         * nptl/tst-join7mod.c: New file.
23122         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23123         all translation units in libc.so, libpthread.so and rtld.
23125 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23129 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23133         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23134         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23135         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23136         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23137         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23141         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23142         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23143         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23144         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23145         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23146         implementation.
23148 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23150         [BZ #17711]
23151         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23152         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23153         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23154         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23155         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23156         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23158 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23160         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23161         instead of just saying load lock in the comments.
23163 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23165         * sysdeps/unix/Subdirs: Moved ...
23166         * sysdeps/posix/Subdirs: ... here.
23167         * login/pty.h (struct termios, struct winsize): Add forward decls.
23168         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23169         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23170         * sysdeps/arm/nacl/libc.abilist: Updated.
23171         * sysdeps/nacl/libutil.abilist: New file.
23173         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23174         (SIGWINCH): New macro.
23176         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23177         * sysdeps/arm/nacl/libc.abilist: Add it.
23179 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23181         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23183 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23185         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23186         Swap __glibc_reserved0 and sa_flags order.
23188 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23190         [BZ #18657]
23191         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23192         are pending TLS destructor calls.
23193         * include/link.h (struct link_map): Add concurrency note for
23194         L_TLS_DTOR_COUNT.
23195         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23196         Don't touch the link map flag.  Atomically increment
23197         l_tls_dtor_count.
23198         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23199         Avoid taking the load lock and don't touch the link map flag.
23200         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23201         * stdlib/Makefile (tests): Use it.
23202         * stdlib/tst-tls-atexit.c (do_test): dlopen
23203         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23204         to allow tst-tls-atexit-nodelete test case to use it.
23206 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23208         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23209         to bits/types.h.
23210         (msgqnum_t): New typedef.
23211         (msglen_t): Likewise.
23212         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23213         and msg_qbytes type to msglen_t.
23215 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23217         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23218         pad0 to __glibc_reserved0.
23219         (struct stat64): Likewise.
23221 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23223         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23224         Change sa_flags from a long to an int and add __glibc_reserved0 before
23225         it for padding.
23227 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23229         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23230         anonymous by deleting "siginfo" name.
23232 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23234         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23235         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23236         rather than __nacl_irt_filename.
23237         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23239         * NEWS: New item for arm-nacl port.
23240         * sysdeps/arm/nacl/libc.abilist: New file.
23241         * sysdeps/nacl/ld.abilist: New file.
23242         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23243         * sysdeps/nacl/libanl.abilist: New file.
23244         * sysdeps/nacl/libcrypt.abilist: New file.
23245         * sysdeps/nacl/libdl.abilist: New file.
23246         * sysdeps/nacl/libm.abilist: New file.
23247         * sysdeps/nacl/libpthread.abilist: New file.
23248         * sysdeps/nacl/libresolv.abilist: New file.
23249         * sysdeps/nacl/librt.abilist: New file.
23251 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23253         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23254         __startcontext to initialize the new context.
23255         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23256         up CFI directive to forbid further backtracing.
23258 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23260         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23261         reference.
23262         * charmaps/ANSI_X3.4-1968: Likewise.
23263         * charmaps/BS_4730: Likewise.
23264         * charmaps/BS_VIEWDATA: Likewise.
23265         * charmaps/CP1250: Likewise.
23266         * charmaps/CP1251: Likewise.
23267         * charmaps/CP1252: Likewise.
23268         * charmaps/CP1253: Likewise.
23269         * charmaps/CP1254: Likewise.
23270         * charmaps/CP1255: Likewise.
23271         * charmaps/CP1256: Likewise.
23272         * charmaps/CSN_369103: Likewise.
23273         * charmaps/EBCDIC-DK-NO: Likewise.
23274         * charmaps/GB_1988-80: Likewise.
23275         * charmaps/GREEK-CCITT: Likewise.
23276         * charmaps/GREEK7: Likewise.
23277         * charmaps/INIS-8: Likewise.
23278         * charmaps/ISIRI-3342: Likewise.
23279         * charmaps/ISO_2033-1983: Likewise.
23280         * charmaps/ISO_5427-EXT: Likewise.
23281         * locales/POSIX: Likewise.
23282         * locales/ar_SA: Likewise.
23283         * locales/be_BY: Likewise.
23284         * locales/be_BY@latin: Likewise.
23285         * locales/ca_ES: Likewise.
23286         * locales/cs_CZ: Likewise.
23287         * locales/da_DK: Likewise.
23288         * locales/de_BE: Likewise.
23289         * locales/de_CH: Likewise.
23290         * locales/de_LU: Likewise.
23291         * locales/en_AU: Likewise.
23292         * locales/en_BW: Likewise.
23293         * locales/en_CA: Likewise.
23294         * locales/en_DK: Likewise.
23295         * locales/en_GB: Likewise.
23296         * locales/en_IE: Likewise.
23297         * locales/en_NZ: Likewise.
23298         * locales/en_ZA: Likewise.
23299         * locales/en_ZW: Likewise.
23300         * locales/es_AR: Likewise.
23301         * locales/es_BO: Likewise.
23302         * locales/es_CL: Likewise.
23303         * locales/es_CO: Likewise.
23304         * locales/es_DO: Likewise.
23305         * locales/es_EC: Likewise.
23306         * locales/es_ES: Likewise.
23307         * locales/es_HN: Likewise.
23308         * locales/es_MX: Likewise.
23309         * locales/es_PA: Likewise.
23310         * locales/es_PE: Likewise.
23311         * locales/es_PY: Likewise.
23312         * locales/es_SV: Likewise.
23313         * locales/es_US: Likewise.
23314         * locales/es_UY: Likewise.
23315         * locales/es_VE: Likewise.
23316         * locales/et_EE: Likewise.
23317         * locales/fa_IR: Likewise.
23318         * locales/fo_FO: Likewise.
23319         * locales/fr_CA: Likewise.
23320         * locales/fr_CH: Likewise.
23321         * locales/gv_GB: Likewise.
23322         * locales/he_IL: Likewise.
23323         * locales/hr_HR: Likewise.
23324         * locales/id_ID: Likewise.
23325         * locales/is_IS: Likewise.
23326         * locales/it_CH: Likewise.
23327         * locales/iw_IL: Likewise.
23328         * locales/kl_GL: Likewise.
23329         * locales/ko_KR: Likewise.
23330         * locales/kw_GB: Likewise.
23331         * locales/lg_UG: Likewise.
23332         * locales/lt_LT: Likewise.
23333         * locales/lv_LV: Likewise.
23334         * locales/mi_NZ: Likewise.
23335         * locales/nhn_MX: Likewise.
23336         * locales/nl_BE: Likewise.
23337         * locales/pl_PL: Likewise.
23338         * locales/sk_SK: Likewise.
23339         * locales/sl_SI: Likewise.
23340         * locales/sv_FI: Likewise.
23341         * locales/tl_PH: Likewise.
23342         * locales/tr_TR: Likewise.
23343         * locales/vi_VN: Likewise.
23345 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23347         [BZ #17475]
23348         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23349         of tu_IN and bh_IN.
23351 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23353         [BZ #18694]
23354         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23355         bits/wordsize.h.
23356         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23358 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23360         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23361         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23362         (spawn_thread): New function.
23363         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23364         (do_test): ... here.  Use IS_LOADED to test for its
23365         availability.
23367 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23369         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23371 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23373         [BZ #18696]
23374         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23375         si_addr_bnd.
23376         (si_lower): New.
23377         (si_upper): Likewise.
23379 2015-07-16  David S. Miller  <davem@davemloft.net>
23381         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23383 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23385         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23386         buffer.
23387         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23388         fail output information.
23390 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23393         and strstr-ppc64..
23394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23395         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23396         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23397         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23398         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23400 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23402         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23403         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23404         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23405         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23407 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23409         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23410         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23411         rtld_hidden_proto.
23412         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23414 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23416         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23417         the test can fail.
23419         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23421         [BZ #18676]
23422         * elf/tst-nodelete-opened.c: New test case.
23423         * elf/tst-nodelete-opened-lib.c: New test case module.
23424         * elf/Makefile (tests, modules-names): Use them.
23425         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23426         early.
23428 2015-07-15  David S. Miller  <davem@davemloft.net>
23430         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23431         futex-intenal.h
23432         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23433         * sysdeps/sparc/sparc64/Makefile: Likewise.
23434         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23435         Remove space from macro define.
23436         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23438 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23440         [BZ #17475]
23441         * locale/iso-639.def: Update Bhili and Tulu language codes as
23442         per iso639-3.
23444 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23446         * elf/tst-leaks1.c (main): Converted to ...
23447         (do_test): ... this.
23448         (TEST_FUNCTION): New macro.
23449         Include test-skeleton.c.
23450         * localedata/tst-langinfo.c (main): Converted to ...
23451         (do_test): ... this.
23452         (TEST_FUNCTION): New macro.
23453         Include test-skeleton.c.
23454         * math/test-fpucw.c (main): Converted to ...
23455         (do_test): ... this.
23456         (TEST_FUNCTION): New macro.
23457         Include test-skeleton.c.
23458         * math/test-tgmath.c (main): Converted to ...
23459         (do_test): ... this.
23460         (TEST_FUNCTION): New macro.
23461         Include test-skeleton.c.
23462         * math/test-tgmath2.c (main): Converted to ...
23463         (do_test): ... this.
23464         (TEST_FUNCTION): New macro.
23465         Include test-skeleton.c.
23466         * setjmp/tst-setjmp.c (main): Converted to ...
23467         (do_test): ... this.
23468         (TEST_FUNCTION): New macro.
23469         Include test-skeleton.c.
23470         * stdio-common/tst-sscanf.c (main): Converted to ...
23471         (do_test): ... this.
23472         (TEST_FUNCTION): New macro.
23473         Include test-skeleton.c.
23474         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23475         (do_test): ... this.
23476         (TEST_FUNCTION): New macro.
23477         Include test-skeleton.c.
23479         * elf/tst-audit9.c (main): Converted to ...
23480         (do_test): ... this.
23481         (TEST_FUNCTION): New macro.
23482         Include test-skeleton.c.
23484 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23486         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23488 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23490         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23491         New variable.
23493 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23495         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23497 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23499         * sysdeps/generic/dl-fileid.h: New file.
23500         * sysdeps/posix/dl-fileid.h: New file.
23501         * sysdeps/nacl/dl-fileid.h: New file.
23502         * include/link.h: Include <dl-fileid.h>.
23503         (struct link_map): Replace l_dev and l_ino with l_file_id.
23504         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23505         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23506         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23508 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23510         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23512 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23514         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23515         Add iff $CXX is set.
23516         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23517         Likewise.
23518         (tst-nodelete-zmodiff): Likewise.
23519         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23521 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23523         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23525 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23527         * sysdeps/aarch64/fpu/math_private.h
23528         (define math_opt_barrier): Add AArch64 version.
23529         (math_force_eval): Likewise.
23531 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23533         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23535 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23537         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23538         %ld with %jd and cast to intmax_t.
23539         (do_test_length_zero): Likewise.
23541 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23543         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23545 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23547         * sysdeps/tile/libm-test-ulps: Regenerated.
23549         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23550         Comment out the whole function, not just its body.
23552 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23554         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23555         locks.
23557         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23559 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23561         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23562         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23564 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23566         * sysdeps/nptl/futex-internal.h: New file.
23567         * sysdeps/nacl/futex-internal.h: New file.
23568         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23569         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23570         error checking.
23571         (setxid_unmark_thread): Likewise.
23572         (__nptl_setxid): Likewise.
23573         (__wait_lookup_done): Likewise.
23574         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23575         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23576         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23577         * nptl/pthread_once.c (clear_once_control): Likewise.
23578         (__pthread_once_slow): Likewise.
23579         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23580         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23581         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23582         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23583         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23584         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23585         Likewise.
23586         (__pthread_rwlock_rdlock): Likewise.
23587         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23588         Likewise.
23589         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23590         Likewise.
23591         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23592         Likewise.
23593         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23594         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23595         Likewise.
23596         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23597         __ASSUME_PRIVATE_FUTEX check.
23598         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23599         Check that shared futexes are supported.
23600         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23601         wrappers with error checking.
23602         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23603         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23604         * nptl/pthread_barrierattr_setpshared.c
23605         (pthread_barrierattr_setpshared): Check that shared futexes are
23606         supported.
23607         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23608         Likewise.
23609         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23610         Likewise.
23611         * nptl/sem_init.c (futex_private_if_supported): Remove.
23612         (__new_sem_init): Adapt and check that shared futexes are supported.
23613         * nptl/sem_open.c (sem_open): Likewise.
23614         * nptl/sem_post.c (futex_wake): Remove.
23615         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23616         (do_futex_wait): Use futex wrappers with error checking.
23617         * nptl/sem_wait.c: Include lowlevellock.h.
23618         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23619         Use futex_supports_pshared.
23620         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23621         Use futex wrappers with error checking.
23622         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23623         Likewise.
23624         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23625         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23626         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23627         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23628         (futex_wake): Likewise.
23629         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23630         (do_futex_wait): Use futex wrappers with error checking.
23631         (__new_sem_wait_slow): Update EINTR handling.
23632         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23634 2015-07-09  Martin Sebor  <msebor@redhat.com>
23636         [BZ #18435]
23637         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23638         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23639         * nptl/Makefile (test-xfail-tst-once5): Define.
23641 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23643         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23644         * elf/dl-minimal.c: For readability, reorder some definitions and
23645         introduce more page breaks.  Include <stdio.h>.
23646         (__libc_fatal): New function.
23648         * include/unistd.h: Add rtld_hidden_proto for _exit.
23649         * posix/_exit.c: Add rtld_hidden_def.
23650         * sysdeps/mach/hurd/_exit.c: Likewise.
23651         * sysdeps/nacl/_exit.c: Likewise.
23652         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23653         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23655 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23657         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23658         bndmov encoding with zero displacement.
23660 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23661             H.J. Lu  <hongjiu.lu@intel.com>
23663         [BZ #18134]
23664         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23665         * sysdeps/i386/configure: Regenerated.
23666         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23667         (_dl_runtime_profile): Save and restore Intel MPX return bound
23668         registers when calling _dl_call_pltexit.  Add
23669         PRESERVE_BND_REGS_PREFIX before return.
23670         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23671         (LRV_BND1_OFFSET): Likewise.
23672         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23673         lrv_bnd1.
23674         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23675         typo in bndmov encoding.
23676         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23677         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23678         branch instructions to preserve bounds.
23680 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23683         [GLIBC_2.22]: Add fmemopen.
23685 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23687         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23688         returns an error, also try to use host port from __mach_host_self for
23689         the __vm_wire call.
23690         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23692 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23694         [BZ #18400]
23695         [BZ #18648]
23696         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23697         Fix pr_uid and pr_gid members.
23698         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23699         definition to elf_greg_t.
23701 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23703         [BZ #18383]
23704         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23705         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23706         * sysdeps/arm/configure: Regenerated.
23707         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23708         (test-xfail-tst-tlsalign-static): Variable removed.
23710         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23711         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23712         rather than explicit 'ln -s'.
23714         * resolv/rpc/netdb.h: New file.
23715         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23717 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23719         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23720         length buffers.
23721         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23722         test-skeleton.c.
23724         [BZ #6544]
23725         [BZ #11216]
23726         [BZ #12836]
23727         [BZ #13151]
23728         [BZ #13152]
23729         [BZ #14292]
23730         * include/stdio.h (fmemopen): Remove hidden prototype.
23731         (__fmemopen): Add new hidden prototype.
23732         * libio/Makefile: Add oldfmemopen object.
23733         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23734         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23735         compliance.
23736         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23737         symbol compatibility.
23738         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23739         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23740         fmemopen.
23741         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23742         on append and read mode.
23743         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23744         fmemopen.
23745         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23746         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23747         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23748         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23749         Likewise.
23750         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23751         [GLIBC_2.22]: Likewise.
23752         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23753         Likewise.
23754         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23755         Likewise.
23756         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23757         [GLIBC_2.22]: Likewise.
23758         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23759         [GLIBC_2.22]: Likewise.
23760         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23761         [GLIBC_2.22]: Likewise.
23762         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23763         [GLIBC_2.22]: Likewise.
23764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23765         [GLIBC_2.22]: Likewise.
23766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23767         [GLIBC_2.22]: Likewise.
23768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23769         [GLIBC_2.22]: Likewise.
23770         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23771         Likewise.
23772         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23773         Likewise.
23774         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23775         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23776         [GLIBC_2.22]: Likewise.
23777         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23778         [GLIBC_2.22]: Likewise.
23779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23780         [GLIBC_2.22]: Likewise.
23781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23782         [GLIBC_2.22]: Likewise.
23783         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23784         Likewise.
23785         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23786         Likewise.
23787         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23788         Likewise.
23789         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23790         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23792 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23794         [BZ #18643]
23795         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23796         IPV6_PATHMTU, and IPV6_DONTFRAG.
23798 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23800         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23801         and _IO_UNBUFFERED.
23802         * libio/oldfileops.c: Likewise.
23803         * libio/wfileops.c: Likewise.
23805 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23807         * nscd/selinux.c: Delete selinux/flask.h include.
23809 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23811         [BZ #18641]
23812         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23813         (putpwent): Likewise.
23814         (getpwnam): Likewise.
23815         (getpwent_r): Likewise.
23816         (getpwuid_r): Likewise.
23817         (getpwnam_r): Likewise.
23818         (fgetpwent_r): Likewise.
23820 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23822         [BZ #18557]
23823         * inet/rcmd.c (__validuser2_sa): Check user first to
23824         short-circuit host check.
23826 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23827             Mikhail Ilin  <m.ilin@samsung.com>
23829         [BZ #17833]
23830         * elf/Makefile (tests): Add tst-nodelete.
23831         (modules-names): Add tst-nodelete-uniquemod.
23832         (tst-nodelete-uniquemod.so-no-z-defs): New.
23833         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23834         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23835         ($(objpfx)tst-nodelete): Likewise.
23836         ($(objpfx)tst-nodelete.out): Likewise.
23837         (LDFLAGS-tst-nodelete): Likewise.
23838         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23839         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23840         implement forced object deletion.
23841         (_dl_close): Pass false to _dl_close_worker.
23842         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23843         * elf/tst-nodelete.cc: New file.
23844         * elf/tst-nodeletelib.cc: Likewise.
23845         * elf/tst-znodeletelib.cc: Likewise.
23846         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23848 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23850         [BZ #18508]
23851         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23852         Depend on $(libdl).
23853         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23854         is not called infinitely times.
23855         (backtrace_helper): New function.
23856         (trace_arg): New struct.
23857         (st1): Enlarge stack size.
23858         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23859         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23860         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23861         Likewise.
23863 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23865         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23867 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23869         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23870         Include sys/types.h instead of bits/types.h.
23871         Remove inclusion of bits/wordsize.h.
23873 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23875         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23876         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23877         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23878         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23879         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23880         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23882 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23884         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23885         link-defines.sym.
23886         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23887         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23888         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23889         and LR_SIZE.
23890         * sysdeps/i386/link-defines.sym: New file.
23892 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23894         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23895         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23896         ($(objpfx)tst-audit3): New rule.
23897         ($(objpfx)tst-audit3.out): Likewise.
23898         * sysdeps/i386/tst-audit3.c: New file.
23899         * sysdeps/i386/tst-audit3.h: Likewise.
23900         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23901         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23903 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23905         [BZ #18633]
23906         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23907         pointer in C code.
23908         (__strcat_c): Likewise.
23909         (__strcat_g): Likewise.
23911 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23913         [BZ #18592]
23914         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23916 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23918         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23919         New function.  (__ieee754_sqrtf): New function.
23920         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23921         New function.
23922         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23923         New function.
23925 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23927         * sysdeps/ieee754/support.c: Remove unused file.
23929 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23931         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23932         registers instead of d ones so the layout is kernel abi compatible.
23933         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23934         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23935         Likewise.
23937 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23939         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23941 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23943         [BZ #18619]
23944         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23945         and return argument in case of subnormal argument.
23947 2015-07-01  Martin Sebor  <msebor@redhat.com>
23949         [BZ #18435]
23950         * nptl/Makefile: Add tst-once5.cc.
23951         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23952         Remove macro redefinitions.
23953         * nptl/tst-once5.cc: New test.
23955 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23957         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23959         * sysdeps/arm/libm-test-ulps: Regenerated.
23961         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23962         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23964 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23966         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23967         lll_lock_wait_private and lll_futex_wake probes.
23969         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23970         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23971         Likewise.
23972         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23973         atomic_spin_nop.
23974         * sysdeps/x86_64/bits/atomic.h: Likewise.
23975         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23976         to atomic_spin_nop and move ...
23977         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23978         ... here and ...
23979         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23980         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23981         atomic_spin_nop instead of BUSY_WAIT_NOP.
23982         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23983         Likewise.
23984         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23985         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23986         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23987         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23988         instead of atomic_delay.
23990 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23992         [BZ #18613]
23993         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23994         X_ADJ not X when adjusting exponent.
23995         (__ieee754_gamma_r): Do intermediate computations in
23996         round-to-nearest then adjust overflowing and underflowing results
23997         as needed.
23998         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23999         of X_ADJ not X when adjusting exponent.
24000         (__ieee754_gammaf_r): Do intermediate computations in
24001         round-to-nearest then adjust overflowing and underflowing results
24002         as needed.
24003         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24004         log of X_ADJ not X when adjusting exponent.
24005         (__ieee754_gammal_r): Do intermediate computations in
24006         round-to-nearest then adjust overflowing and underflowing results
24007         as needed.  Use 1.0L not 1.0f as numerator of division.
24008         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24009         log of X_ADJ not X when adjusting exponent.
24010         (__ieee754_gammal_r): Do intermediate computations in
24011         round-to-nearest then adjust overflowing and underflowing results
24012         as needed.  Use 1.0L not 1.0f as numerator of division.
24013         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24014         of X_ADJ not X when adjusting exponent.
24015         (__ieee754_gammal_r): Do intermediate computations in
24016         round-to-nearest then adjust overflowing and underflowing results
24017         as needed.  Use 1.0L not 1.0f as numerator of division.
24018         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24019         to auto-libm-test-in.
24020         (tgamma_test): Use ALL_RM_TEST.
24021         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24022         tests of tgamma with spurious-overflow.
24023         * math/auto-libm-test-out: Regenerated.
24024         * math/gen-libm-have-vector-test.sh: Do not check for START.
24025         * sysdeps/i386/fpu/libm-test-ulps: Update.
24026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24028         [BZ #18612]
24029         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24030         arguments, just return 0.5 times the argument, with underflow
24031         forced as needed.
24032         * math/auto-libm-test-in: Add more tests of j1.
24033         * math/auto-libm-test-out: Regenerated.
24035         [BZ #16559]
24036         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24037         (__ieee754_j1): Force underflow exception for small results.
24038         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24039         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24040         (__ieee754_j1f): Force underflow exception for small results.
24041         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24042         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24043         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24044         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24045         (__ieee754_j1l): Force underflow exception for small results.
24046         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24047         * math/auto-libm-test-in: Add more tests of j1 and jn.
24048         * math/auto-libm-test-out: Regenerated.
24050         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24051         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24052         (PF_MPLS): Likewise.
24053         (AF_IB): Likewise.
24054         (AF_MPLS): Likewise.
24055         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24056         value and macro.
24057         (MS_RMT_MASK): Include MS_LAZYTIME.
24059 2015-06-26  Mel Gorman  <mgorman@suse.de>
24061         [BZ #18502]
24062         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24063         already minimal.
24065 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24067         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24068         (DT_MIPS_NUM): Update.
24069         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24070         DT_MIPS_RLD_MAP_REL.
24072 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24074         [BZ #16559]
24075         [BZ #18602]
24076         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24077         round-to-nearest internally then recompute results that
24078         underflowed to zero in the original rounding mode.
24079         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24080         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24082         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24083         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24084         * sysdeps/i386/fpu/libm-test-ulps: Update.
24085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24087 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24089         * NEWS: Fixed description of link with vector math library.
24091 2015-06-25  Andreas Schwab  <schwab@suse.de>
24093         [BZ #18549]
24094         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24095         * libio/test-fmemopen.c (do_test): Add test for it.
24097 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24099         [BZ #17841]
24100         * Makeconfig (no-pie-ldflag): New.
24101         (+link): Set to $(+link-pie) if default to PIE.
24102         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24103         * config.make.in (build-pie-default): New.
24104         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24105         is default.  AC_SUBST.
24106         * configure: Regenerated.
24107         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24109 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24111         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24112         to 'unsigned int'.
24114         * resolv/gai_misc.h (struct waitlist): Change type of field
24115         counterp to 'volatile unsigned int *'.
24116         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24117         FUTEXADDR and OLDVAL.
24118         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24119         Give local variable TOTAL type 'volatile unsigned int'.
24120         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24121         * resolv/gai_suspend.c (gai_suspend):
24122         Give local variable CNTR type 'unsigned int'.
24124         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24125         counterp to 'volatile unsigned int *'.
24126         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24127         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24128         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24129         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24130         Give local variable TOTAL type 'volatile unsigned int'.
24131         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24133 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24135         [BZ #18383]
24136         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24137         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24138         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24139         comment for i386/x86-64.
24140         (test-xfail-tst-tlsalign-extern-static): Removed.
24142 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24144         * math/test-double.h: New file.
24145         * math/test-float.h: Likewise.
24146         * math/test-ldouble.h: Likewise.
24147         * math/test-math-inline.h: Likewise.
24148         * math/test-math-no-inline.h: Likewise.
24149         * math/test-math-scalar.h: Likewise.
24150         * math/test-math-vector.h: Likewise.
24151         * math/test-vec-loop.h: Remove file.  Contents moved into
24152         test-math-vector.h.
24153         * math/libm-test.inc (MATHCONST): Do not document macro.
24154         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24155         and test-math-scalar.h.
24156         (FUNC): Remove macro.
24157         (FUNC_TEST): Likewise.
24158         (FLOAT): Likewise.
24159         (MATHCONST): Likewise.
24160         (PRINTF_EXPR): Likewise.
24161         (PRINTF_XEXPR): Likewise.
24162         (PRINTF_NEXPR): Likewise.
24163         (TEST_DOUBLE): Likewise.
24164         (TEST_MATHVEC): Likewise.
24165         (__NO_MATH_INLINES): Likewise.
24166         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24167         and test-math-scalar.h.
24168         (FUNC): Remove macro.
24169         (FUNC_TEST): Likewise.
24170         (FLOAT): Likewise.
24171         (MATHCONST): Likewise.
24172         (PRINTF_EXPR): Likewise.
24173         (PRINTF_XEXPR): Likewise.
24174         (PRINTF_NEXPR): Likewise.
24175         (TEST_FLOAT): Likewise.
24176         (TEST_MATHVEC): Likewise.
24177         (__NO_MATH_INLINES): Likewise.
24178         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24179         and test-math-scalar.h.
24180         (FUNC): Remove macro.
24181         (FUNC_TEST): Likewise.
24182         (FLOAT): Likewise.
24183         (MATHCONST): Likewise.
24184         (PRINTF_EXPR): Likewise.
24185         (PRINTF_XEXPR): Likewise.
24186         (PRINTF_NEXPR): Likewise.
24187         (TEST_DOUBLE): Likewise.
24188         (TEST_MATHVEC): Likewise.
24189         (TEST_INLINE): Likewise.
24190         (__NO_MATH_INLINES): Likewise.
24191         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24192         test-math-scalar.h.
24193         (FUNC): Remove macro.
24194         (FUNC_TEST): Likewise.
24195         (FLOAT): Likewise.
24196         (MATHCONST): Likewise.
24197         (PRINTF_EXPR): Likewise.
24198         (PRINTF_XEXPR): Likewise.
24199         (PRINTF_NEXPR): Likewise.
24200         (TEST_FLOAT): Likewise.
24201         (TEST_MATHVEC): Likewise.
24202         (TEST_INLINE): Likewise.
24203         (__NO_MATH_INLINES): Likewise.
24204         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24205         and test-math-scalar.h.
24206         (FUNC): Remove macro.
24207         (FUNC_TEST): Likewise.
24208         (FLOAT): Likewise.
24209         (MATHCONST): Likewise.
24210         (PRINTF_EXPR): Likewise.
24211         (PRINTF_XEXPR): Likewise.
24212         (PRINTF_NEXPR): Likewise.
24213         (TEST_LDOUBLE): Likewise.
24214         (TEST_MATHVEC): Likewise.
24215         (TEST_INLINE): Likewise.
24216         (__NO_MATH_INLINES): Likewise.
24217         * math/test-ldouble.c: Include test-ldouble.h,
24218         test-math-no-inline.h and test-math-scalar.h.
24219         (FUNC): Remove macro.
24220         (FUNC_TEST): Likewise.
24221         (FLOAT): Likewise.
24222         (MATHCONST): Likewise.
24223         (PRINTF_EXPR): Likewise.
24224         (PRINTF_XEXPR): Likewise.
24225         (PRINTF_NEXPR): Likewise.
24226         (TEST_LDOUBLE): Likewise.
24227         (TEST_MATHVEC): Likewise.
24228         (__NO_MATH_INLINES): Likewise.
24229         * math/test-double-vlen2.h: Include test-double.h,
24230         test-math-no-inline.h and test-math-vector.h.
24231         (FLOAT): Remove macro.
24232         (FUNC): Likewise.
24233         (MATHCONST): Likewise.
24234         (PRINTF_EXPR): Likewise.
24235         (PRINTF_XEXPR): Likewise.
24236         (PRINTF_NEXPR): Likewise.
24237         (TEST_DOUBLE): Likewise.
24238         (TEST_MATHVEC): Likewise.
24239         (__NO_MATH_INLINES): Likewise.
24240         (CNCT): Likewise.
24241         (CONCAT): Likewise.
24242         (WRAPPER_NAME): Likewise.
24243         (WRAPPER_DECL): Likewise.
24244         (WRAPPER_DECL_ff): Likewise.
24245         (WRAPPER_DECL_fFF): Likewise.
24246         (VECTOR_WRAPPER): Likewise.
24247         (VECTOR_WRAPPER_ff): Likewise.
24248         (VECTOR_WRAPPER_fFF): Likewise.
24249         (VEC_LEN): New macro.
24250         * math/test-double-vlen4.h: Include test-double.h,
24251         test-math-no-inline.h and test-math-vector.h.
24252         (FLOAT): Remove macro.
24253         (FUNC): Likewise.
24254         (MATHCONST): Likewise.
24255         (PRINTF_EXPR): Likewise.
24256         (PRINTF_XEXPR): Likewise.
24257         (PRINTF_NEXPR): Likewise.
24258         (TEST_DOUBLE): Likewise.
24259         (TEST_MATHVEC): Likewise.
24260         (__NO_MATH_INLINES): Likewise.
24261         (CNCT): Likewise.
24262         (CONCAT): Likewise.
24263         (WRAPPER_NAME): Likewise.
24264         (WRAPPER_DECL): Likewise.
24265         (WRAPPER_DECL_ff): Likewise.
24266         (WRAPPER_DECL_fFF): Likewise.
24267         (VECTOR_WRAPPER): Likewise.
24268         (VECTOR_WRAPPER_ff): Likewise.
24269         (VECTOR_WRAPPER_fFF): Likewise.
24270         (VEC_LEN): New macro.
24271         * math/test-double-vlen8.h: Include test-double.h,
24272         test-math-no-inline.h and test-math-vector.h.
24273         (FLOAT): Remove macro.
24274         (FUNC): Likewise.
24275         (MATHCONST): Likewise.
24276         (PRINTF_EXPR): Likewise.
24277         (PRINTF_XEXPR): Likewise.
24278         (PRINTF_NEXPR): Likewise.
24279         (TEST_DOUBLE): Likewise.
24280         (TEST_MATHVEC): Likewise.
24281         (__NO_MATH_INLINES): Likewise.
24282         (CNCT): Likewise.
24283         (CONCAT): Likewise.
24284         (WRAPPER_NAME): Likewise.
24285         (WRAPPER_DECL): Likewise.
24286         (WRAPPER_DECL_ff): Likewise.
24287         (WRAPPER_DECL_fFF): Likewise.
24288         (VECTOR_WRAPPER): Likewise.
24289         (VECTOR_WRAPPER_ff): Likewise.
24290         (VECTOR_WRAPPER_fFF): Likewise.
24291         (VEC_LEN): New macro.
24292         * math/test-float-vlen4.h: Include test-float.h,
24293         test-math-no-inline.h and test-math-vector.h.
24294         (FLOAT): Remove macro.
24295         (FUNC): Likewise.
24296         (MATHCONST): Likewise.
24297         (PRINTF_EXPR): Likewise.
24298         (PRINTF_XEXPR): Likewise.
24299         (PRINTF_NEXPR): Likewise.
24300         (TEST_FLOAT): Likewise.
24301         (TEST_MATHVEC): Likewise.
24302         (__NO_MATH_INLINES): Likewise.
24303         (CNCT): Likewise.
24304         (CONCAT): Likewise.
24305         (WRAPPER_NAME): Likewise.
24306         (WRAPPER_DECL): Likewise.
24307         (WRAPPER_DECL_ff): Likewise.
24308         (WRAPPER_DECL_fFF): Likewise.
24309         (VECTOR_WRAPPER): Likewise.
24310         (VECTOR_WRAPPER_ff): Likewise.
24311         (VECTOR_WRAPPER_fFF): Likewise.
24312         (VEC_LEN): New macro.
24313         * math/test-float-vlen8.h: Include test-float.h,
24314         test-math-no-inline.h and test-math-vector.h.
24315         (FLOAT): Remove macro.
24316         (FUNC): Likewise.
24317         (MATHCONST): Likewise.
24318         (PRINTF_EXPR): Likewise.
24319         (PRINTF_XEXPR): Likewise.
24320         (PRINTF_NEXPR): Likewise.
24321         (TEST_FLOAT): Likewise.
24322         (TEST_MATHVEC): Likewise.
24323         (__NO_MATH_INLINES): Likewise.
24324         (CNCT): Likewise.
24325         (CONCAT): Likewise.
24326         (WRAPPER_NAME): Likewise.
24327         (WRAPPER_DECL): Likewise.
24328         (WRAPPER_DECL_ff): Likewise.
24329         (WRAPPER_DECL_fFF): Likewise.
24330         (VECTOR_WRAPPER): Likewise.
24331         (VECTOR_WRAPPER_ff): Likewise.
24332         (VECTOR_WRAPPER_fFF): Likewise.
24333         (VEC_LEN): New macro.
24334         * math/test-float-vlen16.h: Include test-float.h,
24335         test-math-no-inline.h and test-math-vector.h.
24336         (FLOAT): Remove macro.
24337         (FUNC): Likewise.
24338         (MATHCONST): Likewise.
24339         (PRINTF_EXPR): Likewise.
24340         (PRINTF_XEXPR): Likewise.
24341         (PRINTF_NEXPR): Likewise.
24342         (TEST_FLOAT): Likewise.
24343         (TEST_MATHVEC): Likewise.
24344         (__NO_MATH_INLINES): Likewise.
24345         (CNCT): Likewise.
24346         (CONCAT): Likewise.
24347         (WRAPPER_NAME): Likewise.
24348         (WRAPPER_DECL): Likewise.
24349         (WRAPPER_DECL_ff): Likewise.
24350         (WRAPPER_DECL_fFF): Likewise.
24351         (VECTOR_WRAPPER): Likewise.
24352         (VECTOR_WRAPPER_ff): Likewise.
24353         (VECTOR_WRAPPER_fFF): Likewise.
24354         (VEC_LEN): New macro.
24355         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24356         test-vec-loop.h.
24357         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24358         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24359         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24360         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24361         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24362         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24363         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24365 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24367         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24368         (__getlogin_r): ... this.
24370 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24372         [BZ #18594]
24373         * math/s_ccosh.c (__ccosh): Compare with least normal value
24374         instead of comparing class with FP_SUBNORMAL.
24375         * math/s_ccoshf.c (__ccoshf): Likewise.
24376         * math/s_ccoshl.c (__ccoshl): Likewise.
24377         * math/s_cexp.c (__cexp): Likewise.
24378         * math/s_cexpf.c (__cexpf): Likewise.
24379         * math/s_cexpl.c (__cexpl): Likewise.
24380         * math/s_csin.c (__csin): Likewise.
24381         * math/s_csinf.c (__csinf): Likewise.
24382         * math/s_csinh.c (__csinh): Likewise.
24383         * math/s_csinhf.c (__csinhf): Likewise.
24384         * math/s_csinhl.c (__csinhl): Likewise.
24385         * math/s_csinl.c (__csinl): Likewise.
24386         * math/s_ctan.c (__ctan): Likewise.
24387         * math/s_ctanf.c (__ctanf): Likewise.
24388         * math/s_ctanh.c (__ctanh): Likewise.
24389         * math/s_ctanhf.c (__ctanhf): Likewise.
24390         * math/s_ctanhl.c (__ctanhl): Likewise.
24391         * math/s_ctanl.c (__ctanl): Likewise.
24392         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24393         csin, csinh, ctan and ctanh.
24394         * math/auto-libm-test-out: Regenerated.
24395         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24396         * sysdeps/i386/fpu/libm-test-ulps: Update.
24397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24399 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24401         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24402         return value is wrong, print the expected value too.
24404 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24406         [BZ #18585]
24407         * elf/readlib.c (is_gdb_python_file): New.
24408         (process_file): Don't issue errors on filenames with -gdb.py
24409         suffix.
24411 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24413         * math/auto-libm-test-in: Add more tests of csin and csinh.
24414         * math/auto-libm-test-out: Regenerated.
24415         * math/libm-test.inc (csin_test_data): Remove tests moved to
24416         auto-libm-test-in.
24417         (csinh_test_data): Likewise.
24419         [BZ #18593]
24420         * math/s_csin.c (__csin): Negate before rather than after possibly
24421         overflowing multiplication.
24422         * math/s_csinf.c (__csinf): Likewise.
24423         * math/s_csinh.c (__csinh): Likewise.
24424         * math/s_csinhf.c (__csinhf): Likewise.
24425         * math/s_csinhl.c (__csinhl): Likewise.
24426         * math/s_csinl.c (__csinl): Likewise.
24427         * math/auto-libm-test-in: Add some tests of csin and csinh.
24428         * math/auto-libm-test-out: Regenerated.
24429         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24430         (csinh_test_data): Likewise.
24431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24433         [BZ #18586]
24434         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24435         underflow exception for small results.
24437 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24439         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24441         variable and included header.
24442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24450         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24451         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24452         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24453         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24454         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24455         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24456         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24457         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24459 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24461         [BZ #16526]
24462         [BZ #16538]
24463         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24464         (__sin): Force underflow exception for arguments with small
24465         absolute value.
24466         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24467         (__kernel_sinf): Force underflow exception for arguments with
24468         small absolute value.
24469         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24470         (__kernel_sincosl): Force underflow exception for arguments with
24471         small absolute value.
24472         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24473         (__kernel_sinl): Force underflow exception for arguments with
24474         small absolute value.
24475         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24476         (__kernel_sincosl): Force underflow exception for arguments with
24477         small absolute value.
24478         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24479         (__kernel_sinl): Force underflow exception for arguments with
24480         small absolute value.
24481         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24482         (__kernel_sinl): Force underflow exception for arguments with
24483         small absolute value.
24484         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24485         (__kernel_sinf): Force underflow exception for arguments with
24486         small absolute value.
24487         * math/auto-libm-test-in: Add more tests of sin and sincos.
24488         * math/auto-libm-test-out: Regenerated.
24490         [BZ #18245]
24491         [BZ #18583]
24492         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24493         (__kernel_standard_l): Use feholdexcept and fesetenv around
24494         conversion to double instead of special-casing overflow and
24495         underflow.
24496         * math/libm-test.inc (fmod_test_data): Add more tests.
24497         (remainder_test_data): Likewise.
24498         (sqrt_test_data): Likewise.
24500 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24502         [BZ #17403]
24503         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24504         atomic_read_barrier, atomic_write_barrier): Define.
24505         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24506         atomic_read_barrier, atomic_write_barrier): Define.
24508 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24510         * math/Makefile [$(PERL) != no]
24511         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24512         dependency on libm-test.stmp below the inclusion of Rules.
24514 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24516         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24518         and included header.
24519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24520         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24521         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24522         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24523         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24527         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24528         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24529         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24530         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24531         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24532         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24533         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24534         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24535         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24536         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24537         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24539 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24541         [BZ #18371]
24542         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24543         intermediate but not final result might underflow.
24544         * math/s_csqrtf.c (__csqrtf): Likewise.
24545         * math/s_csqrtl.c (__csqrtl): Likewise.
24546         * math/auto-libm-test-in: Add more tests of csqrt.
24547         * math/auto-libm-test-out: Regenerated.
24548         * sysdeps/i386/fpu/libm-test-ulps: Update.
24550         [BZ #18219]
24551         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24552         threshold on absolute value of exponent for which scaling is used.
24553         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24554         * math/auto-libm-test-in: Add more tests of exp2.
24555         * math/auto-libm-test-out: Regenerated.
24557 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24559         [BZ #17977]
24560         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24561         when initializing interface list, based on the bug analysis
24562         and the patch proposed by Eric Newton.
24563         * resolv/tst-res_hconf_reorder.c: New test.
24564         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24565         tst-res_hconf_reorder.
24566         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24567         and $(shared-thread-library).
24568         (tst-res_hconf_reorder-ENV): New variable.
24570         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24571         in comment.
24573 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24575         [BZ #16353]
24576         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24577         (__expm1): Force underflow exception for arguments with small
24578         absolute value.
24579         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24580         (__expm1f): Force underflow exception for arguments with small
24581         absolute value.
24582         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24583         (__expm1): Force underflow exception for arguments with small
24584         absolute value.
24585         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24586         (__expm1f): Force underflow exception for arguments with small
24587         absolute value.
24588         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24589         Check for small arguments before calling __expm1.
24590         * math/auto-libm-test-in: Do not mark underflow exceptions as
24591         possibly missing for bug 16353.
24592         * math/auto-libm-test-out: Regenerated.
24594 2015-06-22  Andreas Schwab  <schwab@suse.de>
24596         [BZ #18513]
24597         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24598         PTR queries.
24600 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24602         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24604         * string/strcoll_l.c: Remove unused struct element idxnow.
24606 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24608         [BZ #18569]
24609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24610         underflow and return argument in case of subnormal argument.
24611         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24612         Likewise.
24613         * math/auto-libm-test-in: Add more tests of expm1.
24614         * math/auto-libm-test-out: Regenerated.
24616         [BZ #16361]
24617         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24618         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24619         tiny results.
24620         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24621         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24622         tiny results.
24623         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24624         mark underflow exceptions as possibly missing for bug 16361.
24625         * math/auto-libm-test-out: Regenerated.
24627 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24629         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24630         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24631         Remove variable.
24632         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24633         (test-xfail-XOPEN2K8/utmpx.h/conform).
24635         * conform/conformtest.pl ($xerrors): New variable.
24636         (note_error): New function.
24637         (compiletest): New argument $xfail.  Use not_error.
24638         (runtest): Likewise.
24639         (top level): Handle xfail- lines.  Update calls to compiletest and
24640         runtest.  Handle xfail- and optional- in headers listed with
24641         allow-header.
24642         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24643         (O_EXEC): Likewise.
24644         (O_SEARCH): Likewise.
24645         * conform/data/stropts.h-data (ioctl): Likewise.
24646         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24647         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24648         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24649         (msghdr.msg_controllen): Likewise.
24650         (cmsghdr.cmsg_len): Likewise.
24651         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24652         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24653         variable.
24654         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24655         (test-xfail-XPG4/stropts.h/conform): Likewise.
24656         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24657         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24658         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24659         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24660         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24661         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24662         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24663         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24664         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24665         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24666         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24667         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24668         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24669         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24670         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24671         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24672         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24673         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24674         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24676 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24678         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24679         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24680         definitions for proper unfolding of __MATHDECL_VEC.
24682 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24684         * benchtests/bench-strcoll.c:
24685         Include string.h.
24686         (main): Remove unused variable res.
24688 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24690         * timezone/Makefile (%/UTC %/Universal):
24691         Generate test-result files for UTC and Universal.
24693 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24695         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24697 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24699         [BZ #16350]
24700         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24701         for arguments with small absolute value.
24702         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24703         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24704         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24705         (__asinh): Force underflow exception for arguments with small
24706         absolute value.
24707         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24708         (__asinhf): Force underflow exception for arguments with small
24709         absolute value.
24710         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24711         (__asinhl): Force underflow exception for arguments with small
24712         absolute value.
24713         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24714         (__asinhl): Force underflow exception for arguments with small
24715         absolute value.
24716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24717         (__asinhl): Force underflow exception for arguments with small
24718         absolute value.
24719         * math/auto-libm-test-in: Do not mark underflow exceptions as
24720         possibly missing for bug 16350.
24721         * math/auto-libm-test-out: Regenerated.
24723         * include/bits/ipc.h: Remove file.
24724         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24725         variable.
24726         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24727         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24728         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24729         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24730         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24731         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24732         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24733         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24734         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24736         * math/auto-libm-test-in: Remove spurious underflow allowance for
24737         tests of cexp.
24738         * math/auto-libm-test-out: Regenerated.
24740         [BZ #18558]
24741         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24742         unconditional definition.
24743         (MCAST_BLOCK_SOURCE): Likewise.
24744         (MCAST_UNBLOCK_SOURCE): Likewise.
24745         (MCAST_LEAVE_GROUP): Likewise.
24746         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24747         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24748         (MCAST_MSFILTER): Likewise.
24749         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24750         Remove variable.
24751         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24752         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24753         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24754         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24755         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24757 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24759         * NEWS: Mention addition of x86_64 vector sincosf.
24760         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24761         * math/test-float-vlen4.h: Likewise.
24762         * math/test-float-vlen8.h: Likewise.
24763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24764         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24766         * sysdeps/x86_64/fpu/Versions: New versions added.
24767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24769         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24776         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24777         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24778         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24779         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24780         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24781         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24782         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24783         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24784         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24785         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24786         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24789         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24790         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24792         * NEWS: Mention addition of x86_64 vector sincos.
24793         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24794         * math/math.h (__MATHDECL_VEC): New macro.
24795         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24796         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24797         declaration under condition.
24798         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24799         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24800         TEST_VEC_LOOP change.
24801         * math/test-double-vlen4.h: Likewise.
24802         * math/test-double-vlen8.h: Likewise.
24803         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24804         * math/test-float-vlen4.h: Likewise.
24805         * math/test-float-vlen8.h: Likewise.
24806         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24807         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24808         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24809         * sysdeps/x86_64/fpu/Versions: New versions added.
24810         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24811         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24812         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24819         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24820         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24821         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24822         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24823         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24824         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24825         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24826         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24827         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24829         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24830         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24831         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24832         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24833         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24835         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24836         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24837         redirections for powf.
24838         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24839         * sysdeps/x86_64/fpu/Versions: New versions added.
24840         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24841         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24842         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24843         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24850         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24851         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24852         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24853         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24854         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24855         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24856         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24857         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24858         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24859         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24862         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24863         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24864         * math/test-float-vlen16.h: Fixed 2 argument macro.
24865         * math/test-float-vlen4.h: Likewise.
24866         * math/test-float-vlen8.h: Likewise.
24867         * NEWS: Mention addition of x86_64 vector powf.
24869 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24871         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24872         and redefine.
24873         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24874         and redefine.
24875         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24876         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24877         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24879         [BZ #18553]
24880         * resource/getpriority.c (getpriority): Rename to __getpriority
24881         and define as weak alias of __getpriority.
24882         * resource/setpriority.c (setpriority): Rename to __setpriority
24883         and define as weak alias of __setpriority.
24884         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24885         __getpriority and define as weak alias of __getpriority.
24886         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24887         __setpriority and define as weak alias of __setpriority.
24888         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24889         strong name.
24890         (setpriority): Use __setpriority as strong name.
24891         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24892         __getpriority and define as weak alias of __getpriority.
24893         * include/sys/resource.h (__getpriority): Declare.  Use
24894         libc_hidden_proto.
24895         (__setpriority): Likewise.
24896         (getpriority): Don't use libc_hidden_proto.
24897         (setpriority): Likewise.
24898         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24899         getpriority.  Call __setpriority instead of setpriority.
24900         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24901         Remove variable.
24903         [BZ #18547]
24904         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24905         as weak alias of __getttynam.  Use prototype function definition.
24906         Call __setttyent, __getttyent and __endttyent instead of
24907         setttyent, getttyent and endttyent.
24908         (getttyent): Rename to __getttyent and define as weak alias of
24909         __getttyent.  Call __setttyent instead of setttyent.  Call
24910         __fgets_unlocked instead of fgets_unlocked.
24911         (setttyent): Rename to __setttyent and define as weak alias of
24912         __setttyent.
24913         (endttyent): Rename to __endttyent and define as weak alias of
24914         __endttyent.
24915         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24916         (__setttyent): Likewise.
24917         (__endttyent): Likewise.
24918         (getttyent): Don't use libc_hidden_proto.
24919         (setttyent): Likewise.
24920         (endttyent): Likewise.
24921         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24922         __endttyent instead of setttyent, getttyent and endttyent.
24923         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24924         Remove variable.
24926         [BZ #18546]
24927         * socket/recv.c (__recv): Use libc_hidden_def.
24928         * socket/socket.c (__socket): Likewise.
24929         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24930         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24931         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24932         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24933         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24934         libc_hidden_def.
24935         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24936         libc_hidden_weak.
24937         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24938         Use libc_hidden_proto.
24939         (__recv): Likewise.
24940         * socket/Versions (libc): Export __recv and __socket at version
24941         GLIBC_PRIVATE.
24942         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24943         instead of recv.
24944         (init_mq_netlink): Call __socket instead of socket.
24945         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24946         Remove variable.
24948         [BZ #18545]
24949         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24950         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24951         hidden_weak.
24952         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24953         define as alias of __mq_timedsend.  Use hidden_weak.
24954         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24955         __mq_timedsend as strong name.
24956         (mq_timedreceive): Use __mq_timedreceive as strong name.
24957         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24958         (__mq_timedreceive): Likewise.
24959         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24960         __mq_timedreceive instead of mq_timedreceive.
24961         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24962         instead of mq_timedsend.
24963         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24964         Remove variable.
24966         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24967         hidden_def and hidden_weak instead of libc_hidden_def and
24968         libc_hidden_weak.
24969         (top level): Refer to hidden_def in comment.
24970         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24971         macro.  Use it instead of libc_hidden_def.
24972         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24973         specify __GI_* name explicitly.
24974         (mq_timedreceive): Likewise.
24975         (mq_setattr): Likewise.
24977         [BZ #18544]
24978         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24979         __pthread_barrier_init and define as weak alias of
24980         __pthread_barrier_init.
24981         * sysdeps/sparc/nptl/pthread_barrier_init.c
24982         (pthread_barrier_init): Likewise.
24983         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24984         __pthread_barrier_wait and define as weak alias of
24985         __pthread_barrier_wait.
24986         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24987         (pthread_barrier_wait): Likewise.
24988         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24989         (pthread_barrier_wait): Likewise.
24990         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24991         (pthread_barrier_wait): Likewise.
24992         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24993         (pthread_barrier_wait): Likewise.
24994         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24995         __pthread_barrier_wait at version GLIBC_PRIVATE.
24996         * include/pthread.h (__pthread_barrier_init): Declare.
24997         (__pthread_barrier_wait): Likewise.
24998         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24999         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25000         (helper_thread): Likewise.
25001         (init_mq_netlink): Call __pthread_barrier_init instead of
25002         pthread_barrier_init.
25004         [BZ #18542]
25005         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25006         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25007         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25008         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25009         vswscanf.
25010         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25011         Remove variable.
25013         [BZ #18540]
25014         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25015         strong alias of _IO_fflush.  Use libc_hidden_def.
25016         * libio/iofflush_u.c (fflush_unlocked): Rename to
25017         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25018         Use libc_hidden_weak.
25019         * include/stdio.h (__fflush_unlocked): Declare.  Use
25020         libc_hidden_proto.
25021         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25022         fflush_unlocked.
25023         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25024         Remove variable.
25026         [BZ #18539]
25027         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25028         define as weak alias of __addseverity.
25029         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25030         Remove variable.
25031         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25032         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25033         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25035         [BZ #18536]
25036         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25037         (__tfind): Likewise.
25038         (__tdelete): Likewise.
25039         (__twalk): Likewise.
25040         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25041         __twalk to GLIBC_PRIVATE.
25042         * include/search.h (__tsearch): Use libc_hidden_proto.
25043         (__tfind): Likewise.
25044         (__tdelete): Likewise.
25045         (__twalk): Likewise.
25046         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25047         Call __tdelete instead of tdelete.
25048         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25049         tfind.  Call __tsearch instead of tsearch.
25050         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25051         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25052         Remove variable.
25053         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25055         [BZ #18534]
25056         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25057         (dprintf): Define as a weak alias of __dprintf, not a strong
25058         alias.
25059         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25060         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25061         dprintf.
25062         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25063         Remove variable.
25064         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25065         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25067         [BZ #18533]
25068         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25069         not a strong alias.
25070         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25071         Remove variable.
25073         [BZ #18532]
25074         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25075         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25076         (in6addr_loopback): Rename to __in6addr_loopback and define as
25077         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25078         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25079         libc_hidden_proto.
25080         (__in6addr_any): Likewise.
25081         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25082         in6addr_any.
25083         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25084         variable.
25085         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25087 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25089         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25090         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25092         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25093         redirections for pow.
25094         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25095         * sysdeps/x86_64/fpu/Versions: New versions added.
25096         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25097         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25098         build of SSE, AVX2 and AVX512 IFUNC versions.
25099         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25102         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25103         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25104         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25106         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25107         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25108         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25109         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25110         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25111         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25112         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25113         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25116         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25117         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25118         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25119         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25120         * NEWS: Mention addition of x86_64 vector pow.
25122         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25123         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25124         redirections for expf.
25125         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25126         * sysdeps/x86_64/fpu/Versions: New versions added.
25127         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25128         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25129         build of SSE, AVX2 and AVX512 IFUNC versions.
25130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25136         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25137         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25138         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25139         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25140         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25141         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25142         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25143         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25144         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25145         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25148         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25149         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25150         * NEWS: Mention addition of x86_64 vector expf.
25152         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25153         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25154         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25155         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25156         redirections for exp.
25157         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25158         * sysdeps/x86_64/fpu/Versions: New versions added.
25159         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25160         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25161         build of SSE, AVX2 and AVX512 IFUNC versions.
25162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25167         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25168         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25169         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25170         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25171         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25172         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25173         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25174         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25175         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25176         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25177         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25178         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25179         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25180         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25181         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25182         * NEWS: Mention addition of x86_64 vector exp.
25184         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25185         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25186         redirections for logf.
25187         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25188         * sysdeps/x86_64/fpu/Versions: New versions added.
25189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25190         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25191         build of SSE, AVX2 and AVX512 IFUNC versions.
25192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25195         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25196         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25197         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25198         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25199         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25200         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25201         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25202         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25203         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25204         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25205         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25206         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25207         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25209         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25210         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25211         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25212         * NEWS: Mention addition of x86_64 vector logf.
25214         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25215         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25216         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25217         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25218         redirections for log.
25219         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25220         * sysdeps/x86_64/fpu/Versions: New versions added.
25221         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25222         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25223         build of SSE, AVX2 and AVX512 IFUNC versions.
25224         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25225         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25226         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25227         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25228         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25229         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25230         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25231         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25232         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25233         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25234         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25235         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25236         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25237         test.
25238         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25241         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25242         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25243         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25244         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25245         * NEWS: Mention addition of x86_64 vector log.
25247 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25249         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25250         cfi_adjust_cfa_offset argument.
25251         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25252         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25254         [BZ #18034]
25255         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25256         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25257         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25258         ordering using ldar.
25259         (_dl_tlsdesc_dynamic): Likewise.
25260         (_dl_tlsdesc_return_lazy): Likewise.
25261         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25262         relaxed atomics instead of volatile and synchronize with release store.
25263         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25264         volatile.
25265         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25267 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25269         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25270         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25272         * sysdeps/x86_64/fpu/Versions: New versions added.
25273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25275         build of SSE, AVX2 and AVX512 IFUNC versions.
25276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25279         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25282         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25283         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25284         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25285         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25286         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25287         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25288         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25289         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25290         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25291         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25294         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25295         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25296         * NEWS: Mention addition of x86_64 vector sinf.
25298 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25300         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25301         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25302         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25303         Remove variable.
25304         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25305         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25307 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25309         [BZ #18530]
25310         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25311         strong alias of _IO_fputs.  Use libc_hidden_def.
25312         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25313         and define as weak alias of __fputs_unlocked.  Use
25314         libc_hidden_weak.
25315         * include/stdio.h (__fputs_unlocked): Declare.  Use
25316         libc_hidden_proto.
25317         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25318         fputs_unlocked.
25320         [BZ #18529]
25321         * resolv/netdb.h [__USE_POSIX]: Change condition to
25322         [__USE_XOPEN2K].
25323         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25324         not expect.
25325         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25326         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25327         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25328         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25329         [XPG4 || UNIX98] (AI_ALL): Likewise.
25330         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25331         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25332         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25333         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25334         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25335         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25336         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25337         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25338         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25339         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25340         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25341         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25342         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25343         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25344         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25345         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25346         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25347         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25348         [XPG4 || UNIX98] (gai_strerror): Likewise.
25349         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25350         [XPG4 || UNIX98] (getnameinfo): Likewise.
25352         [BZ #18528]
25353         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25354         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25355         __USE_XOPEN2K8].
25356         (getgrent): Likewise.
25357         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25358         expect.
25359         [XPG3 || POSIX2008] (endgrent): Likewise.
25360         [XPG3] (setgrent): Likewise.
25361         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25362         variable.
25363         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25365         [BZ #18527]
25366         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25367         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25368         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25369         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25370         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25371         * include/unistd.h (__getlogin_r): Declare.  Use
25372         libc_hidden_proto.
25373         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25374         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25375         variable.
25376         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25377         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25378         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25380 2015-06-12  Martin Sebor  <msebor@redhat.com>
25382         [BZ #18512]
25383         * Makerules (check-install-supported): New target.
25384         (install): Add check-install-supported as a dependency.
25385         * manual/install.texi (Installing the C Library): Document
25386         that overriding prefix and exec_prefix is not supported.
25387         Mention DESTDIR.
25388         * INSTALL: Regenerate from the above.
25390 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25392         [BZ #18519]
25393         * posix/Versions (libc): Export __libc_pread at version
25394         GLIBC_PRIVATE.
25395         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25396         instead of pread.
25397         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25398         variable.
25400         [BZ #18522]
25401         * misc/efgcvt_r.c
25402         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25403         (cvt_symbol): Use weak_alias instead of strong_alias.
25404         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25405         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25406         Remove variable.
25407         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25408         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25410         [BZ #18520]
25411         * inet/herrno.c (h_errno): Rename to __h_errno.
25412         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25413         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25414         to __h_errno instead of h_errno.
25415         * nptl/herrno.c (h_errno): Rename to __h_errno.
25416         (__h_errno_location): Refer to __h_errno not h_errno.
25417         * resolv/Versions (h_errno): Rename to __h_errno.
25418         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25419         Remove variable.
25420         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25422 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25424         * configure.ac: More strict check for AVX512 assembler support.
25425         * configure: Regenerated.
25427         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25428         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25429         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25430         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25431         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25432         * sysdeps/x86_64/fpu/Versions: New versions added.
25433         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25434         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25435         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25440         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25441         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25442         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25443         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25444         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25445         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25446         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25447         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25449         test.
25450         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25453         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25454         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25455         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25456         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25457         * NEWS: Mention addition of x86_64 vector sin.
25459 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25461         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25462         comment.
25464 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25466         [BZ #18479]
25467         * nptl/pt-interp.c: New file.
25468         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25469         Add pt-interp.
25470         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25471         $(common-objpfx)runtime-linker.h.
25473 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25475         * Makeconfig (+interp): Remove unused variable.
25476         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25477         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25478         $(elf-objpfx)runtime-linker.h.
25479         ($(elf-objpfx)runtime-linker.h): Rename to
25480         $(common-objpfx)runtime-linker.h and move ...
25481         * Makerules [$(build-shared) = yes]: ... here.
25482         * elf/interp.c: Include <runtime-linker.h> instead of
25483         <elf/runtime-linker.h>.
25485 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25487         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25488         (__gettimeofday_syscall): Remove vsyscall fallback.
25489         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25490         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25491         Add syscall fallback function.
25492         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25493         if vDSO is not present.
25494         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25495         fallback function.
25496         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25497         present.
25498         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25499         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25501 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25503         [BZ #18497]
25504         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25505         of wcscmp.
25506         (wcscmp): Define as weak alias of WCSCMP.
25507         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25508         wcscoll.
25509         (USE_HIDDEN_DEF): Define.
25510         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25511         __wcscoll.  Don't use libc_hidden_weak.
25512         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25513         wcscmp.
25514         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25515         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25516         __GI_wcscmp.
25517         (weak_alias): Undefine and redefine.
25518         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25519         __wcscmp and define as weak alias of __wcscmp.
25520         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25521         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25522         (__wcscoll): Likewise.
25523         (wcscmp): Don't use libc_hidden_proto.
25524         (wcscoll): Likewise.
25525         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25526         wcscoll.
25527         * posix/regexec.c (check_node_accept_bytes): Likewise.
25528         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25529         variable.
25530         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25531         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25533         [BZ #18507]
25534         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25535         __fstatvfs and define as weak alias of __fstatvfs.  Use
25536         libc_hidden_weak.
25537         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25538         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25539         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25540         Define as alias of __fstatvfs, not fstatvfs.
25541         (fstatvfs64): Likewise.
25542         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25543         Define as alias of __statvfs, not statvfs.
25544         (statvfs64): Likewise.
25545         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25546         Remove variable.
25548 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25551         (HAVE_GETCPU_VSYSCALL): Define.
25552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25553         (HAVE_GETCPU_VSYSCALL): Likewise.
25554         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25555         * sysdeps/unix/sysv/linux/sched_getcpu.c
25556         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25557         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25558         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25559         prototype.
25560         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25561         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25562         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25563         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25564         Define.
25565         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25566         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25567         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25568         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25570 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25572         * sysdeps/x86_64/fpu/Makefile: New file.
25573         * sysdeps/x86_64/fpu/Versions: New file.
25574         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25575         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25576         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25577         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25578         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25579         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25580         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25585         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25588         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25589         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25590         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25591         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25592         * sysdeps/x86_64/configure: Regenerated.
25593         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25594         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25595         * manual/install.texi (Configuring and compiling): Document
25596         --disable-mathvec.
25597         * INSTALL: Regenerated.
25598         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25600         * math/Makefile: Added rules for vector tests.
25601         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25602         declaration under condition.
25603         * math/test-double-vlen2.h: New file.
25604         * math/test-double-vlen4.h: New file.
25605         * math/test-double-vlen8.h: New file.
25606         * math/test-vec-loop.h: Added initialization macro.
25607         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25609         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25610         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25611         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25614         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25615         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25616         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25617         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25619         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25620         * sysdeps/x86_64/fpu/Versions: New versions added.
25621         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25622         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25624         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25625         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25628         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25629         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25630         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25631         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25632         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25633         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25634         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25635         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25638         * NEWS: Mention addition of x86_64 vector cosf.
25640         * math/Makefile: Added CFLAGS for new tests.
25641         * math/test-float-vlen16.h: New file.
25642         * math/test-float-vlen4.h: New file.
25643         * math/test-float-vlen8.h: New file.
25644         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25645         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25646         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25647         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25648         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25649         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25650         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25652         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25653         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25654         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25656 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25658         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25659         * locale/programs/ld-ctype.c: Likewise.
25661 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25663         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25664         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25665         bit_ZMM16_31_state): New macro.
25666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25667         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25669 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25671         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25673 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25675         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25677 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25679         [BZ #18498]
25680         * libio/memstream.c (open_memstream): Rename to __open_memstream
25681         and define as weak alias of __open_memstream.
25682         * include/stdio.h (__open_memstream): Declare.  Use
25683         libc_hidden_proto.
25684         (open_memstream): Don't use libc_hidden_proto.
25685         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25686         open_memstream.
25687         * posix/getopt.c (_getopt_internal_r): Likewise.
25688         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25689         variable.
25690         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25691         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25692         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25694         [BZ #18496]
25695         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25696         instead of wcrtomb.
25698         [BZ #18483]
25699         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25700         [__USE_XOPEN2K8].  Remove redundant #endif.
25701         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25702         Remove redundant #if.
25703         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25704         Remove variable.
25705         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25706         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25708         [BZ #18495]
25709         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25710         (__iswlower): Likewise.
25711         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25712         (__iswlower): Likewise.
25713         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25714         instead of towlower.
25715         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25716         instead of iswlower.  Call __towupper instead of towupper.
25717         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25718         instead of iswalnum.
25720 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25722         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25723         errors to stderr.
25725 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25727         [BZ #15661]
25728         [BZ #17322]
25729         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25730         Check for overflow properly.  Check for O_APPEND.  Ignore large
25731         file system block sizes.  Add comments about problems.
25732         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25733         * manual/filesys.texi (Storage Allocation): New node.
25735 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25737         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25738         cancellable syscalls.
25739         (SYS_ify): Add guard to no redefine it.
25740         (INLINE_SYSCALL): Likewise.
25741         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25742         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25743         SYSCALL_CANCEL instead.
25744         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25745         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25746         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25747         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25748         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25749         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25750         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25751         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25752         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25753         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25754         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25755         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25756         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25757         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25758         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25760         Likewise.
25761         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25762         (__libc_pread64): Likewise.
25763         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25764         (__libc_preadv): Likewise.
25765         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25766         (__libc_readv64): Likewise.
25767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25768         (__libc_pwrite): Likewise.
25769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25770         (__libc_pwrite64): Likewise.
25771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25772         (__libc_pwritev): Likewise.
25773         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25774         (__libc_pwritev64): Likewise.
25775         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25776         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25777         (sync_file_range): Likewise.
25778         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25779         Likewise.
25780         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25781         Likewise.
25782         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25783         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25784         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25785         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25786         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25787         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25788         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25789         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25791         Likewise.
25792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25793         (__libc_read64): Likewise.
25794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25795         Likewise.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25797         Likewise.
25798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25799         Likewise.
25800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25801         Likewise.
25802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25803         (__libc_pread64): Likewise.
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25805         Likewise.
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25807         (__libc_pwrite64): Likewise.
25808         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25809         (sync_file_range): Likewise.
25810         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25811         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25812         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25813         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25814         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25815         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25816         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25817         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25818         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25819         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25820         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25821         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25822         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25823         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25824         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25825         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25826         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25827         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25829         Likewise.
25830         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25831         Likewise.
25832         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25833         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25834         Likewise.
25835         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25836         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25837         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25838         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25839         Likewise.
25840         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25841         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25842         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25843         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25844         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25846 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25848         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25849         Include dl-vdso.
25850         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25851         Use VDSO routines for gettimeofday, clock_gettime if
25852         available.
25853         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25854         Declare VDSO symbols.
25855         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25856         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25857         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25858         * sysdeps/unix/sysv/linux/arm/Versions: Add
25859         __vdso_clock_gettime.
25861 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25863         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25864         be an inline implementation regardless of library is built within.
25865         (open_not_cancel_2): Likewise.
25866         (__read_nocancel): Likewise.
25867         (__write_nocancel): Likewise.
25868         (openat_not_cancel): Likewise.
25869         (openat_not_cancel_3): Likewise.
25870         (openat64_not_cancel): Likewise.
25871         (openat64_not_cancel_3): Likewise.
25872         (__close_nocancel): Likewise.
25873         (pause_not_cancel): Likewise.
25874         (nanosleep_not_cancel): Likewise.
25875         (sigsuspend_not_cancel): Likewise.
25877 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25879         [BZ #14958]
25880         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25881         wake-up.
25882         (__pthread_rwlock_rdlock_slow): Likewise.
25883         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25884         Likewise.
25885         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25886         Likewise.
25887         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25888         * nptl/tst-rwlock16.c: New file.
25889         * nptl/Makefile (tests): Add new test.
25891 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25893         [BZ #18324]
25894         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25895         missing wake-up of readers.
25896         * nptl/tst-rwlock15.c: New file.
25897         * nptl/Makefile (tests): Add new test.
25899 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25901         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25902         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25903         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25904         and __nacl_supply_interface_rtld.
25905         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25906         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25907         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25908         Add __nacl_supply_interface_rtld.
25909         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25911 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25913         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25914         isfinite.
25915         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25916         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25918 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25920         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25921         __signbit* with standard C99 macros.
25922         * math/e_exp10l.c: Likewise.
25923         * math/e_exp2l.c: Likewise.
25924         * math/e_scalb.c: Likewise.
25925         * math/e_scalbf.c: Likewise.
25926         * math/e_scalbl.c: Likewise.
25927         * math/s_ldexp.c: Likewise.
25928         * math/s_ldexpf.c: Likewise.
25929         * math/s_ldexpl.c: Likewise.
25930         * math/w_atan2.c: Likewise.
25931         * math/w_atan2f.c: Likewise.
25932         * math/w_atan2l.c: Likewise.
25933         * math/w_cosh.c: Likewise.
25934         * math/w_coshf.c: Likewise.
25935         * math/w_coshl.c: Likewise.
25936         * math/w_exp10.c: Likewise.
25937         * math/w_exp10f.c: Likewise.
25938         * math/w_exp10l.c: Likewise.
25939         * math/w_exp2.c: Likewise.
25940         * math/w_exp2f.c: Likewise.
25941         * math/w_exp2l.c: Likewise.
25942         * math/w_fmod.c: Likewise.
25943         * math/w_fmodf.c: Likewise.
25944         * math/w_fmodl.c: Likewise.
25945         * math/w_hypot.c: Likewise.
25946         * math/w_hypotf.c: Likewise.
25947         * math/w_hypotl.c: Likewise.
25948         * math/w_jnl.c: Likewise.
25949         * math/w_lgamma.c: Likewise.
25950         * math/w_lgamma_r.c: Likewise.
25951         * math/w_lgammaf.c: Likewise.
25952         * math/w_lgammaf_r.c: Likewise.
25953         * math/w_lgammal.c: Likewise.
25954         * math/w_lgammal_r.c: Likewise.
25955         * math/w_pow.c: Likewise.
25956         * math/w_powf.c: Likewise.
25957         * math/w_powl.c: Likewise.
25958         * math/w_remainder.c: Likewise.
25959         * math/w_remainderf.c: Likewise.
25960         * math/w_remainderl.c: Likewise.
25961         * math/w_scalb.c: Likewise.
25962         * math/w_scalbf.c: Likewise.
25963         * math/w_scalbl.c: Likewise.
25964         * math/w_scalbln.c: Likewise.
25965         * math/w_scalblnf.c: Likewise.
25966         * math/w_scalblnl.c: Likewise.
25967         * math/w_sinh.c: Likewise.
25968         * math/w_sinhf.c: Likewise.
25969         * math/w_sinhl.c: Likewise.
25970         * math/w_tgamma.c: Likewise.
25971         * math/w_tgammaf.c: Likewise.
25972         * math/w_tgammal.c: Likewise.
25973         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25974         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25975         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25976         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25977         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25978         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25979         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25980         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25981         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25982         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25983         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25984         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25985         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25986         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25987         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25988         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25990         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25991         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25992         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25993         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25994         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25995         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25996         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25997         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25998         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25999         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26000         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26001         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26002         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26003         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26004         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26005         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26006         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26007         * stdio-common/printf_fp.c: Likewise.
26008         * stdio-common/printf_fphex.c: Likewise.
26009         * stdio-common/printf_size.c: Likewise.
26011 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26013         [BZ #18470]
26014         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26015         strnlen.
26016         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26017         Remove variable.
26018         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26019         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26020         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26021         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26022         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26023         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26024         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26025         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26026         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26027         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26029         [BZ #18468]
26030         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26031         weak alias of __wmemchr.  Use libc_hidden_weak.
26032         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26033         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26034         instead of wmemchr.
26036 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26038         [BZ #18383]
26039         * elf/tst-tlsalign-extern.c: New file.
26040         * elf/tst-tlsalign-extern-static.c: New file.
26041         * elf/tst-tlsalign-vars.c: New file.
26042         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26043         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26044         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26045         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26046         (test-xfail-tst-tlsalign-extern-static): New variable.
26048 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26050         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26051         Use variable name _sc_err instead of err.
26052         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26053         instead of ret.
26054         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26055         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26056         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26057         (INLINE_SYSCALL): Likewise.
26059         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26060         * include/string.h (__strnlen): Use libc_hidden_proto.
26061         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26062         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26063         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26065         (libc_hidden_def): Undefine and redefine.
26066         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26067         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26068         __GI_strnlen.
26069         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26070         libc_hidden_def.
26071         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26073         [BZ #18469]
26074         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26075         weak alias of __towlower.  Use libc_hidden_weak.
26076         (towupper): Rename to __towupper and define as weak alias of
26077         __towupper.  Use libc_hidden_weak.
26078         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26079         (__towupper): Likewise.
26080         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26081         __towlower instead of towlower.
26083 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26085         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26086         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26088 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26090         * sysdeps/aarch64/libm-test-ulps: Update.
26092 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26094         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26095         Define.
26096         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26098         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26099         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26100         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26101         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26102         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26104 2015-06-01  Martin Sebor  <msebor@redhat.com>
26106         [BZ #18116]
26107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26108         (__setcontext): Use extended four-operand version of mtsf whenever
26109         possible.
26110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26111         (__novec_swapcontext): Likewise.
26113 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26115         * benchtests/scripts/compare_bench.py: New file.
26116         * benchtests/scripts/import_bench.py (mean): New function.
26117         (split_list): Likewise.
26118         (do_for_all_timings): Likewise.
26119         (compress_timings): Likewise.
26121         * benchtests/scripts/import_bench.py: New file.
26122         * benchtests/scripts/validate_benchout.py: Import import_bench
26123         instead of jsonschema.
26124         (validate_bench): Remove function.
26125         (main): Use import_bench.
26127 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26129         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26130         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26132 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26136 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26138         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26139         set THREAD_SELF->tid to a magic value and futex-wake it.
26140         Pass its address to the thread_exit system call.
26141         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26142         bit is clear.
26143         * sysdeps/nacl/lowlevellock.h: New file.
26144         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26146         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26147         Add TIMEOUT to current time, don't subtract it.
26149 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26151         [BZ #2981]
26152         [BZ #18422]
26153         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26154         ($(objpfx)tst-audit2.out): Also depend on
26155         $(objpfx)tst-auditmod9b.so.
26156         * elf/tst-audit2.c: Include <dlfcn.h>.
26157         (calloc_called): New.
26158         (calloc): Allow to be called more than once.
26159         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26161 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26163         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26164         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26166 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26168         * stdlib/monetary.h: Fix comment.
26170 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26172         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26173         Avoid using variables in #defines that might cause shadowing.
26174         (INTERNAL_VSYSCALL_CALL): Likewise.
26176 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26178         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26180         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26181         * nptl/lll_timedlock_wait.c: ... to this new file.
26182         * nptl/Makefile (libpthread-routines): Add it.
26183         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26184         * nptl/lll_timedwait_tid.c: ... to this new file.
26185         * nptl/Makefile (libpthread-routines): Add it.
26186         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26187         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26188         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26189         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26190         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26191         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26192         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26193         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26194         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26195         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26197 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26199         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26200         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26201         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26203         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26204         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26205         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26206         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26207         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26208         * sysdeps/unix/sysv/linux/tile/sysdep.h
26209         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26210         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26211         using vDSO syscall macro.
26213 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26215         [BZ #17293]
26216         * uk_UA: Fix sorting order for Ukrainian locale
26218 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26220         * stdlib/monetary.h: Fix comment.
26222 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26224         [BZ #18234]
26225         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26226         st_mtim and st_ctim members.
26227         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26228         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26229         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26230         (struct stat64): Likewise.
26231         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26232         (struct stat64): Likewise.
26233         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26234         (struct stat64): Likewise.
26236 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26238         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26239         Define and include sysdep-vdso.h.
26240         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26241         Likewise.
26242         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26243         Likewise.
26244         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26245         Define with VDSO_SYMBOL and use PTR_MANGLE.
26246         (__vdso_clock_gettime): Likewise.
26247         (__vdso_clock_getres): Likewise.
26248         (_libc_vdso_platform_setup): Likewise.
26249         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26250         Likewise.
26251         (_libc_vdso_platform_setup): Likewise.
26252         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26253         Likewise.
26254         (__vdso_clock_gettime): Likewise.
26255         (__vdso_clock_getres): Likewise.
26256         (__vdso_get_tbfreq): Likewise.
26257         (__vdso_getcpu): Likewise.
26258         (__vdso_time): Likewise.
26259         (__vdso_sigtramp_rt64): Likewise.
26260         (__vdso_signtramp32): Likewise.
26261         (__vdso_sigtramp_rt32): Likewise.
26262         (_libc_vdso_platform_setup): Likewise.
26263         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26264         Likewise.
26265         (__vdso_clock_gettime): Likewise.
26266         (__vdso_clock_getres): Likewise.
26267         (_libc_vdso_platform_setup): Likewise.
26268         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26269         Likewise.
26270         (__vdso_clock_gettime): Likewise.
26271         (_libc_vdso_platform_setup): Likewise.
26272         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26273         Likewise.
26274         (__vdso_getcpu): Likewise.
26275         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26276         Use VDSO_SYMBOL macro to define.
26277         (__vdso_clock_gettime): Likewise.
26278         (__vdso_clock_getres): Likewise.
26279         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26280         Likewise.
26281         (__vdso_clock_gettime): Likewise.
26282         (__vdso_clock_getres): Likewise.
26283         (__vdso_get_tbfreq): Likewise.
26284         (__vdso_getcpu): Likewise.
26285         (__vdso_time): Likewise.
26286         (__vdso_sigtramp_rt64): Likewise.
26287         (__vdso_signtramp32): Likewise.
26288         (__vdso_sigtramp_rt32): Likewise.
26289         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26290         Likewise.
26291         (__vdso_clock_gettime): Likewise.
26292         (__vdso_clock_getres): Likewise.
26293         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26294         Likewise.
26295         (__vdso_clock_gettime): Likewise.
26296         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26297         Likewise.
26298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26299         macro.
26300         (INTERNAL_VSYSCALL): Likewise.
26301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26302         Remove macro.
26303         (INTERNAL_VSYSCALL): Likewise.
26304         (INTERNAL_VSYSCALL_NCS): Likewise.
26305         (INTERNAL_VSYSCALL_CALL): New macro.
26306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26308         Likewise.
26309         (INTERNAL_VSYSCALL): Likewise.
26310         (INTERNAL_VSYSCALL_NCS): Likewise.
26311         (INTERNAL_VSYSCALL_CALL): New macro.
26312         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26314         (INLINE_VSYSCALL): Remove macro.
26315         (INTERNAL_VSYSCALL): Remove macro.
26316         (INTERNAL_VSYSCALL_NCS): Remove macro.
26317         (INTERNAL_VSYSCALL_CALL): New macro.
26318         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26319         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26320         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26321         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26322         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26324         (INLINE_VSYSCALL): Remove macro.
26325         (INTERNAL_VSYSCALL): Likewise.
26326         (INTERNAL_VSYSCALL_NCS): Likewise.
26327         (INTERNAL_VSYSCALL_CALL): New macro.
26328         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26329         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26330         PTR_DEMANGLE on vDSO pointer.
26331         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26332         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26333         macro.
26334         (INTERNAL_SYSCALL): Likewise.
26335         (INTERNAL_VSYSCALL_NCS): Remove macro.
26336         (INTERNAL_VSYSCALL_CALL): New macro.
26337         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26338         Remove macro.
26339         (INTERNAL_VSYSCALL): Likewise.
26340         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26341         sysdep-vdso.h instead of libc-vdso.h.
26342         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26343         definition.
26344         (INLINE_VSYSCALL): Likewise.
26345         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26346         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26347         definition.
26348         (INLINE_VSYSCALL): Likewise.
26349         (INTERNAL_VSYSCALL): Likewise.
26350         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26351         * sysdeps/unix/sysv/linux/timespec_get.c
26352         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26353         (timespec_get): Use ANSI prototype.
26354         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26355         and definition for Linux.
26357 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26359         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26360         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26362 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26364         [BZ #2981]
26365         [BZ #18410]
26366         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26367         for missing DT_PLTRELSZ.
26369 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26371         Remove obsolete aliases that broke 'locale -a'
26372         [BZ #18412]
26373         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26374         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26375         breaking some applications that use 'locale -a' output.
26376         Change the encoding of this file from Latin-1 to ASCII to avoid
26377         other potential problems with people grepping this file.
26379 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26381         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26382         -fasynchronous-unwind-tables.
26383         (CFLAGS-sendto.c): Likewise.
26384         (CFLAGS-sendmsg.c): Likewise.
26385         (CFLAGS-connect.c): Likewise.
26386         (CFLAGS-recvmsg.c): Likewise.
26387         (CFLAGS-recvfrom.c): Likewise.
26388         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26389         (SOCKETCALL): New macro: non-cancellable socketcall.
26390         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26391         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26392         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26393         * sysdeps/unix/sysv/linux/accept.c: New file.
26394         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26395         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26396         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26397         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26398         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26399         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26400         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26401         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26402         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26403         * sysdeps/unix/sysv/linux/send.c: Likewise.
26404         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26405         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26406         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26407         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26408         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26409         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26410         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26411         prototype.
26412         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26413         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26414         instead of __internal_xxx function.
26415         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26416         prototype.
26417         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26418         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26419         instead of __internal_xxx function.
26420         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26421         prototype.
26422         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26423         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26424         instead of __internal_xxx function.
26425         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26426         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26427         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26428         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26429         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26430         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26431         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26432         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26433         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26434         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26435         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26436         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26437         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26438         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26439         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26440         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26441         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26442         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26443         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26444         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26447         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26448         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26449         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26450         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26451         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26452         * sysdeps/unix/sysv/linux/send.S: Likewise.
26453         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26454         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26455         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26456         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26457         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26458         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26459         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26460         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26461         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26462         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26463         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26464         socketcall is implemented in GLIBC.
26466 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26468         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26469         (__fma): Ignore uninitialized warnings around packing.
26470         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26471         (__fmaf): Ignore uninitialized warnings around packing.
26472         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26473         (__fmal): Ignore uninitialized warnings around packing.
26475         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26476         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26477         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26478         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26480         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26481         switch statement into default case.
26482         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26484         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26485         a conditional in forcing "inexact".
26486         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26487         Likewise.
26489 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26491         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26492         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26493         for each INTERNAL_SYSCALL use.
26495 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26497         [BZ #438]
26498         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26499         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26500         variable.
26502         [BZ #18444]
26503         * string/basename.c (basename): Rename to __basename and define as
26504         weak alias of __basename.  Use libc_hidden_weak.
26505         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26506         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26507         __basename instead of basename.
26508         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26509         Remove variable.
26510         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26512 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26514         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26515         (_IO_JUMPS_FILE_plus): New.
26516         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26517         _IO_CAST_FIELD_ACCESS.
26518         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26519         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26520         * libio/freopen.c (freopen): Likewise.
26521         * libio/freopen64.c (freopen64): Likewise.
26522         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26523         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26524         * libio/iofwide.c (_IO_fwide): Likewise.
26525         * libio/memstream.c (open_memstream): Likewise.
26526         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26527         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26528         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26530 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26532         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26533         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26534         NADJ.
26535         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26536         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26537         NADJ.
26538         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26539         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26540         NADJ.
26542         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26543         (p == 4) case.
26545         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26546         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26547         Remove variable.
26548         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26549         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26550         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26552 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26554         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26555         Adjust jump table label generation macros.
26557 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26559         * stdio-common/vfprintf.c (vfprintf): Move local variables
26560         args_malloced, specs, specs_malloced, and the code after
26561         do_positional to the printf_positional function.
26562         (printf_positional): New function.
26564 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26566         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26567         function.
26568         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26569         STEP4_TABLE, process_arg): Move macro definitions
26570         out of the vfprintf function.  (Cosmetic change only.)
26572 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26574         * benchtests/Makefile (stdio-common-bench): Define.
26575         (benchset): Add stdio-common-bench.
26576         * sprintf-inputs: New file.
26577         * sprintf-source.c: New file.
26579 2015-05-21  Andreas Schwab  <schwab@suse.de>
26581         [BZ #13028]
26582         [BZ #17053]
26583         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26584         of struct __res_state.
26585         * resolv/res_send.c (__libc_res_nsend): Likewise.
26586         (get_nsaddr): New function.
26587         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26588         statp directly.
26590 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26592         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26593         -D_POSIX_C_SOURCE=199506L.
26595         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26597         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26598         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26599         Do not mention otherwise.
26600         [POSIX] (_XOPEN_VERSION): Do not expect.
26601         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26602         [POSIX] (_POSIX2_C_BIND): Likewise.
26603         [POSIX] (_POSIX2_VERSION): Likewise.
26604         [POSIX] (_XOPEN_XPG2): Likewise.
26605         [POSIX] (_XOPEN_XPG3): Likewise.
26606         [POSIX] (_XOPEN_XPG4): Likewise.
26607         [POSIX] (_XOPEN_UNIX): Likewise.
26608         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26609         [POSIX] (_POSIX_BARRIERS): Likewise.
26610         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26611         [POSIX] (_POSIX_CPUTIME): Likewise.
26612         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26613         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26614         [POSIX] (_POSIX_SHELL): Likewise.
26615         [POSIX] (_POSIX_SPAWN): Likewise.
26616         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26617         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26618         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26619         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26620         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26621         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26622         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26623         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26624         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26625         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26626         [POSIX] (_POSIX2_PBS): Likewise.
26627         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26628         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26629         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26630         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26631         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26632         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26633         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26634         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26635         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26636         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26637         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26638         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26639         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26640         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26641         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26642         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26643         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26644         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26645         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26646         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26647         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26648         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26649         [POSIX] (_SC_2_C_BIND): Likewise.
26650         [POSIX] (_SC_2_C_VERSION): Likewise.
26651         [POSIX] (_SC_2_PBS): Likewise.
26652         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26653         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26654         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26655         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26656         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26657         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26658         [POSIX] (_SC_BARRIERS): Likewise.
26659         [POSIX] (_SC_BASE): Likewise.
26660         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26661         [POSIX] (_SC_DEVICE_IO): Likewise.
26662         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26663         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26664         [POSIX] (_SC_FD_MGMT): Likewise.
26665         [POSIX] (_SC_FIFO): Likewise.
26666         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26667         [POSIX] (_SC_FILE_LOCKING): Likewise.
26668         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26669         [POSIX] (_SC_IOV_MAX): Likewise.
26670         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26671         [POSIX] (_SC_NETWORKING): Likewise.
26672         [POSIX] (_SC_PAGE_SIZE): Likewise.
26673         [POSIX] (_SC_PASS_MAX): Likewise.
26674         [POSIX] (_SC_PIPE): Likewise.
26675         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26676         [POSIX] (_SC_REGEXP): Likewise.
26677         [POSIX] (_SC_SHELL): Likewise.
26678         [POSIX] (_SC_SIGNALS): Likewise.
26679         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26680         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26681         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26682         [POSIX] (_SC_USER_GROUPS): Likewise.
26683         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26684         [POSIX] (_SC_STREAMS): Likewise.
26685         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26686         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26687         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26688         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26689         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26690         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26691         [POSIX] (_PC_FILESIZEBITS): Likewise.
26692         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26693         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26694         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26695         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26696         [POSIX] (uid_t): Likewise.
26697         [POSIX] (gid_t): Likewise.
26698         [POSIX] (off_t): Likewise.
26699         [POSIX] (pid_t): Likewise.
26700         [POSIX] (cuserid): Allow.
26701         (_SC_2_CHAR_TERM): Require constant.
26702         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26703         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26704         variable.
26706 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26708         * sysdeps/nacl/pthread-pids.h: New file.
26709         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26710         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26712         * nptl/pthread-pids.h: New file.
26713         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26714         * nptl/nptl-init.c: Include <pthread-pids.h>.
26715         (__pthread_initialize_minimal_internal):
26716         Call __pthread_initialize_pids instead of set_tid_address syscall.
26718         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26719         * sysdeps/posix/usleep.c: ... here.
26721 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26723         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26724         call_pselect6 object.
26725         [$(subdir) = io]: Remove call_sync_file_range object.
26726         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26727         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26728         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26729         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26731 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26733         * math/s_cproj.c: Add include "math_private.h".
26734         * math/s_cprojf.c: Likewise.
26735         * math/s_cprojl.c: Likewise.
26737 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26739         [BZ #18244]
26740         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26741         high mantissa bit when testing whether P is a NaN.
26742         * math/libm-test.inc (remainder_test_data): Add more tests.
26743         (remquo_test_data): Likewise.
26745         [BZ #18049]
26746         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26747         below -32, return the argument, with underflow if subnormal.
26748         * math/auto-libm-test-in: Add more tests of atanh.
26749         * math/auto-libm-test-out: Regenerated.
26751 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26753         [BZ #18434]
26754         * nptl/tst-sem15.c: New file.
26755         * nptl/Makefile (tests): Add it.
26756         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26757         s/<</>>/ to fix typo in EOVERFLOW check.
26758         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26760 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26762         * manual/strings.texi (envz_remove): Fix typo in safety
26763         annotations.
26765 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26766             Steve Ellcey  <sellcey@imgtec.com>
26768         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26769         in order to avoid strict alias warnings.
26770         (iruserok_af): Ditto for ra.
26772 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26774         [BZ #17581]
26775         * malloc/hooks.c
26776         (magicbyte): Convert to a function and avoid returning 0x01.
26777         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26778         (mem2chunk_check): Fix unsigned comparisons to zero.
26779         Hoist defs of sz and magic.
26781 2015-05-19  Richard Henderson  <rth@redhat.com>
26783         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26785         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26787 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26789         [BZ #16159]
26790         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26791         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26792         (reused_arena): Find a non-corrupt arena.
26793         (heap_trim): Pass arena to unlink.
26794         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26795         malloc_printerr.
26796         (top_check): Likewise.
26797         (free_check): Likewise.
26798         (realloc_check): Likewise.
26799         * malloc/malloc.c (malloc_printerr): Add arena argument.
26800         (unlink): Likewise.
26801         (munmap_chunk): Adjust.
26802         (ARENA_CORRUPTION_BIT): New macro.
26803         (arena_is_corrupt): Likewise.
26804         (set_arena_corrupt): Likewise.
26805         (sysmalloc): Use mmap if there are no usable arenas.
26806         (_int_malloc): Likewise.
26807         (__libc_malloc): Don't fail if arena_get returns NULL.
26808         (_mid_memalign): Likewise.
26809         (__libc_calloc): Likewise.
26810         (__libc_realloc): Adjust for additional argument to
26811         malloc_printerr.
26812         (_int_free): Likewise.
26813         (malloc_consolidate): Likewise.
26814         (_int_realloc): Likewise.
26815         (_int_memalign): Don't touch corrupt arenas.
26816         * malloc/tst-malloc-backtrace.c: New test case.
26818         * Makefile (summarize-tests): Fix return value on success.
26820         * manual/string.texi (Envz Functions): Add envz_remove.
26822 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26824         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26825         (invalid_name): New function, broken out of ...
26826         (__opendirat): ... here.  Call it.
26827         (need_isdir_precheck): New function, broken out of ...
26828         (__opendirat): ... here.  Call it.
26829         Use __fxstatat64, not __xstatat64.
26830         (opendir_oflags): New function, broken out of ...
26831         (__opendirat): ... here.  Call it.
26832         (opendir_tail): New function, broken out of ...
26833         (__opendirat): ... here.  Call it.
26834         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26835         opendir_tail, rather than punting to __opendirat.
26836         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26838 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26840         * .gitignore: Ignore generated *.pyc.
26842 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26844         * include/stdio.h: Define __need_wint_t.
26845         * test-skeleton.c: Avoid `for' loop initial declaration.
26846         * nptl/tst-initializers1.c: Use test-skeleton.c.
26848 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26850         [BZ #18418]
26851         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26853 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26855         [BZ #16352]
26856         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26857         (__ieee754_atanh): Force underflow exception for results with
26858         small absolute value.
26859         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26860         (__ieee754_atanhf): Force underflow exception for results with
26861         small absolute value.
26862         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26863         (__ieee754_atanh): Force underflow exception for results with
26864         small absolute value.
26865         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26866         (__ieee754_atanhf): Force underflow exception for results with
26867         small absolute value.
26868         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26869         (__ieee754_atanhl): Force underflow exception for results with
26870         small absolute value.
26871         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26872         (__ieee754_atanhl): Force underflow exception for results with
26873         small absolute value.
26874         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26875         (__ieee754_atanhl): Force underflow exception for results with
26876         small absolute value.
26877         * math/auto-libm-test-in: Do not allow missing underflow
26878         exceptions from atanh.
26879         * math/auto-libm-test-out: Regenerated.
26881         [BZ #18221]
26882         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26883         2**-28 as threshold for returning x or +/- 1/x.
26884         * math/auto-libm-test-in: Add more tests of tan.
26885         * math/auto-libm-test-out: Regenerated.
26887         [BZ #18220]
26888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26889         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26890         * math/auto-libm-test-in: Add another test of lgamma.
26891         * math/auto-libm-test-out: Regenerated.
26893 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26895         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26896         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26897         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26898         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26899         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26900         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26901         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26902         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26903         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26904         (log1): Use fabs.  (my_log2): Use fabs.
26905         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26906         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26907         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26908         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26909         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26910         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26911         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26912         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26913         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26914         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26915         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26917 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26919         [BZ #18217]
26920         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26921         as threshold for returning 1 - x.
26922         * math/auto-libm-test-in: Add more tests of erfc.
26923         * math/auto-libm-test-out: Regenerated.
26925 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26927         [BZ #18196]
26928         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26929         threshold for large arguments.
26930         * math/auto-libm-test-in: Add another test of atan.
26931         * math/auto-libm-test-out: Regenerated.
26933         [BZ #16339]
26934         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26935         (__log1p): Force underflow exception for results with small
26936         absolute value.
26937         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26938         (__log1pf): Force underflow exception for results with small
26939         absolute value.
26940         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26941         (__log1p): Force underflow exception for results with small
26942         absolute value.
26943         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26944         (__log1pf): Force underflow exception for results with small
26945         absolute value.
26946         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26947         (__log1pl): Force underflow exception for results with small
26948         absolute value.
26949         * math/auto-libm-test-in: Do not allow missing underflow
26950         exceptions from log1p.
26951         * math/auto-libm-test-out: Regenerated.
26953 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26954             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26956         [BZ #16704]
26957         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26959 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26961         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26962         (libmvec): New variable.
26963         * configure.ac: Added option for mathvec build.
26964         * configure: Regenerated.
26965         * mathvec/Depend: New file.
26966         * mathvec/Makefile: New file.
26967         * shlib-versions: Added libmvec.
26968         * math/Makefile: Added rule for libm.so installation.
26970         * bits/math-vector.h: New file.
26971         * bits/libm-simd-decl-stubs.h: New header.
26972         * math/Makefile (headers): Added new header
26973         libm-simd-decl-stubs.h.
26974         * math/math.h (__MATHCALL_VEC): New macro.
26976         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26977         for conditions in testing functions.
26978         * math/Makefile: Added call of libm-have-vector-test.sh.
26979         * math/libm-test.inc (HAVE_VECTOR): New macros.
26981         * math/libm-test.inc: START refactored.
26982         * math/test-double.c (TEST_MATHVEC): Add define.
26983         * math/test-float.c: Likewise.
26984         * math/test-idouble.c: Likewise.
26985         * math/test-ifloat.c: Likewise.
26986         * math/test-ildoubl.c: Likewise.
26987         * math/test-ldouble.c: Likewise.
26988         * sysdeps/generic/math-tests-arch.h
26989         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26990         architecture check.
26992         * math/test-double.c (FUNC_TEST): New macro.
26993         * math/test-float.c: Likewise.
26994         * math/test-idouble.c: Likewise.
26995         * math/test-ifloat.c: Likewise.
26996         * math/test-ildoubl.c: Likewise.
26997         * math/test-ldouble.c: Likewise.
26998         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27000 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27002         * sysdeps/nacl/fdopendir.c: New file.
27004         * dirent/scandir-tail.c: New file.
27005         * dirent/scandir64-tail.c: New file.
27006         * dirent/Makefile (routines): Add them.
27007         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27008         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27009         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27010         [!SCANDIR] (SCANDIR_TAIL): New macro.
27011         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27012         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27013         (SCANDIRAT): Macro removed.
27014         (SCANDIR_TAIL): New macro.
27015         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27016         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27017         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27018         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27019         (READDIR): Macro removed.
27020         (SCANDIR_TAIL): New macro.
27021         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27022         (SCANDIR_TAIL): New macro.
27024         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27025         * dirent/scandir-cancel.c: ... to this new file.
27026         * dirent/Makefile (routines): Add it.
27027         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27028         * sysdeps/unix/sysv/linux/i386/scandir64.c
27029         (SKIP_SCANDIR_CANCEL): Macro removed.
27030         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27032         * dirent/tst-scandir.c: New file.
27033         * dirent/tst-scandir64.c: New file.
27034         * dirent/Makefile (tests): Add them.
27036 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27038         [BZ #18409]
27039         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27041 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27043         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27044         list.
27046 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27048         * benchtests/bench-strcoll.c: New benchmark.
27049         * benchtests/Makefile: Generate locales and run benchmark.
27050         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27051         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27052         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27053         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27054         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27055         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27056         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27057         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27058         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27059         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27060         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27061         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27062         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27063         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27064         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27065         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27066         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27067         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27068         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27069         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27070         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27071         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27072         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27073         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27075 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27077         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27078         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27080 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27082         * posix/uname-values.h: New file.
27083         * posix/uname.c: Include that instead of <config-name.h>.
27084         * sysdeps/nacl/uname-values.h: New file.
27085         * sysdeps/arm/nacl/uname-values.h: New file.
27087 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27089         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27090         splitting into fields.
27092 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27094         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27095         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27096         * locale/localeinfo.h: Add enum collation_encoding_type.
27097         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27098         * programs/ld-collate.c (collate_output): Add encoding type info.
27099         * string/strcoll_l.c (STRDIFF): New function.
27100         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27101         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27103 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27105         [BZ #18397]
27106         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27107         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27108         <fpu_control.h> instead of <math/fpu_control.c>.
27109         * sysdeps/mips/mips32/fpu/Makefile: New file.
27111 2015-05-11  Andreas Schwab  <schwab@suse.de>
27113         [BZ #18007]
27114         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27115         nss_endgrent.
27116         (_nss_compat_endgrent): Call nss_endgrent.
27117         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27118         nss_endpwent.
27119         (_nss_compat_endpwent): Call nss_endpwent.
27120         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27121         needent, call nss_setspent only if non-zero.
27122         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27123         (internal_endspent): Don't call nss_endspent.
27124         (_nss_compat_endspent): Call nss_endspent.
27125         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27126         Remove.  All uses removed.
27127         (internal_setent): Remove parameter stayopen, add parameter
27128         stream.  Use it instead of global variable.
27129         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27130         (internal_endent, internal_getent): Add parameter stream.  Use it
27131         instead of global variable.
27132         (CONCAT(_nss_files_end,ENTNAME))
27133         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27134         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27135         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27136         uses removed.
27137         (internal_setent, internal_endent): Add parameter stream.  Use it
27138         instead of global variable.
27139         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27140         stream.
27141         (get_next_alias): Add parameter stream.
27142         (_nss_files_getaliasent_r): Pass global stream.
27143         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27144         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27145         (_nss_files_gethostbyname4_r): Pass local stream to
27146         internal_setent, internal_getent and internal_endent.  Remove
27147         locking.
27149 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27151         * tst-strfmon1.c (tests): Update expected currency symbol.
27153 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27155         * sysdeps/nacl/gethostname.c: New file.
27157 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27159         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27160         and sinh.
27161         * math/auto-libm-test-out: Regenerated.
27162         * sysdeps/i386/fpu/libm-test-ulps: Update.
27163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27165 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27167         [BZ #18125]
27168         * stdlib/tst-setcontext3.c: New file.
27169         * stdlib/tst-setcontext3.sh: New file.
27170         * stdlib/Makefile (tests): Add tst-setcontext3.
27171         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27172         to verify test program created output file.
27173         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27174         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27175         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27176         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27178 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27180         [BZ #18383]
27181         * elf/tst-tlsalign.c: New file.
27182         * elf/tst-tlsalign-static.c: New file.
27183         * elf/tst-tlsalign-lib.c: New file.
27184         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27185         (tests-static): Add tst-tlsalign-static.
27186         (modules-names): Add tst-tlsalign-lib.
27187         (test-xfail-tst-tlsalign): New variable.
27188         (test-xfail-tst-tlsalign-static): New variable.
27190         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27191         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27193 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27195         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27196         csqrt, erfc, sin and sincos.
27197         * math/auto-libm-test-out: Regenerated.
27198         * sysdeps/i386/fpu/libm-test-ulps: Update.
27199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27201 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27203         * sysdeps/aarch64/libm-test-ulps: Update.
27205 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27207         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27208         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27209         * math/auto-libm-test-out: Regenerated.
27210         * sysdeps/i386/fpu/libm-test-ulps: Update.
27211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27213 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27215         [BZ #18265]
27216         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27217         (wcsncpy): Likewise.
27219 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27221         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27222         Assume __ASSUME_FALLOCATE is always true.
27223         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27224         (__posix_fallocate64_l64): Likewise.
27225         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27226         (posix_fallocate): Likewise.
27227         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27228         (__posix_fallocate64_l64): Likewise.
27229         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27230         [!__ASSUME_FALLOCATE]: Add comment.
27232 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27234         * sysdeps/unix/sysv/linux/i386/Makefile
27235         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27236         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27237         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27238         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27239         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27240         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27241         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27243 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27245         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27246         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27247         tgamma.
27248         * math/auto-libm-test-out: Regenerated.
27249         * sysdeps/i386/fpu/libm-test-ulps: Update.
27250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27252 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27254         * math/auto-libm-test-in: Add more tests of tgamma.
27255         * math/auto-libm-test-out: Regenerated.
27256         * sysdeps/i386/fpu/libm-test-ulps: Update.
27257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27259         * math/auto-libm-test-in: Add more tests of tanh.
27260         * math/auto-libm-test-out: Regenerated.
27261         * sysdeps/i386/fpu/libm-test-ulps: Update.
27262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27264         * math/auto-libm-test-in: Add more tests of tan.
27265         * math/auto-libm-test-out: Regenerated.
27266         * sysdeps/i386/fpu/libm-test-ulps: Update.
27267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27270         * math/auto-libm-test-out: Regenerated.
27271         * sysdeps/i386/fpu/libm-test-ulps: Update.
27272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27274         * math/auto-libm-test-in: Add another test of pow.
27275         * math/auto-libm-test-out: Regenerated.
27276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27278         * math/auto-libm-test-in: Add more tests of lgamma.
27279         * math/auto-libm-test-out: Regenerated.
27280         * sysdeps/i386/fpu/libm-test-ulps: Update.
27281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27283         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27284         log1p.
27285         * math/auto-libm-test-out: Regenerated.
27286         * sysdeps/i386/fpu/libm-test-ulps: Update.
27287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27289 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27291         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27292         Elf64_Chdr structs and ELFCOMPRESS constants.
27294 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27296         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27297         expm1.
27298         * math/auto-libm-test-out: Regenerated.
27299         * sysdeps/i386/fpu/libm-test-ulps: Update.
27300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27302         * math/auto-libm-test-in: Add more tests of erf and erfc.
27303         * math/auto-libm-test-out: Regenerated.
27304         * sysdeps/i386/fpu/libm-test-ulps: Update.
27305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27307 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27309         * config.h.in (HAVE_AARCH64_BE): Add.
27311 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27313         * math/auto-libm-test-in: Add more tests of csqrt.
27314         * math/auto-libm-test-out: Regenerated.
27315         * sysdeps/i386/fpu/libm-test-ulps: Update.
27316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27318         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27319         * math/auto-libm-test-out: Regenerated.
27320         * sysdeps/i386/fpu/libm-test-ulps: Update.
27321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27323         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27325 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27327         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27328         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27330         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27331         (euidaccess, eaccess): Define as weak aliases.
27333         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27334         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27335         but __suseconds_t is often 'long int' so some sources assume that
27336         type is being used (e.g. they use %ld to print tv_usec).
27338 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27340         [BZ #18007]
27341         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27342         (CVE-2014-8121)
27343         * nss/tst-nss-getpwent.c: New file.
27344         * nss/Makefile (tests): Add new test.
27346 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27348         [BZ #18346]
27349         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27350         exponents less than 48 as cases where high part of mantissa needs
27351         examining to determine whether argument is integral.
27352         * math/libm-test.inc (round_test_data): Add more tests.
27354 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27356         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27358 2015-04-27  David S. Miller  <davem@davemloft.net>
27360         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27361         __tls_get_addr.
27362         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27364 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27366         [BZ#18333]
27367         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27369 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27371         [BZ#18333]
27372         * time/tzset.c (parse_tzname): Return error on memory allocation
27373         failure.
27374         * test-skeleton.c (struct temp_name_list): Change type of name
27375         member to non-const.
27376         (add_temp_file): Create a copy of the file name.
27377         (delete_temp_files): Deallocate memory.
27378         (create_temp_file): Add comment.
27380 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27382         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27383         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27385 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27387         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27388         * sysdeps/arm/configure: Regenerated.
27390 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27392         [BZ #17715]
27393         * time/tzfile.c (__tzfile_read): Check for large values of
27394         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27395         * time/tzset.c (__tzstring_len): New function, based on the old
27396         __tzstring function.
27397         (__tzstring): Call __tzstring_len.
27398         (parse_tzname): New helper function extracted from
27399         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27400         the input string.
27401         (parse_offset): New helper function extracted from
27402         __tzset_parse_tz.  Replace switch with fallthrough with
27403         initialization before sscanf.
27404         (parse_rule): Likewise.
27405         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27406         new-style function definition.
27407         * timezone/Makefile (tests): Add tst-tzset.
27408         (tst-tzset.out): Dependencies on time zone files.
27409         (tst-tzset-ENV): Set TZDIR.
27410         (testdata/XT%): Copy crafted time zone files.
27411         * timezone/README: Mention crafted time zone files.
27412         * timezone/testdata/XT1, timezone/testdata/XT2,
27413         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27414         files.
27415         * timezone/tst-tzset.c: New test.
27417 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27419         * Makeconfig (+gccwarn): Remove -Winline.
27421 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27423         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27425 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27427         * NEWS: Mention sysconf() cache information support for s390.
27428         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27430 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27432         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27433         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27434         (__nearbyint): Likewise.
27435         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27436         (copysignl): Likewise.
27438 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27440         [BZ #18287]
27441         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27442         based on padding.  (CVE-2015-1781)
27444 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27446         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27447         libc-vdso.h.
27448         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27449         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27450         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27451         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27452         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27453         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27454         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27455         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27456         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27457         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27458         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27459         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27460         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27461         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27462         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27463         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27464         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27465         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27466         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27467         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27468         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27469         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27470         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27472 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27474         * stdlib/setenv.c (__add_to_environ):
27475         Dump core quickly if setenv (..., NULL, ...) is called.
27476         This time, do it the right way, and pacify GCC with a pragma.
27478 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27480         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27481         IMAP->l_prev cannot be null, and #if out the code for the contrary
27482         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27483         believe that NS (&_dl_ns[NSID]) could point outside the array.
27485         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27486         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27487         before using NSID as an index.
27489 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27491         [BZ #17825]
27492         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27493         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27494         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27496 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27498         Add preliminary port to Google Native Client on ARM.
27499         * abi-tags (.*-.*-nacl.*): New entry.
27500         * sysdeps/arm/nacl: New directory.
27501         * sysdeps/nacl: New directory.
27503 2015-04-16  David S. Miller  <davem@davemloft.net>
27505         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27506         lowlevellock-futex.h
27508 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27510         * sysdeps/tile/configure.ac: New file.
27511         * sysdeps/tile/configure: Regenerated.
27513 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27515         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27516         conditionals for weak_alias and libc_hidden_weak.
27517         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27518         libc_hidden_weak and weak_alias.
27519         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27520         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27521         and weak_alias for static one.
27523 2015-04-15  David S. Miller  <davem@davemloft.net>
27525         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27527 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27529         [BZ #18206]
27530         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27531           Use signed comparision instead of substraction to avoid
27532           overflow bug.
27533         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27534           Take the sign of ret.
27535         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27536           Do not expect precise return values. Only the sign matters.
27537         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27538         * wcsmbs/test-wcsncmp.c: New File.
27539         * string/test-strncmp.c: Add wcsncmp support.
27541 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27543         [BZ #6792]
27544         * math/w_log1p.c: New file.
27545         * math/w_log1pf.c: Likewise.
27546         * math/w_log1pl.c: Likewise.
27547         * math/Makefile (libm-calls): Add w_log1p.
27548         * math/s_log1pl.c (log1pl): Remove weak_alias.
27549         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27550         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27551         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27552         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27553         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27554         [NO_LONG_DOUBLE] (log1pl): Likewise.
27555         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27556         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27557         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27558         (log1p): Remove long_double_symbol.
27559         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27560         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27561         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27562         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27563         remove weak_alias for corresponding log1p function.
27564         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27565         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27566         * sysdeps/ia64/fpu/w_log1p.c: New file.
27567         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27568         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27569         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27571 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27573         [BZ #18247]
27574         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27575         decimal exponent by 1.
27576         * stdlib/tst-strtod-round-data: Add more tests.
27577         * stdlib/tst-strtod-round.c (tests): Regenerated.
27579 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27581         * math/auto-libm-test-in: Add more tests of clog and clog10.
27582         * math/auto-libm-test-out: Regenerated.
27583         * sysdeps/i386/fpu/libm-test-ulps: Update.
27584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27586 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27588         * Makeconfig (module-cppflags): Exclude all .v.i files.
27589         (skip-module-cppflags): Variable removed.
27591         * configure.ac (libc_config_ok): Initialize before reading
27592         preconfigure scripts, not after.
27593         * configure: Regenerated.
27595         * test-skeleton.c (TIMEOUT): Move #define to top level.
27596         (main): Grok environment variable TEST_DIRECT.  If set, print
27597         test expectation details into that file and then behave as if
27598         given --direct.
27600 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27602         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27603         warning on 32-bit.
27605 2015-04-08  David S. Miller  <davem@davemloft.net>
27607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27609 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27611         * math/auto-libm-test-in: Add more tests of atanh.
27612         * math/auto-libm-test-out: Regenerated.
27613         * sysdeps/i386/fpu/libm-test-ulps: Update.
27614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27616         * math/auto-libm-test-in: Add more tests of atan.
27617         * math/auto-libm-test-out: Regenerated.
27618         * sysdeps/i386/fpu/libm-test-ulps: Update.
27619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27621 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27623         * elf/pldd.c (main): Rewrite to use struct
27624         scratch_buffer instead of extend_alloca.
27625         * elf/pldd-xx.c (find_maps): Likewise.
27626         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27627         <alloca.h>.
27628         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27629         scratch_buffer instead of extend_alloca.
27630         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27631         grp/compat-initgroups.c.
27632         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27633         Rewrite to use struct scratch_buffer instead of extend_alloca.
27634         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27635         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27637 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27639         * math/auto-libm-test-in: Add more tests of cbrt.
27640         * math/auto-libm-test-out: Regenerated.
27641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27643         * math/auto-libm-test-in: Add more tests of cabs.
27644         * math/auto-libm-test-out: Regenerated.
27645         * sysdeps/i386/fpu/libm-test-ulps: Update.
27646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27648         [BZ #18210]
27649         [BZ #18211]
27650         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27651         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27652         computations.
27653         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27654         clog10.
27655         * math/auto-libm-test-out: Regenerated.
27656         * sysdeps/i386/fpu/libm-test-ulps: Update.
27657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27659         [BZ #18197]
27660         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27661         (atan): Set FE_TONEAREST mode for internal computations.
27662         * math/auto-libm-test-in: Add more tests of atan.
27663         * math/auto-libm-test-out: Regenerated.
27665 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27667         [BZ #17930]
27668         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27670 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27672         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27674 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27676         * include/scratch_buffer.h: New file.
27677         * malloc/scratch_buffer_grow.c: Likewise.
27678         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27679         * malloc/scratch_buffer_set_array_size.c: Likewise.
27680         * malloc/tst-scratch_buffer.c: Likewise.
27681         * malloc/Makefile (routines): Add scratch_buffer_grow.
27682         (tests): Add test case.
27683         * malloc/Versions (GLIBC_PRIVATE): Export
27684         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27685         __libc_scratch_buffer_set_array_size.
27687 2015-04-06  Richard Henderson  <rth@redhat.com>
27689         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27690         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27692         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27693         unsigned int before printing.
27695 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27697         [BZ #17596]
27698         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27699         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27701 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27703         * include/libc-internal.h (libc_max_align_t): Define.
27705 2015-04-02  Andreas Schwab  <schwab@suse.de>
27707         [BZ #16850]
27708         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27710 2015-04-02  Mel Gorman  <mgorman@suse.de>
27712         [BZ #17195]
27713         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27714         as well as the main arena.
27716 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27718         [BZ #18185]
27719         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27720         sharing L2 cache to 2 for Silvermont/Knights Landing.
27722 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27724         [BZ #17711]
27725         * config.make.in (have-protected-data): New.
27726         * configure.ac: Check linker support for protected data symbol.
27727         * configure: Regenerated.
27728         * elf/Makefile (modules-names): Add tst-protected1moda and
27729         tst-protected1modb if $(have-protected-data) is yes.
27730         (tests): Add tst-protected1a and tst-protected1b if
27731         $(have-protected-data) is yes.
27732         ($(objpfx)tst-protected1a): New.
27733         ($(objpfx)tst-protected1b): Likewise.
27734         (tst-protected1modb.so-no-z-defs): Likewise.
27735         * elf/tst-protected1a.c: New file.
27736         * elf/tst-protected1b.c: Likewise.
27737         * elf/tst-protected1mod.h: Likewise.
27738         * elf/tst-protected1moda.c: Likewise.
27739         * elf/tst-protected1modb.c: Likewise.
27741 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27743         [BZ #17711]
27744         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27745         indicates it is called from do_lookup_x on relocation against
27746         protected data, skip the data definion in the executable from
27747         copy reloc.
27748         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27749         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27750         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27751         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27752         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27753         otherwise to 0.
27754         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27755         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27756         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27757         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27758         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27759         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27761 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27763         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27764         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27766 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27768         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27769         THREAD_SETMEM_NC.
27770         * sysdeps/x86_64/nptl/tls.h: Ditto.
27772 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27774         * dlfcn/tststatic.c (main): Converted to ...
27775         (do_test): ... this.
27776         (TEST_FUNCTION): New macro.
27777         Include test-skeleton.c.
27779 2015-03-26  Alan Modra  <amodra@gmail.com>
27781         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27782         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27783         zero for undefined weak.
27784         (elf_machine_plt_conflict): Similarly.
27786 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27788         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27789         atanh.
27790         * math/auto-libm-test-out: Regenerated.
27791         * sysdeps/i386/fpu/libm-test-ulps: Update.
27792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27794         * math/auto-libm-test-in: Add another test of asin.
27795         * math/auto-libm-test-out: Regenerated.
27796         * sysdeps/i386/fpu/libm-test-ulps: Update.
27797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27799         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27800         Remove macro.
27801         (LLL_EBX_REG): Likewise.
27802         (LLL_ENTER_KERNEL): Likewise.
27804         * math/auto-libm-test-in: Add more tests of asin.
27805         * math/auto-libm-test-out: Regenerated.
27806         * sysdeps/i386/fpu/libm-test-ulps: Update.
27807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27809         [BZ #18138]
27810         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27811         libc_do_syscall_args): New structure.
27812         (INTERNAL_SYSCALL_MAIN_0): New macro.
27813         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27814         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27815         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27816         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27817         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27818         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27819         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27820         Replace conditional definitions by conditional definitions of ....
27821         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27822         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27823         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27824         (libpthread-sysdep_routines): Add libc-do-syscall.
27825         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27826         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27827         to __NR_futex not 240.
27829 2015-03-25  Alan Modra  <amodra@gmail.com>
27831         * NEWS: Advertise TLS optimization.
27832         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27833         (DT_PPC_NUM): Increment.
27834         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27835         (CHECK_STATIC_TLS): Use here.
27836         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27837         TLS descriptors.
27838         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27839         * sysdeps/powerpc/dl-tls.c: New file.
27840         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27841         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27842         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27843         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27848 2015-03-25  Alan Modra  <amodra@gmail.com>
27850         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27851         for overlapping .opd entries" to "support...".
27852         * sysdeps/powerpc/powerpc64/configure: Regenerate
27854 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27856         * math/auto-libm-test-in: Add more tests of acos.
27857         * math/auto-libm-test-out: Regenerated.
27858         * sysdeps/i386/fpu/libm-test-ulps: Update.
27859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27861         * math/auto-libm-test-in: Add more tests of expm1.
27862         * math/auto-libm-test-out: Regenerated.
27863         * sysdeps/i386/fpu/libm-test-ulps: Update.
27864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27866 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27868         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27869         * math/auto-libm-test-out: Regenerated.
27870         * sysdeps/i386/fpu/libm-test-ulps: Update.
27871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27876         * math/auto-libm-test-in: Add more tests of log2.
27877         * math/auto-libm-test-out: Regenerated.
27878         * sysdeps/i386/fpu/libm-test-ulps: Update.
27879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27883         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27884         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27885         _IO_IS_APPENDING bit in READ_WRITE instead.
27887 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27889         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27890         (__determine_cpumask_size): Replace extend_alloca with a
27891         variable-length array.  Do not treat res == 0 as an error.
27893 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27895         [BZ #18100]
27896         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27897         and integer overflow.
27898         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27899         (main): Add integer overflow tests.
27900         * manual/pattern.texi (Calling Wordexp): Document additional use
27901         for WRDE_SYNTAX.
27903 2015-03-23  Alan Modra  <amodra@gmail.com>
27905         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27906         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27907         and false branch of conditional.
27908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27909         Likewise.
27911 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27913         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27914         libc-modules.h
27915         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27916         unused declaration of _hurd_intr_rpc_msg_in_trap.
27917         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27918         defined instead of whether it is non-zero.
27919         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27920         input constraint instead of both input and output constraint.  Use ecx
27921         clobber instead of %ecx.
27922         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27923         mutex_unlock): Use a statement expression instead of an expression list.
27924         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27925         type to vm_size_t instead of vm_address_t.
27926         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27927         defined instead of whether it is non-zero.
27928         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27929         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27930         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27931         comparisons with mapaddr.
27932         * nscd/nscd-client.h: Include <time.h>.
27933         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27934         9th parameter to __vm_region instead of int.
27935         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27936         * scripts/check-local-headers.sh (exclude): Add device/,
27937         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27938         cthreads.h.
27940 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27942         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27943         to account for alignment padding.
27944         * sysdeps/arm/memmove.S: Likewise.
27946 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27948         * sysdeps/unix/sysv/linux/generic/README: New file.
27950 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27952         [BZ #18138]
27953         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27954         (futex_abstimed_wait)
27955         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27956         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27957         of lll_futex_timed_wait.
27959 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27961         [BZ #17542]
27962         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27964 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27966         [BZ #17090]
27967         [BZ #17620]
27968         [BZ #17621]
27969         [BZ #17628]
27970         * NEWS: Update.
27971         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27972         entries with Static TLS too.  Skip entries past the end of the
27973         allocated DTV, from Alan Modra.
27974         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27975         Static TLS DTV entry set up from...
27976         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27977         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27978         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27979         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27980         for Static TLS.
27981         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27982         that the slot we find is associated with the given map before
27983         using its generation count.
27984         * nptl_db/db_info.c: Include ldsodefs.h.
27985         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27986         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27987         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27988         (link_map::l_tls_offset): New struct field.
27989         (dtv_t::counter): Likewise.
27990         (rtld_global): New struct.
27991         (_rtld_global): New rtld variable.
27992         (dl_tls_dtv_slotinfo_list): New rtld global field.
27993         (dtv_slotinfo_list): New struct.
27994         (dtv_slotinfo): Likewise.
27995         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27996         (td_lookup): Rename to...
27997         (td_mod_lookup): ... this.  Use new mod parameter instead of
27998         LIBPTHREAD_SO.
27999         * nptl_db/td_thr_tlsbase.c: Include link.h.
28000         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28001         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28002         addresses even if the DTV is out of date or missing them.
28003         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28004         index zero-length arrays.
28005         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28006         (td_lookup): Make it a macro implemented in terms of...
28007         (td_mod_lookup): ... this declaration.
28008         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28009         (DB_MAIN_VARIABLE): Likewise.
28011 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28013         [BZ #18134]
28014         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28016 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28018         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28020 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28022         [BZ #18128]
28023         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28024         (atomic_add, atomic_increment_and_test)
28025         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28027 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28029         * stdlib/setenv.c (__add_to_environ):
28030         Dump core quickly if setenv (..., NULL, ...) is called.
28032 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28034         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28035         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28036         all the necessary asm magic in one place.
28037         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28038         using those.
28040 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28042         [BZ #14906]
28043         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28044         traced file mtime. Use consistent log message.
28045         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28046         (register_traced_file): Call install_watches. Always set mtime.
28047         (invalidate_cache): Iterate over all trace files. Call install_watches.
28048         (inotify_check_files): Don't inline. Handle watching parent
28049         directories and configuration file movement in and out.
28050         (handle_inotify_events): New function.
28051         (main_loop_poll): Call handle_inotify_events.
28052         (main_loop_epoll): Likewise.
28053         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28054         (struct traced_file): Use array of inotify fds. Add parent directory,
28055         and basename.
28056         (struct database_dyn): Remove unused file_mtime.
28057         (init_traced_file): New inline function.
28058         (define_traced_file): New macro.
28059         * nss/nss_db/db-init.c: Use define_traced_file.
28060         (_nss_db_init): Use init_traced_file.
28061         * nss/nss_files/files-init.c: Use define_traced_file.
28062         (_nss_files_init): Use init_traced_file.
28064 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28066         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28067         [_LIBC]: Do not include <stdlib.h>.
28068         [!_LIBC] (abort): Remove declaration.
28069         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28070         _FP_STATIC_ASSERT instead of conditionally calling abort.
28071         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28072         (_FP_EXTEND_CNAN): Likewise.
28073         (FP_TRUNC): Likewise.
28074         (__FP_CLZ): Likewise.
28075         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28077 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28079         * manual/string.texi (XPG basename): Fix prototype.
28081 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28083         [BZ #18080]
28084         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28085         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28086         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28087         (__setcontext): Likewise.
28088         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28089         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28090         Call rt_sigprocmask syscall one time to set new signal mask
28091         and retrieve the current signal mask instead of two calls.
28092         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28093         (__swapcontext): Likewise.
28094         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28095         * stdlib/tst-setcontext2.c: New file.
28097 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28099         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28101 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28103         [BZ #18093]
28104         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28105         the wrong size.
28107 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28109         [BZ #18043]
28110         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28112 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28114         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28115         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28116         Remove define.
28117         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28118         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28119         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28120         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28121         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28122         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28123         define.
28124         * nptl_db/td_symbol_list.c (td_lookup): Remove
28125         HAVE_ASM_GLOBAL_DOT_NAME code.
28126         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28127         HAVE_ASM_GLOBAL_DOT_NAME check.
28128         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28129         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28130         (DOT_LABEL): Remove define.
28131         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28132         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28133         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28134         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28135         (__TLS_GET_ADDR): Likewise.
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28137         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28139 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28141         [BZ #18111]
28142         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28143         (_FPU_SETCW): Initialize cw from fpsr before storing.
28144         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28145         (fesetexceptflag): Rewrite using fpu_control.h.
28146         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28148 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28150         [BZ #18110]
28151         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28152         asms.
28153         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28155 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28157         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28158         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28159         abort.
28160         (_FP_FMA): Likewise.
28161         (_FP_DIV): Likewise.
28163 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28165         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28166         with 0 in that case.
28167         * Makefile (summarize-tests): New canned sequence, factored out of
28168         commands for targets tests and xtests.  Display summary lines that
28169         don't start with PASS: or XFAIL: rather than ones that do start with
28170         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28171         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28172         do start with ERROR: or FAIL:.
28173         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28174         (except for [$(build-shared) = yes]).
28175         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28176         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28177         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28178         * nptl/Makefile: Revert 2015-03-04 changes.
28179         [$(CXX) empty] (tests-unsupported): New variable.
28180         * debug/Makefile: Likewise.
28182         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28183         gnulib file.  Replace __attribute with __attribute__ throughout.
28185 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28187         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28189 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28191         [BZ #18104]
28192         * math/auto-libm-test-in: Add another test of pow.
28193         * math/auto-libm-test-out: Regenerated.
28195 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28197         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28198         $(config-cflags-nofma).
28200 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28202         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28203         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28204         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28205         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28206         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28207         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28208         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28209         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28210         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28211         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28212         Add comment on closing #endif.
28214 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28216         * posix/wordexp.c (CHAR_IN_SET): New macro.
28217         (parse_param): Use it.
28219 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28221         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28223 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28225         [BZ #18043]
28226         * posix/wordexp.c (parse_param): Fix buffer overflow.
28227         * posix/wordexp-test.c (test_case): Add test case.
28229 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28231         [BZ #18042]
28232         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28233         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28235 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28237         [BZ #18043]
28238         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28239         (do_bz18043): Delete.
28240         (at_page_end): New.
28241         (testit): Refactor to have words at the edge of unreadable page.
28243 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28245         [BZ #16734]
28246         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28247         Cleanup read-only streams as well.
28248         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28250 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28252         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28253         <bits/libc-lockP.h>
28255 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28257         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28258         on [__KERNEL__].
28259         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28260         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28261         * soft-fp/op-common.h (_FP_DECL): Likewise.
28263 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28265         * elf/ifuncdep2.c (global): Replace
28266         __attribute__((visibility("protected"))) with
28267         asm (".protected global").
28268         * elf/ifuncmod1.c (global): Likewise.
28269         * elf/ifuncmod5.c (global): Likewise.
28271 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28273         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28274         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28276 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28278         * manual/install.texi (Configuring and compiling):
28279         Document test-wrapper-env-only.
28280         * INSTALL: Regenerated.
28282 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28284         [BZ #18043]
28285         * posix/wordexp.c (parse_param): Fix buffer overflow.
28286         * posix/wordexp-test.c (do_bz18043): Add test case.
28288 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28290         * time/tst-strptime2.c (do_test): Ensure failing tests are
28291         reported correctly.
28292         * time/tst-strptime3.c (do_test): Likewise.
28294 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28296         Fix aio_error thread-safety.
28297         * sysdeps/pthread/aio_error.c: New file
28298         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28299         synchronization.
28301 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28303         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28304         (group_number, vfprintf): Use it.
28305         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28306         (JUMP, REF): Use it.
28307         (WORK_BUFFER_SIZE): New enum constant.
28308         (process_arg, vfprintf): Use it.
28310 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28312         * manual/errno.texi (Error Messages): Complete example function
28313         by adding missing #define.
28314         (program_invocation_name): Add statement indicating GNU
28315         extension and reference which header file declares the variable.
28316         (program_invocation_short_name): Likewise.
28318 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28320         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28321         compatibility note.
28323 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28325         * Makeconfig (test-wrapper-env-only): New variable.
28326         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28327         then use that with $(test-wrapper-env-only) rather than using
28328         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28330 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28332         [BZ #18082]
28333         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28334         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28335         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28336         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28337         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28338         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28339         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28340         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28341         Likewise.
28342         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28343         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28344         Likewise.
28345         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28346         Likewise.
28347         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28348         Likewise.
28349         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28350         Likewise.
28351         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28352         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28353         Likewise.
28354         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28355         Likewise.
28356         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28357         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28359 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28361         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28362         (ETH_ALEN): New macro.
28363         (struct ether_addr): Use it for length of ether_addr_octet.
28365         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28366         (setdb): Don't call __nss_configure_lookup for "rpc".
28367         (do_test): Don't call test_rpc.
28368         (output_rpcent, test_rpc): Functions moved ...
28369         * sunrpc/test-rpcent.c: ... to this new file.
28370         * sunrpc/Makefile (tests): Add it.
28372         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28373         __xpg_sigpause.
28374         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28375         * nptl/tst-signal6.c: Likewise.
28376         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28377         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28379         * configure.ac (libc_cv_cxx_link_ok): New check.
28380         Reset CXX to empty if it fails to link.
28381         * configure: Regenerated.
28382         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28383         bug-atexit3-lib only if $(CXX) is nonempty.
28384         * nptl/Makefile (tests): Likewise for tst-cancel24.
28385         (tests, tests-static): Likewise for tst-cancel24-static.
28386         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28387         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28388         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28389         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28391 2015-03-04  Andreas Schwab  <schwab@suse.de>
28393         [BZ #17631]
28394         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28395         for non-GCC compilers.
28396         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28397         Likewise.
28399 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28401         [BZ #17776]
28402         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28403         integer before bitwise and assembly operations.
28404         (feclearexcept): Likewise.
28405         * math/test-fenvinline.c: New file.
28406         * math/Makefile: Add test-fenvinline test.
28408 2015-03-03  Alan Modra  <amodra@gmail.com>
28410         [BZ #16512]
28411         * scripts/localplt.awk: Strip off symbol version.
28412         * NEWS: Mention bug fix.
28414 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28416         * sysdeps/pthread/timer_routines.c
28417         (timer_free_list, thread_free_list, thread_active_list): Make static.
28419 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28421         [BZ #17779]
28422         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28423         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28424         Undefine.
28425         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28426         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28427         Likewise.
28428         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28429         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28430         Likewise.
28432 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28434         [BZ #18036]
28435         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28436         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28438 2015-03-02  Andreas Schwab  <schwab@suse.de>
28440         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28441         variable name.
28443 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28445         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28446         Return error status.
28448 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28450         [BZ #15969]
28451         * locale/findlocale.c (_nl_find_locale): Introduce const
28452         version of loc_name and drop unsafe type casts.
28454 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28456         * dlfcn/tststatic2.c (main): Converted to ...
28457         (do_test): ... this.
28458         (TEST_FUNCTION): New macro.
28459         Include test-skeleton.c.
28461 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28463         [BZ #17711]
28464         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28465         (tests-pie): Add vismain.
28466         (CFLAGS-vismain.c): New.
28467         * elf/vismain.c: Add comments for PIE requirement.
28469 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #18046]
28472         [BZ #18047]
28473         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28474         0x1p-56L as threshold for just returning the argument.
28475         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28476         0x1p-32L as threshold for just returning the argument.
28477         * math/auto-libm-test-in: Add more tests of atanh.
28478         * math/auto-libm-test-out: Regenerated.
28479         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28482 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28484         * string/bcopy.c (bcopy): Call memmove for performance.
28486 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28488         * string/bzero.c (__bzero): Call memset for performance.
28490 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28492         [BZ #18068]
28493         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28494         to 00100000.
28496 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28498         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28500 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28502         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28503         (__kernel_standard): Use CSTR macro when setting exc.name.
28504         * sysdeps/ieee754/Makefile [$(subdir) = math]
28505         (CFLAGS-k_standard.c): Remove variable.
28507         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28508         setting p and q from "else if" to "else".
28509         (qzero): Likewise.
28510         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28511         (qone): Likewise.
28512         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28513         (qzerof): Likewise.
28514         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28515         (qonef): Likewise.
28516         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28517         (qzero): Likewise.
28518         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28519         (qone): Likewise.
28521         [BZ #18038]
28522         [BZ #18039]
28523         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28524         return pi/2 for arguments below 0x1p-113L.
28525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28526         return pi/2 for arguments below 0x1p-106L.
28527         * math/auto-libm-test-in: Add more tests of acos.
28528         * math/auto-libm-test-out: Regenerated.
28530         [BZ #16351]
28531         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28532         (MO): New macro.
28533         (__ieee754_asin): Force underflow exception for results with small
28534         absolute value.
28535         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28536         (MO): New macro.
28537         (__ieee754_asinf): Force underflow exception for results with
28538         small absolute value.
28539         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28540         (__ieee754_asin): Force underflow exception for results with small
28541         absolute value.
28542         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28543         (__ieee754_asinf): Force underflow exception for results with
28544         small absolute value.
28545         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28546         (__ieee754_asinl): Force underflow exception for results with
28547         small absolute value.
28548         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28549         (__ieee754_asinl): Force underflow exception for results with
28550         small absolute value.
28551         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28552         (__ieee754_asinl): Force underflow exception for results with
28553         small absolute value.
28554         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28555         Include <math.h>.
28556         * math/auto-libm-test-in: Do not mark underflow exceptions as
28557         possibly missing for bug 16351.
28558         * math/auto-libm-test-out: Regenerated.
28560         [BZ #18030]
28561         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28562         of power of 2 down when low part has opposite sign.
28563         * math/libm-test.inc (logb_test_data): Add more tests.
28565 2015-02-26  Andreas Schwab  <schwab@suse.de>
28567         [BZ #18032]
28568         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28569         over collating symbol inside a bracket expression.  Minor cleanup.
28570         * posix/tst-fnmatch3.c (do_test): Add test case.
28572 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28574         [BZ #18029]
28575         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28576         Adjust exponent of power of 2 down when low part has opposite
28577         sign.
28578         * math/libm-test.inc (ilogb_test_data): Add more tests.
28580 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28582         [BZ #15969]
28583         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28584         the previous change.
28586         [BZ #15969]
28587         * locale/findlocale.c (_nl_find_locale): Retry archive search
28588         after alias expansion.
28590 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28592         * iconv/tst-iconv3.c (main): Converted to ...
28593         (do_test): ... this.
28594         (TEST_FUNCTION): New macro.
28595         Include test-skeleton.c.
28597         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28598         (convert): Make function static.
28599         (test_unalign): Likewise.  Add const to argument pointee types.
28600         (main): Replace with static function do_test.
28601         Print "Succeeded." only if RET is zero.
28602         (TEST_FUNCTION): New macro.
28603         Include test-skeleton.c.
28605         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28606         returns a null pointer.
28608 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28610         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28611         to __memcpy_ppc only for static builds.
28613 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28615         [BZ #18020]
28616         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28617         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28618         * math/auto-libm-test-in: Add more tests of asinh.
28619         * math/auto-libm-test-out: Regenerated.
28620         * sysdeps/i386/fpu/libm-test-ulps: Update.
28621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28623 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28625         [BZ #15850]
28626         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28627         and ip6_mtuinfo definitions here.
28628         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28629         in this define too.  Update comment.
28631 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28633         * elf/sprof.c (load_shobj): Tweak error message to match others.
28635 2015-02-24  Kevin Easton  <kevin@guarana.org>
28637         [BZ #16145] (partial fix)
28638         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28639         to reduce lock contention.
28641 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28643         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28644         (struct timex): Update time comment.
28645         (ADJ_SETOFFSET): Define.
28647 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28649         [BZ #18019]
28650         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28651         2**56 not 2**28 as threshold for log (2x) formula.
28652         * math/auto-libm-test-in: Add more tests of acosh.
28653         * math/auto-libm-test-out: Regenerated.
28654         * sysdeps/i386/fpu/libm-test-ulps: Update.
28655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28657 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28659         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28660         parenthesis around the buf assignment.
28661         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28663 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28665         [BZ #16783]
28666         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28667         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28668         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28669         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28670         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28671         * math/libm-test.inc (scalb_test_data): Add more tests.
28673 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28675         [BZ #17916]
28676         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28677         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28679 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28681         [BZ #17523]
28682         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28683         * io/bits/fcntl2.h (open): Use it.
28684         (openat): Likewise.
28685         * io/open.c (__libc_open): Likewise.
28686         * io/open64.c (__libc_open64): Likewise.
28687         * io/open64_2.c (__open64_2): Likewise.
28688         * io/open_2.c (__open_2): Likewise.
28689         * io/openat.c (__openat): Likewise.
28690         * io/openat64.c (__openat64): Likewise.
28691         * io/openat64_2.c (__openat64_2): Likewise.
28692         * io/openat_2.c (__openat_2): Likewise.
28693         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28694         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28695         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28696         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28697         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28698         (__open_nocancel): Likewise.
28699         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28700         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28701         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28703 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28705         [BZ #14841]
28706         * resolv/gethnamaddr.c (getanswer): Skip logging if
28707         RES_USE_DNSSEC is set.
28708         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28710 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28712         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28714 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28716         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28717         201304L, for Unicode 7.
28719 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28721         [BZ #17836]
28722         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28723         shared library.  Add gmon-start.os otherwise.
28724         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28725         $(objpfx)gmon-start.os if builing shared library.
28726         ($(objpfx)g$(static-start-installed-name)): Likewise.
28728 2015-02-23  Andreas Schwab  <schwab@suse.de>
28730         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28732 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28734         [BZ #17269]
28735         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28736         (enlarge_userbuf): Likewise.
28738 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28740         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28741         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28742         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28743         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28745 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28747         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28748         expression inside statement expression.
28750 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28752         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28753         <sysdeps/nptl/lowlevellock.h> and remove macros and
28754         functions that are now defined there.
28755         (SYS_futex): Remove.
28756         (lll_compare_and_swap): Remove.
28757         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28759 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28761         [BZ #17999]
28762         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28763         instead of scandirat.
28764         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28765         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28766         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28767         __scandirat.
28768         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28769         (__scandirat): Declare.  Use libc_hidden_proto.
28770         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28771         Remove variable.
28772         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28774 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28776         [BZ #15319]
28777         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28778         (MO): New macro.
28779         (__ieee754_atan2): For results with small absolute value, force
28780         underflow exception and remove excess range and precision from
28781         return value.
28782         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28783         (MO): New macro.
28784         (__ieee754_atan2f): For results with small absolute value, force
28785         underflow exception and remove excess range and precision from
28786         return value.
28787         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28788         (MO): New macro.
28789         (__atan): For results with small absolute value, force underflow
28790         exception and remove excess range and precision from return value.
28791         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28792         (MO): New macro.
28793         (__atanf): For results with small absolute value, force underflow
28794         exception and remove excess range and precision from return value.
28795         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28796         <math.h>.
28797         (__ieee754_atan2): Force underflow exception for results with
28798         small absolute value.
28799         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28800         <math_private.h>.
28801         (atan): Force underflow exception for results with small absolute
28802         value.
28803         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28804         (__atanf): Force underflow exception for results with small
28805         absolute value.
28806         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28807         <math.h>.
28808         (__atanl): Force underflow exception for results with small
28809         absolute value.
28810         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28811         (__atanl): Force underflow exception for results with small
28812         absolute value.
28813         * sysdeps/x86/fpu/bits/mathinline.h
28814         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28815         (__ieee754_atan2): Only define inline for long double.
28816         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28817         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28818         * math/auto-libm-test-in: Do not mark underflow exceptions as
28819         possibly missing for bug 15319.  Add more tests of atan2.
28820         * math/auto-libm-test-out: Regenerated.
28821         * math/libm-test.inc (casin_test_data): Do not mark underflow
28822         exceptions as possibly missing for bug 15319.
28823         (casinh_test_data): Likewise.
28824         * sysdeps/i386/fpu/libm-test-ulps: Update.
28826 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28828         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28829         * sysdeps/mips/bits/endian.h: Fix comments.
28831 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28833         [BZ #17996]
28834         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28835         (hdestroy_r): Likewise.
28836         (hsearch_r): Likewise.
28837         (__hcreate_r): Declare and use libc_hidden_proto.
28838         (__hdestroy_r): Likewise.
28839         (__hsearch_r): Likewise.
28840         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28841         (hcreate): Call __hcreate_r instead of hcreate_r.
28842         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28843         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28844         as weak alias of __hcreate_r.
28845         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28846         __hdestroy_r.
28847         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28848         __hsearch_r.
28849         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28850         Remove variable.
28851         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28852         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28853         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28854         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28856 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28858         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28859         arena_lock into a single arena_get.
28861 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28863         * dl-reloc.c: Inlucde libc-internal.h.
28864         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28865         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28866         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28867         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28868         (grow_heap): Likewise.
28869         * malloc/malloc.c: Include libc-internal.h.
28870         (do_check_malloc): Call powerof2.
28871         (sysmalloc): Use pagesize. Call ALIGN_UP.
28872         (systrim): Use pagesize.
28873         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28874         (__libc_valloc): Use pagesize.
28875         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28877 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #17991]
28880         * include/sys/resource.h (__getrlimit64): Declare.  Use
28881         libc_hidden_proto.
28882         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28883         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28884         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28885         getrlimit64.
28886         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28887         __getrlimit64.
28888         [!getrlimit64] (getrlimit64): Define as weak alias of
28889         __getrlimit64.  Use libc_hidden_weak.
28890         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28891         using __getrlimit64 not __new_getrlimit64.
28892         (__GI_getrlimit64): Likewise.
28893         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28894         Likewise.
28895         (__GI_getrlimit64): Likewise.
28896         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28898         (getrlimit): Add __getrlimit64 alias.
28899         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28900         Likewise.
28901         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28902         Remove variable.
28903         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28904         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28906 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28908         * libio/fileops.c: Add missing sys/mman.h
28909         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28911 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28913         * manual/math.texi (Errors in Math Functions): Clarify goals
28914         regarding inexact and underflow exceptions.
28916 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28918         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28919         * sysdeps/mips/memset.S: Ditto.
28921 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28923         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28925 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28927         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28928         (__v1longjmp): Remove versioned symbol.
28929         (__v1siglongjmp): Remove alias and versioned symbol.
28930         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28931         (__v2siglongjmp): Likewise.
28933 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28935         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28937 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28939         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28941 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28943         [BZ #17987]
28944         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28945         zero result does not depend on the sign resulting from
28946         subtraction.
28947         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28948         Likewise.
28949         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28950         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28951         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28952         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28953         * math/libm-test.inc (remquo_test_data): Add more tests.
28955 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28957         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28958         Problem reported by J William Piggott.
28960 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28962         [BZ #17978]
28963         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28964         products 4 * y and 2 * y where those would overflow.
28965         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28966         Likewise.
28967         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28968         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28969         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28970         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28971         * math/libm-test.inc (remquo_test_data): Add more tests.
28973         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28975         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28976         [defined _COMPILING_NEWLIB].
28977         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28978         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28980         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28981         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28983 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28985         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28986         acquired.
28988 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28990         [BZ #17792]
28991         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28992         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28993         HOST_STACK_END_ADDR): Likewise.
28995 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28997         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28998         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28999         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29001 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29003         * sysdeps/generic/c++-types.data: New file.
29004         * sysdeps/generic/ld.abilist: New file.
29005         * sysdeps/generic/libBrokenLocale.abilist: New file.
29006         * sysdeps/generic/libanl.abilist: New file.
29007         * sysdeps/generic/libc.abilist: New file.
29008         * sysdeps/generic/libcrypt.abilist: New file.
29009         * sysdeps/generic/libdl.abilist: New file.
29010         * sysdeps/generic/libm.abilist: New file.
29011         * sysdeps/generic/libpthread.abilist: New file.
29012         * sysdeps/generic/libresolv.abilist: New file.
29013         * sysdeps/generic/librt.abilist: New file.
29015 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29017         [BZ #17569]
29018         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29019         Compute absolute value of x as modified by fmod, not original
29020         value of x.
29021         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29022         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29023         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29024         RUN_TEST_ffI_f1_mod8.
29025         (remquo_test_data): Add more tests.
29027 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29029         * sysdeps/init_array/pt-crti.S: New file.
29031 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29033         [BZ #17967]
29034         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29035         __builtin_fmaf instead of relying on contraction of a * b + c.
29037 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29039         [BZ #17969]
29040         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29041         node.
29043 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29045         [BZ #17964]
29046         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29047         __builtin_fma instead of relying on contraction of a * b + c.
29049 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29051         * Makeconfig (ASFLAGS): Add -Werror=undef.
29052         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29053         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29054         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29056         * Makeconfig (after-link): New variable.
29057         (+link-pie, +link-pie-tests): Use it.
29058         (+link-static, +link-static-tests): Likewise.
29059         (+link, +link-tests): Likewise.
29060         * Makerules (build-module, build-module-asneeded): Likewise.
29061         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29062         Likewise.
29063         * elf/Makefile ($(objpfx)ld.so): Likewise.
29065 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29067         [BZ #17965]
29068         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29069         both struct timeval and struct timespec.
29071 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29073         [BZ #16560]
29074         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29075         and redefine.
29076         (__ieee754_exp2l): Do not multiply small fractional parts by
29077         M_LN2l.
29078         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29079         small argument.
29080         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29081         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29082         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29083         * math/auto-libm-test-in: Add more tests of exp2.
29084         * math/auto-libm-test-out: Regenerated.
29086 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29088         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29089         unaligned path.
29091 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29093         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29094         little endian.
29096 2015-02-12  Andreas Schwab  <schwab@suse.de>
29098         [BZ #15790]
29099         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29100         Filter out elision flags from value returned in kind.
29101         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29102         * nptl/tst-pthread-mutexattr.c: New file.
29104 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29106         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29107         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29108         into gnu-gnu, and update comment to refer to abi-tags.
29110 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29112         [BZ #15467]
29113         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29114         (__sincos): Set errno to EDOM for infinite argument.
29115         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29116         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29117         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29118         (__sincosl): Set errno to EDOM for infinite argument.
29119         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29120         (__sincosl): Set errno to EDOM for infinite argument.
29121         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29122         (__sincosl): Set errno to EDOM for infinite argument.
29123         * math/libm-test.inc (sincos_test_data): Test errno setting.
29125 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29127         * string/strxfrm_l.c: Remove #define STRCMP.
29128         * string/strcoll_l.c: Remove #define STRLEN.
29129         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29130         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29132 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29134         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29135         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29136         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29137         * sysdeps/mips/mips64/Makefile: ... here.
29138         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29139         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29140         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29141         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29142         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29143         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29144         * sysdeps/mips/mips64/n64/Implies: Likewise.
29146 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29148         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29149         <sys/time.h>, <string.h>, and <errno.h>.
29150         (dest_offset, dest_address, value, zero): Remove unused variables.
29151         (ldouble): Remove typedef.
29152         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29153         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29154         1).  Fix code style.
29155         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29156         (check): Function removed.
29157         (CHECK): New macro.
29158         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29159         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29160         Don't call set_sigaction_FP and remove_sigaction_FP here.
29161         (ldouble_test): Just use 'long double' as macro argument, no need for
29162         the 'ldouble' typedef.
29163         (do_test): Set up SIGFPE handler at start, using plain signal rather
29164         than sigaction.  Fix code style.
29166 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29168         [BZ #17949]
29169         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29170         jump label.
29172 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29174         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29175         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29177         * sysdeps/powerpc/configure.ac: Remove file.
29178         * sysdeps/powerpc/configure: Likewise.
29180         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29181         [sysdep_routines]: Remove wordcopy-power6 object.
29182         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29183         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29185         (__memmove_ppc32): Likewise.
29186         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29187         file.
29188         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29189         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29190         Remove preprocessor.
29192         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29193         [sysdep_routines]: Remove wide chars objects.
29194         [wcsmbs]: New rule for wide char objects.
29196         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29197         Remove wordcopy-power6 obejct.
29198         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29199         Use local call for wordcopy and memcpy symbols.
29200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29202         implementation for loader.
29203         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29205         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29206         Remove wordcopy-power7 object.
29207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29209         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29210         (_wordcopy_fwd_dest_aligned): Likewise.
29211         (_wordcopy_bwd_aligned): Likewise.
29212         (_wordcopy_bwd_dest_aligned): Likewise.
29214         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29215         Rewrite to call __memmove_ppc instead of include default
29216         implementation.
29218         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29219         Remove wide chars objects.
29220         [wcsmbs]: New rule for wide char objects.
29222 2015-02-09  Andreas Schwab  <schwab@suse.de>
29224         [BZ #17912]
29225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29226         in terms of __O_DIRECTORY.
29228 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29230         * time/getdate.c: Include <stdbool.h>.
29231         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29232         call PTR_MANGLE.
29233         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29234         PTR_DEMANGLE.
29236 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29238         Add ersatz _Static_assert on older C hosts
29239         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29240         pre-C11 C platform that is not known to support _Static_assert.
29242 2015-02-07  Richard Braun  <rbraun@sceen.net>
29244         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29245         sigstate.
29246         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29248 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29250         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29251         priority against unexistent AIO_PRIO_DELTA_MAX.
29252         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29253         instead of int.
29254         * misc/fchflags.c (fchflags): Likewise.
29255         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29256         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29257         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29258         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29259         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29260         Declare macros.
29261         [__USE_MISC] (chflags, fchflags): Declare functions.
29262         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29263         EINVAL when nfds is greater than FD_SETSIZE.
29264         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29265         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29266         45.
29267         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29268         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29269         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29270         MACH_RCV_TIMED_OUT.
29271         * hurd/hurd/signal.h (_hurd_self_sigstate,
29272         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29273         Explicit casts from void *.
29274         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29275         * abi-tags: Rename gnu-gnu os into gnu.
29277         [BZ #4719]
29278         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29279         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29280         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29281         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29282         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29283         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29285         [BZ #17944]
29286         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29287         duplicates ADDR->sun_path with sockaddr LEN limitation.
29288         * sysdeps/mach/hurd/connect.c: Include <string.h>
29289         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29290         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29291         * sysdeps/mach/hurd/sendto.c: Likewise.
29292         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29293         implementing it by hand.
29295 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29297         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29298         Use sfi_breg on ldr.
29299         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29300         Likewise.
29302         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29303         it's defined.
29304         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29305         Test SIGSETXID only if it's defined.
29307         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29309         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29310         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29312         * nptl/tst-align2.c: Moved ...
29313         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29314         * nptl/Makefile (tests): Remove tst-align2.
29315         * sysdeps/unix/sysv/linux/Makefile
29316         [$(subdir) = nptl] (tests): Add tst-align-clone.
29317         * nptl/tst-getpid1.c: Moved ...
29318         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29319         * nptl/tst-getpid2.c: Moved ...
29320         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29321         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29322         * sysdeps/unix/sysv/linux/Makefile
29323         [$(subdir) = nptl] (tests): ... here.
29324         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29325         * sysdeps/unix/sysv/linux/Makefile
29326         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29328         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29329         Drop trailing \n from perror argument.  Use return rather than exit.
29331         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29332         on [SA_SIGINFO].
29333         * nptl/tst-cancel21.c (do_test): Likewise.
29334         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29335         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29336         [!SA_SIGINFO]: Make it a stub test.
29338         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29339         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29341         * posix/tst-getlogin.c: Move to ...
29342         * login/tst-getlogin.c: ... here.
29343         * posix/Makefile (tests): Move tst-getlogin to ...
29344         * login/Makefile (tests): ... here.
29346         * libio/tst-atime.c (do_test): Move local variables SV and E
29347         inside [ST_NOATIME] conditional.
29349         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29351         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29353         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29354         (wait_code): New function replaces macro.
29355         Call nanosleep rather than syscall.
29357         * nptl/pt-system.c: Rewritten.  Put everything under
29358         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29359         Use IFUNC to redirect when possible.
29361         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29362         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29363         Use IFUNC to redirect when possible.
29365         * nptl/pt-fork.c: Rewritten.  Put everything under
29366         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29367         Use IFUNC to redirect when possible.
29368         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29370         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29371         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29372         unconditionally nowadays.  This included the only reference to
29373         __vdso_clock_gettime that appears outside libc proper.
29374         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29375         Remove version set (containing only __vdso_clock_gettime).
29376         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29377         Add attribute_hidden.
29378         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29379         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29380         libc_hidden_data_def.
29381         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29382         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29384         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29385         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29386         setrpcent, and getrpcport to ...
29387         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29388         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29389         getrpcbynumber_r, and getrpcent_r to ...
29390         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29391         * inet/getrpcbyname.c: Moved ...
29392         * sunrpc/getrpcbyname.c: ... here.
29393         * inet/getrpcbyname_r.c: Moved ...
29394         * sunrpc/getrpcbyname_r.c: ... here.
29395         * inet/getrpcbynumber.c: Moved ...
29396         * sunrpc/getrpcbynumber.c: ... here.
29397         * inet/getrpcbynumber_r.c: Moved ...
29398         * sunrpc/getrpcbynumber_r.c: ... here.
29399         * inet/getrpcent.c: Moved ...
29400         * sunrpc/getrpcent.c: ... here.
29401         * inet/getrpcent_r.c: Moved ...
29402         * sunrpc/getrpcent_r.c: ... here.
29403         * inet/Makefile (routines): Move those to ...
29404         * sunrpc/Makefile (routines): ... here.
29405         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29406         the $(subdirs) list.
29407         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29408         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29409         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29410         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29412         * elf/Makefile (routines): Include $(all-dl-routines), not just
29413         $(dl-routines).
29414         (rtld-routines): Likewise.  Use = rather than :=.
29415         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29416         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29417         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29418         * sysdeps/arm/Makefile: Likewise.
29419         * sysdeps/i386/Makefile: Likewise.
29420         * sysdeps/x86_64/Makefile: Likewise.
29421         * sysdeps/hppa/Makefile [$(subdir) = elf]
29422         (sysdep_routines, sysdep-rtld-routines): Don't add
29423         $(sysdep-dl-routines) to these.
29424         * sysdeps/ia64/Makefile: Likewise.
29425         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29426         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29427         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29428         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29429         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29430         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29431         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29432         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29433         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29434         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29435         these; sysdep-dl-routines alone is enough.
29437 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #17932]
29440         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29441         where multiplication results in zero and third argument is finite
29442         and nonzero.
29443         * math/auto-libm-test-in: Add more tests of fma.
29444         * math/auto-libm-test-out: Regenerated.
29446         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29447         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29448         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29449         (_FP_CMP_EQ): Likewise.
29450         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29452         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29453         extra argument CHECK_NAN.  Redefine as wrapper around
29454         _FP_EXTEND_CNAN.
29456 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29458         * version.h (RELEASE): Set to "stable".
29459         (VERSION): Set to "2.21"
29460         * include/features.h (__GLIBC_MINOR__): Set to 21.
29462         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29464 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29465             Paul Eggert  <eggert@cs.ucla.edu>
29467         [BZ #16618]
29468         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29469         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29470         size in bytes. Store needed elements in wpmax. Use needed size
29471         in bytes for extend_alloca.
29473 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29475         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29476         binutls 2.25, and texinfo 5.2.
29477         * INSTALL: Regenerate.
29478         * sysdeps/nios2/configure: Regenerate.
29479         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29480         * manual/contrib.texi: Update.
29481         * po/be.po: Update.
29482         * po/bg.po: Update.
29483         * po/ca.po: Update.
29484         * po/cs.po: Update.
29485         * po/da.po: Update.
29486         * po/de.po: Update.
29487         * po/el.po: Update.
29488         * po/eo.po: Update.
29489         * po/es.po: Update.
29490         * po/fi.po: Update.
29491         * po/fr.po: Update.
29492         * po/gl.po: Update.
29493         * po/hr.po: Update.
29494         * po/hu.po: Update.
29495         * po/ia.po: Update.
29496         * po/id.po: Update.
29497         * po/it.po: Update.
29498         * po/ja.po: Update.
29499         * po/ko.po: Update.
29500         * po/lt.po: Update.
29501         * po/nb.po: Update.
29502         * po/nl.po: Update.
29503         * po/pl.po: Update.
29504         * po/pt_BR.po: Update.
29505         * po/ru.po: Update.
29506         * po/rw.po: Update.
29507         * po/sk.po: Update.
29508         * po/sl.po: Update.
29509         * po/sv.po: Update.
29510         * po/tr.po: Update.
29511         * po/uk.po: Update.
29512         * po/vi.po: Update.
29513         * po/zh_CN.po: Update.
29514         * po/zh_TW.po: Update.
29516         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29517         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29518         * sysdeps/hppa/dl-irel.h: Remove #warning.
29519         * sysdeps/hppa/entry.h: Provide prototype for
29520         __canonicalize_funcptr_for_compare and cast argument.
29521         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29522         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29523         * sysdeps/hppa/sotruss-lib.c: New file.
29524         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29525         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29526         (atomic_compare_and_exchange_bool_acq): Likewise.
29527         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29528         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29530         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29531         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29532         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29534 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29536         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29537         called function in non-PIC case.
29539 2015-01-31  David S. Miller  <davem@davemloft.net>
29541         * sysdeps/sparc/sparc32/bits/atomic.h
29542         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29543         unlock not after it.
29544         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29545         volatile register usage warnings from the compiler.
29547         * sysdeps/sparc/nptl/sem_init.c: Delete.
29548         * sysdeps/sparc/nptl/sem_post.c: Delete.
29549         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29550         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29551         * sysdeps/sparc/sparc32/sem_init.c: New file.
29552         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29553         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29554         padding explicitly initialized.
29555         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29556         padding for in-semaphore spinlock.
29557         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29558         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29559         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29560         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29561         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29562         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29563         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29564         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29565         version.
29566         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29567         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29569 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29571         [BZ #17801]
29572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29573         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29574         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29575         New.
29576         (index_AVX_Fast_Unaligned_Load): Likewise.
29577         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29578         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29579         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29580         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29581         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29582         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29583         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29584         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29585         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29587 2015-01-29  Andreas Schwab  <schwab@suse.de>
29589         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29591 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29593         [BZ #17892]
29594         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29596 2015-01-28  Martin Sebor  <msebor@redhat.com>
29598         * math/README.libm-test: Clarify. Add "How to read the test output."
29600 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29602         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29603         Define to 0.
29605 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29607         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29608         (__HAVE_64B_ATOMICS): Define to 0.
29610 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29612         [BZ #17885]
29613         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29614         value to set as new flag.
29616         [BZ #16576]
29617         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29618         and use _ARCH_PPCSQ instead.
29619         (__ieee754_sqrt): Likewise.
29620         (__ieee754_sqrtf): Likewise.
29621         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29622         _ARCH_PPCSQ is defined.
29623         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29624         fsqrt instruction.
29625         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29626         _ARCH_PPCSQ is defined.
29627         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29628         fsqrts instruction.
29629         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29631 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29633         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29634         bug (GCC BZ #64739).
29636 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29638         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29639         Mark _retval as used.
29640         (lll_futex_wake_unlock): Likewise.
29641         (lll_futex_timed_wait_requeue_pi): Likewise.
29643         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29644         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29645         register variables.
29647         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29648         libm_hidden_def.
29650         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29651         (__bswap_64): Mark as __always_inline.
29653 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29655         [BZ #15378]
29656         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29657         when none of the search directories exist.
29659 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29661         [BZ #17869]
29662         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29663         power8 in .machine directive.
29665         [BZ #17868]
29666         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29667         set dependency from opd value.
29669 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29672         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29673         architecture.
29675 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29677         [BZ #17870]
29678         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29679         with uint64_t.
29680         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29681         (uint64_t) 1.
29682         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29683         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29684         Replace 1UL with (uint64_t) 1.
29685         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29686         int with uint64_t.
29688 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29690         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29691         (if_freenameindex): Likewise.
29693         * resource/getrlimit64.c: Add missing libc_hidden_def.
29695 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29697         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29698         __label__.
29699         (_FP_FMA): Likewise.
29700         (_FP_TO_INT_ROUND): Likewise.
29701         (_FP_FROM_INT): Likewise.
29703 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29705         [BZ #16418]
29706         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29707         Make code racy and cancel safe.
29709 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29711         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29712         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29713         attribution.
29715         * pwd/tst-getpw.c: Rewrite.
29717         [BZ #17702]
29718         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29719         (modules-names): Add moddummy1 and moddummy2.
29720         ($(objpfx)tst-rec-dlopen): Define.
29721         * dlfcn/moddummy1.c: New file.
29722         * dlfcn/moddummy2.c: New file.
29723         * dlfcn/tst-rec-dlopen.c: New file.
29724         * elf/dl-cache.c (_dl_load_cache_lookup):
29725         Return char*. Copy result with alloca/strcpy/strdup.
29726         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29727         returns char*. Free cached. If not saving realname
29728         free cached.
29729         * elf/dl-open.c (dl_open_worker): Do not assert that
29730         _r_debug->r_state is RT_CONSISTENT.
29731         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29732         returns char*.
29734 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29735             Carlos O'Donell  <carlos@redhat.com>
29737         [BZ #12674]
29738         * nptl/sem_waitcommon.c: New file.
29739         * nptl/sem_wait.c: Include sem_waitcommon.c.
29740         (__sem_wait_cleanup, do_futex_wait): Remove.
29741         (__new_sem_wait): Adapt.
29742         (__new_sem_trywait): New function.
29743         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29744         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29745         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29746         (sem_timedwait): Adapt.
29747         * nptl/sem_post.c (__new_sem_post): Adapt.
29748         (futex_wake): New function.
29749         (__old_sem_post): Add release MO fence.
29750         * nptl/sem_open.c (sem_open): Adapt.
29751         * nptl/sem_init.c (__new_sem_init): Adapt.
29752         (futex_private_if_supported): New function.
29753         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29754         (__old_sem_getvalue): Add using previous code.
29755         * sysdeps/nptl/internaltypes.h: Adapt.
29756         * nptl/tst-sem13.c (do_test): Adapt.
29757         * nptl/tst-sem11.c (main): Adapt.
29758         * nptl/sem_trywait.c: Remove.
29759         * nptl/DESIGN-sem.txt: Remove.
29760         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29761         (gen-as-const-headers): Remove structsem.sym.
29762         * nptl/structsem.sym: Remove.
29763         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29764         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29765         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29766         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29767         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29768         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29769         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29770         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29771         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29772         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29773         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29774         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29775         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29776         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29777         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29778         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29779         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29780         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29781         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29782         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29783         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29784         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29786 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29788         * INSTALL: Regenerated.
29790         * po/libc.pot: Regenerated.
29792 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29793             Sandra Loosemore  <sandra@codesourcery.com>
29794             Andrew Jenner  <andrew@codesourcery.com>
29795             Joseph Myers  <joseph@codesourcery.com>
29796             Nathan Sidwell  <nathan@codesourcery.com>
29798         * NEWS: Mention new Nios II port.
29799         * sysdeps/nios2/Implies: New file.
29800         * sysdeps/nios2/Makefile: New file.
29801         * sysdeps/nios2/Subdirs: New file.
29802         * sysdeps/nios2/Versions: New file.
29803         * sysdeps/nios2/__longjmp.S: New file.
29804         * sysdeps/nios2/abort-instr.h: New file.
29805         * sysdeps/nios2/backtrace.c: New file.
29806         * sysdeps/nios2/bits/endian.h: New file.
29807         * sysdeps/nios2/bits/fenv.h: New file.
29808         * sysdeps/nios2/bits/link.h: New file.
29809         * sysdeps/nios2/bits/setjmp.h: New file.
29810         * sysdeps/nios2/bsd-_setjmp.S: New file.
29811         * sysdeps/nios2/bsd-setjmp.S: New file.
29812         * sysdeps/nios2/configure: New generated file.
29813         * sysdeps/nios2/configure.ac: New file.
29814         * sysdeps/nios2/crti.S: New file.
29815         * sysdeps/nios2/crtn.S: New file.
29816         * sysdeps/nios2/dl-init.c: New file.
29817         * sysdeps/nios2/dl-machine.h: New file.
29818         * sysdeps/nios2/dl-sysdep.h: New file.
29819         * sysdeps/nios2/dl-tls.h: New file.
29820         * sysdeps/nios2/dl-trampoline.S: New file.
29821         * sysdeps/nios2/gccframe.h: New file.
29822         * sysdeps/nios2/gmp-mparam.h: New file.
29823         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29824         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29825         * sysdeps/nios2/ldsodefs.h: New file.
29826         * sysdeps/nios2/libc-tls.c: New file.
29827         * sysdeps/nios2/libm-test-ulps: New file.
29828         * sysdeps/nios2/machine-gmon.h: New file.
29829         * sysdeps/nios2/math-tests.h: New file.
29830         * sysdeps/nios2/math_private.h: New file.
29831         * sysdeps/nios2/memusage.h: New file.
29832         * sysdeps/nios2/nptl/Makefile: New file.
29833         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29834         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29835         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29836         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29837         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29838         * sysdeps/nios2/nptl/tls.h: New file.
29839         * sysdeps/nios2/preconfigure: New file.
29840         * sysdeps/nios2/s_fma.c: New file.
29841         * sysdeps/nios2/s_fmaf.c: New file.
29842         * sysdeps/nios2/setjmp.S: New file.
29843         * sysdeps/nios2/sfp-machine.h: New file.
29844         * sysdeps/nios2/sotruss-lib.c: New file.
29845         * sysdeps/nios2/stackguard-macros.h: New file.
29846         * sysdeps/nios2/stackinfo.h: New file.
29847         * sysdeps/nios2/start.S: New file.
29848         * sysdeps/nios2/sysdep.h: New file.
29849         * sysdeps/nios2/tls-macros.h: New file.
29850         * sysdeps/nios2/tst-audit.h: New file.
29851         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29852         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29853         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29854         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29855         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29856         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29857         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29858         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29859         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29860         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29861         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29862         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29863         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29864         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29865         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29866         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29867         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29868         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29869         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29870         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29871         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29872         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29873         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29874         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29875         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29876         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29877         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29878         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29879         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29880         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29881         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29882         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29883         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29884         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29885         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29886         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29887         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29888         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29889         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29890         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29891         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29892         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29893         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29894         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29896 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29898         [BZ #17844]
29899         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29900         (getutent): Use weak_alias in non SHARED case
29901         and default_symbol_version in SHARED case.
29902         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29903         (getutent_r, pututline): Likewise.
29904         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29905         (getutid): Likewise.
29906         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29907         (getutid_r): Likewise.
29908         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29909         (getutline): Likewise.
29910         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29911         (getutline_r): Likewise.
29912         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29913         (updwtmp): Likewise.
29915 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29917         [BZ #17848]
29918         * sysdeps/s390/s390-32/memcmp.S
29919         (memcmp_g5): Rename to __memcmp_g5.
29920         * sysdeps/s390/s390-32/memcpy.S
29921         (memcpy_g5): Rename to __memcpy_g5.
29922         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29923         (memcpy_mvcle) Rename to __memcpy_mvcle.
29924         * sysdeps/s390/s390-32/memset.S
29925         (memset_g5): Rename to __memset_g5.
29926         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29927         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29928         and use prefixed functions.
29929         * sysdeps/s390/s390-32/multiarch/memcmp.S
29930         (memcmp_z196): Rename to __memcmp_z196.
29931         (memcmp_z10): Rename to __memcmp_z10.
29932         (memcmp): Set alias to __memcmp_g5.
29933         (bcmp): Set alias to __memcmp_g5.
29934         * sysdeps/s390/s390-32/multiarch/memcpy.S
29935         (memcpy_z196): Rename to __memcpy_z196.
29936         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29937         (memcpy_z10): Rename to __memcpy_z10.
29938         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29939         (memcpy): Set alias to __memcpy_g5.
29940         * sysdeps/s390/s390-32/multiarch/memset.S
29941         (memset_z196): Rename to __memset_z196.
29942         Jump to __memset_mvcle instead of memset_mvcle.
29943         (memset_z10): Rename to __memset_z10.
29944         Jump to __memset_mvcle instead of memset_mvcle.
29945         (memset_mvcle) Rename to __memset_mvcle.
29946         (memset): Set alias to __memset_g5.
29947         * sysdeps/s390/s390-64/memcmp.S
29948         (memcmp_z900): Rename to __memcmp_z900.
29949         * sysdeps/s390/s390-64/memcpy.S
29950         (memcpy_z900): Rename to __memcpy_z900.
29951         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29952         (memcpy_mvcle) Rename to __memcpy_mvcle.
29953         * sysdeps/s390/s390-64/memset.S
29954         (memset_z900): Rename to __memset_z900.
29955         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29956         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29957         and use prefixed functions.
29958         * sysdeps/s390/s390-64/multiarch/memcmp.S
29959         (memcmp_z196): Rename to __memcmp_z196.
29960         (memcmp_z10): Rename to __memcmp_z10.
29961         (memcmp): Set alias to __memcmp_z900.
29962         (bcmp): Set alias to __memcmp_z900.
29963         * sysdeps/s390/s390-64/multiarch/memcpy.S
29964         (memcpy_z196): Rename to __memcpy_z196.
29965         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29966         (memcpy_z10): Rename to __memcpy_z10.
29967         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29968         (memcpy): Set alias to __memcpy_z900.
29969         * sysdeps/s390/s390-64/multiarch/memset.S
29970         (memset_z196): Rename to __memset_z196.
29971         Jump to __memset_mvcle instead of memset_mvcle.
29972         (memset_z10): Rename to __memset_z10.
29973         Jump to __memset_mvcle instead of memset_mvcle.
29974         (memset_mvcle) Rename to __memset_mvcle.
29975         (memset): Set alias to __memset_z900.
29977 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29979         [BZ #17748]
29980         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29981         __fesetenv instead of fesetenv.
29983 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29985         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29986         macro.
29988 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29990         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29991         regression on LE.
29993         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29994         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29995         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29996         strncmp-power8 object.
29997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29998         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29999         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30000         * NEWS: Update.
30002 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30003             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30005         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30006         trailing byte check.
30008 2015-01-13  David S. Miller  <davem@davemloft.net>
30010         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30012 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30014         * login/logout.c (logout): Use memset rather than bzero.
30015         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30016         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30017         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30018         (_gethtbyaddr): Likewise.
30019         * locale/programs/simple-hash.c (bcopy): Macro removed.
30021 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30023         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30024         Add strcmp-power8 object.
30025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30026         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30027         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30028         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30029         __strcmp_power8 implementation.
30030         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30031         * NEWS: Update.
30033         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30034         Add strncpy-power8 and stpncpy-power8 objects.
30035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30036         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30037         implementations.
30038         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30040         __stpncpy_power8 implementation.
30041         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30042         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30043         __strncpy_power8 implementation.
30044         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30045         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30046         * NEWS: Update.
30048         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30049         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30050         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30053         strncat-power8 object.
30054         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30055         __strcat_power8 implementation.
30056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30057         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30058         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30059         optimized strcat for power8.
30061         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30062         strcpy-power8 and stpcpy-power8 objects.
30063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30064         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30065         implementations.
30066         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30067         multiarch stpcpy implementation for POWER8.
30068         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30069         multiarch strcpy implementation for POWER8.
30070         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30071         __strcpy_power8 function.
30072         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30073         stpcpy for POWER8.
30074         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30075         strcpy for POWER8.
30076         * NEWS: Update.
30078 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30080         [BZ #16009]
30081         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30082         weights and rules. Use do_xfrm_cached if data fits in cache,
30083         do_xfrm otherwise.  Moved former main loop to...
30084         * (do_xfrm_cached): New function.
30085         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30086         find_idx, find_position and stack_push.
30087         * (find_idx): New function.
30088         * (find_position): Likewise.
30089         * localedata/sort-test.sh: Added test run for do_xfrm.
30090         * localedata/xfrm-test.c (main): Added command line option
30091         -nocache to run the test with strings that are too large for
30092         the STRXFRM cache.
30094 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30096         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30097         variable to lll_futex_wake call, not the value itself.
30099 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30101         [BZ #17803]
30102         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30103         twom64.  Adjust value to 0x1p-64L.
30104         (__scalblnl): Only return standard underflowing result for K <=
30105         -64 not K <= -63; adjust exponent for underflowing result by 64
30106         not 63.
30107         * math/libm-test.inc (scalbn_test_data): Add more tests.
30108         (scalbln_test_data): Likewise.
30110         [BZ #17834]
30111         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30112         0x1p63L.
30113         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30114         not HX.
30115         * math/libm-test.inc (scalbn_test_data): Add more tests.
30116         (scalbln_test_data): Likewise.
30118 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30119             Stefani Seibold  <stefani@seibold.net>
30121         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30122         (sysdep_routines): Add dl-vdso here, ...
30123         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30124         (sysdep_routines): ... not here.
30125         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30126         fallback when vDSO is not presented.
30127         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30128         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30129         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30130         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30131         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30132         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30133         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30134         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30135         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30137         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30138         fallback configurable symbol when vDSO is not available.
30139         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30140         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30141         be able to redefine fallback symbol when vDSO is not available.
30142         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30143         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30145 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30147         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30148         (TLS_INIT_TP): Add tm_capable initialization.
30149         (TLS_DEFINE_INIT_TP): Likewise.
30150         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30151         TCB.
30152         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30153         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30154         calculation.
30155         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30156         transactoion is lock elision is built and TCB tm_capable is set.
30157         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30159         (INTERNAL_SYSCALL_NCS): Likewise.
30160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30161         (INTERNAL_SYSCALL_NCS): Likewise.
30162         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30164         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30165         for powerpc.
30166         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30167         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30168         and remove it for 32 bits case.
30169         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30170         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30171         initialization.
30172         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30173         Disable lock elision with rdlocks if elision is not available.
30175         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30176         (sysdep_routines): Add lock elision objects.
30177         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30178         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30179         [pthread_mutex_t] (__elision): Add field.
30180         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30181         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30182         elision definitions for powerpc.
30183         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30184         implementation of lock elision for powerpc.
30185         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30186         implementation of timed lock elision for powerpc.
30187         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30188         implementation of trylock with lock elision for powerpc.
30189         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30190         implementaion of unlock for lock elision for powerpc.
30191         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30192         automatic enable lock elision for mutexes.
30193         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30194         transaction execution definitions for powerpc.
30195         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30196         definitions.
30197         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30199         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30200         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30201         * NEWS: Update.
30203 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30205         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30206         for #include of <shm-directory.h>.
30208 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30210         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30211         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30213 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30215         [BZ #17791]
30216         * NEWS: Mention bug fix.
30217         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30218         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30219         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30221 2015-01-09  Torvald Riegel <triegel@redhat.com>
30223         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30225 2015-01-09  Torvald Riegel <triegel@redhat.com>
30227         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30229 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30231         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30232         pointer and cast to uintptr_t.
30234 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30236         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30237         removed.
30238         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30240 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30242         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30243         of 0.
30245 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30247         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30248         <nptl/pthreadP.h> instead.
30249         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30251         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30252         already defined.
30253         [__SIGRTMIN] (init): Function removed.
30254         [__SIGRTMIN] (initialized): Variable removed.
30255         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30256         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30257         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30258         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30259         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30260         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30261         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30262         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30263         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30264         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30265         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30266         * sysdeps/nptl/allocrtsig.c: New file.
30267         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30268         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30269         * sysdeps/generic/testrtsig.h: File removed.
30271         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30272         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30274         * nptl/nptl-init.c (pthread_functions): Conditionalize
30275         .ptr__nptl_setxid initialization on [SIGSETXID].
30277         * sysdeps/nptl/sys/procfs.h: New file.
30278         * nptl_db/Makefile (headers): Add it.
30279         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30281         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30282         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30283         * nptl/pthread_attr_setaffinity.c: Include it.
30284         * nptl/pthread_setattr_default_np.c: Likewise.
30285         * nptl/check-cpuset.h: New file.
30287 2015-01-08  Richard Henderson  <rth@redhat.com>
30289         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30290         (CFLAGS-tst-execstack-prog.c): Likewise.
30291         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30293 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30294             Sandra Loosemore  <sandra@codesourcery.com>
30295             Andrew Jenner  <andrew@codesourcery.com>
30296             Joseph Myers  <joseph@codesourcery.com>
30297             Nathan Sidwell  <nathan@codesourcery.com>
30299         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30300         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30301         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30302         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30303         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30304         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30305         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30306         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30307         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30308         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30309         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30310         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30311         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30312         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30313         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30314         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30315         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30317 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30319         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30320         timespec struct member in syscall macro.
30321         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30322         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30323         first timeval struct member in syscall macro.
30324         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30326 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30328         [BZ #17748]
30329         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30330         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30331         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30332         __feupdateenv and define as weak alias of __feupdateenv.  Use
30333         libm_hidden_weak.
30334         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30335         libm_hidden_def.
30336         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30337         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30338         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30339         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30340         libm_hidden_def.
30341         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30342         __feupdateenv and define as weak alias of __feupdateenv.  Use
30343         libm_hidden_weak.
30344         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30345         libm_hidden_def.
30346         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30347         __feupdateenv and define as weak alias of __feupdateenv.  Use
30348         libm_hidden_weak.
30349         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30350         libm_hidden_def.
30351         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30352         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30353         (__feupdateenv): Likewise.
30354         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30355         __feupdateenv and define as weak alias of __feupdateenv.  Use
30356         libm_hidden_weak.
30357         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30358         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30359         libm_hidden_def.
30360         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30361         function.
30362         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30363         libm_hidden_def.
30364         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30365         __feupdateenv instead of feupdateenv.
30366         (default_libc_feupdateenv_test): Likewise.
30367         (libc_feresetround_ctx): Likewise.
30369 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30371         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30372         prototype.
30374 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30376         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30377         COLL_SYM in a couple of places to avoid uninitialized variable
30378         wanings on tilegx gcc 4.8.2.
30380 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30382         * sysdeps/aarch64/strcpy.S: New file.
30383         * sysdeps/aarch64/stpcpy.S: New file.
30384         * NEWS: Updated.
30386 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30388         * sysdeps/aarch64/strrchr.S: New file.
30389         * NEWS: Updated.
30391 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30393         [BZ #17658]
30394         * stdlib/setenv.c: Fix memory leak when setting large,
30395         duplicate string.
30397 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30399         [BZ #17273]
30400         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30401         and tabs from buffer before parsing fstab entry.
30402         * misc/tst-mntent.c (main): Add test for mount entry with
30403         trailing spaces and tabs.
30405 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30407         [BZ #17748]
30408         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30409         * math/fesetround.c (fesetround): Rename to __fesetround and
30410         define as weak alias of __fesetround.  Use libm_hidden_weak.
30411         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30412         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30413         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30414         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30415         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30416         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30417         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30418         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30419         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30420         __fesetround_inline.
30421         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30422         __fesetround_inline instead of __fesetround.
30423         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30424         __fesetround and define as weak alias of __fesetround.  Use
30425         libm_hidden_weak.  Call __fesetround_inline instead of
30426         __fesetround.
30427         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30428         __fesetround and define as weak alias of __fesetround.  Use
30429         libm_hidden_weak.
30430         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30431         Likewise.
30432         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30433         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30434         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30435         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30436         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30437         __fesetround and define as weak alias of __fesetround.  Use
30438         libm_hidden_weak.
30439         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30440         __fesetround instead of fesetround.
30441         (default_libc_feholdexcept_setround): Likewise.
30442         (libc_feholdsetround_ctx): Likewise.
30443         (libc_feholdsetround_noex_ctx): Likewise.
30445         [BZ #17748]
30446         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30447         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30448         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30449         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30450         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30451         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30452         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30453         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30454         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30455         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30456         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30457         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30458         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30459         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30460         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30461         libm_hidden_def.
30462         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30463         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30464         Likewise.
30465         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30466         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30467         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30468         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30469         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30470         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30471         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30472         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30473         __fesetenv instead of fesetenv.
30474         (libc_feresetround_noex_ctx): Likewise.
30475         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30476         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30477         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30478         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30479         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30480         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30481         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30482         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30483         (__feupdateenv): Likewise.
30484         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30485         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30486         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30487         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30489 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30491         [BZ #17806]
30492         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30493         addresses have been freed.
30495 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30497         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30498         and nservall.
30500 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30502         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30503         Clean up check_pf allocation pattern. addresses
30505 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30507         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30508         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30509         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30510         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30511         * nptl/pthread_join.c (pthread_join): Likewise.
30512         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30513         * sysdeps/posix/waitid.c (__waitid): Likewise.
30514         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30515         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30516         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30517         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30519         Likewise.
30520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30521         (__libc_pread64): Likewise.
30522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30523         (__libc_pwrite): Likewise.
30524         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30525         (__libc_pwrite64): Likewsie.
30526         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30527         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30528         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30529         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30530         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30531         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30532         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30534         Likewise.
30535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30536         (__libc_pread64): Likewise.
30537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30538         Likewise.
30539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30540         (__libc_pwrite64): Likewise.
30541         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30542         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30543         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30544         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30545         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30546         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30547         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30548         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30549         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30550         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30551         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30552         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30553         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30554         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30555         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30556         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30557         Likewise.
30559 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30561         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30562         (CFLAGS-test-double.c): Likewise.
30563         (CFLAGS-test-ldouble.c): Likewise.
30564         (CPPFLAGS-test-ifloat.c): Likewise.
30565         (CPPFLAGS-test-idouble.c): Likewise.
30566         (CPPFLAGS-test-ildoubl.c): Likewise.
30567         (CFLAGS-test-test-fenv.c): Remove variable.
30568         (CFLAGS-test-misc.c): Likewise.
30570 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30572         [BZ #17797]
30573         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30574         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30575         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30576         CLOCKS_PER_SEC == 1000000.
30577         * time/clocktest.c (main): Replace %ld with %jd and cast to
30578         intmax_t.
30580 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30582         * sysdeps/generic/unwind-resume.h: New file.
30583         * sysdeps/gnu/unwind-resume.c: Include it.
30584         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30585         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30586         argument list.
30587         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30588         global rather than static.
30589         (_Unwind_Resume): Update user.
30590         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30591         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30592         rather than static.  Add __attribute__ ((cold)).
30593         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30594         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30595         * sysdeps/arm/arm-unwind-resume.S: New file.
30596         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30597         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30598         * sysdeps/arm/Makefile [$(subdir) = csu]
30599         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30600         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30601         Add rt-arm-unwind-resume.
30602         [$(subdir) = nptl]
30603         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30604         Add pt-arm-unwind-resume.
30605         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30606         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30608 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30610         [BZ #17748]
30611         * include/fenv.h (__feholdexcept): Declare.  Use
30612         libm_hidden_proto.
30613         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30614         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30615         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30616         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30617         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30618         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30619         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30620         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30621         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30622         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30623         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30624         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30625         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30626         (feholdexcept): Likewise.
30627         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30628         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30629         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30630         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30631         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30632         __feholdexcept instead of feholdexcept.
30633         (default_libc_feholdexcept_setround): Likewise.
30635 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30637         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30638         to avoid using stl/str to align destination.
30640 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30642         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30644 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30646         [BZ #17796]
30647         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30648         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30649         Define as weak alias not strong alias.
30651 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30653         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30654         bltzal with addiupc.
30655         (RTLD_START): Ditto.
30657 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30659         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30660         for __vdso_* functions in declarations.
30661         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30662         definitions.
30663         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30664         INTERNAL_VSYSCALL): Use struct return types to check for error.
30666         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30667         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30668         function with cast from llround().
30669         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30670         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30671         Define.
30673 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30675         [BZ #17793]
30676         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30677         Define as weak alias not strong alias.
30679         [BZ #17635]
30680         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30681         ...
30682         * ctype/ctype-extn.c: ... here.
30683         (__isblank_l): Move to ...
30684         * ctype/ctype-c99_l.c: ... here.  New file.
30685         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30686         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30687         Remove variable.
30688         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30689         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30690         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30691         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30692         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30694         [BZ #17777]
30695         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30696         (posix_fadvise64): Define as weak alias not strong alias.
30697         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30698         (posix_fallocate64): Likewise.
30699         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30700         Remove variable.
30701         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30702         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30703         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30704         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30705         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30707 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30709         [BZ #16191]
30710         * NEWS: Mention bug fix.
30711         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30712         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30713         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30714         (HOST_STACK_END_ADDR): Likewise.
30716 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30718         [BZ #17748]
30719         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30720         * math/fegetround.c (fegetround): Rename to __fegetround and
30721         define as weak alias of __fegetround.  Use libm_hidden_weak.
30722         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30723         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30724         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30725         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30726         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30727         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30728         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30729         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30730         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30731         Undefine after rather than before function definition; use
30732         parentheses around function name in definition.
30733         (__fegetround): Also undefine macro after function definition.
30734         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30735         __fegetround and define as weak alias of __fegetround.  Use
30736         libm_hidden_weak.  Do not undefine as macro.
30737         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30738         Likewise.
30739         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30740         __fegetround and define as weak alias of __fegetround.  Use
30741         libm_hidden_weak.
30742         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30743         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30744         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30745         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30746         __fegetround and define as weak alias of __fegetround.  Use
30747         libm_hidden_weak.
30748         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30749         __fegetround instead of fegetround.
30751         [BZ #17782]
30752         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30753         Condition macro definition on [__USE_MISC].
30755         [BZ #17781]
30756         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30757         (struct sigaction): Change type of sa_flags field to int.
30759         [BZ #17780]
30760         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30761         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30762         __glibc_reserved0.
30764         * nptl/version.c (banner): Use single year in copyright notice.
30766         * NEWS: Update copyright dates.
30767         * catgets/gencat.c (print_version): Likewise.
30768         * csu/version.c (banner): Likewise.
30769         * debug/catchsegv.sh: Likewise.
30770         * debug/pcprofiledump.c (print_version): Likewise.
30771         * debug/xtrace.sh (do_version): Likewise.
30772         * elf/ldconfig.c (print_version): Likewise.
30773         * elf/ldd.bash.in: Likewise.
30774         * elf/pldd.c (print_version): Likewise.
30775         * elf/sotruss.sh: Likewise.
30776         * elf/sprof.c (print_version): Likewise.
30777         * iconv/iconv_prog.c (print_version): Likewise.
30778         * iconv/iconvconfig.c (print_version): Likewise.
30779         * locale/programs/locale.c (print_version): Likewise.
30780         * locale/programs/localedef.c (print_version): Likewise.
30781         * login/programs/pt_chown.c (print_version): Likewise.
30782         * malloc/memusage.sh (do_version): Likewise.
30783         * malloc/memusagestat.c (print_version): Likewise.
30784         * malloc/mtrace.pl: Likewise.
30785         * manual/libc.texinfo: Likewise.
30786         * nptl/version.c (banner): Likewise.
30787         * nscd/nscd.c (print_version): Likewise.
30788         * nss/getent.c (print_version): Likewise.
30789         * nss/makedb.c (print_version): Likewise.
30790         * posix/getconf.c (main): Likewise.
30791         * scripts/test-installation.pl: Likewise.
30792         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30794 2015-01-02  Will Newton  <will.newton@linaro.org>
30796         * sysdeps/arm/armv7/configure: Removed.
30797         * sysdeps/arm/armv7/configure.ac: Likewise.
30799 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30801         * All files with FSF copyright notices: Update copyright dates
30802         using scripts/update-copyrights.
30803         * intl/plural.c: Regenerated.
30804         * locale/programs/charmap-kw.h: Likewise.
30805         * locale/programs/locfile-kw.h: Likewise.
30807 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30809         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30811 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30813         [BZ #17748]
30814         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30815         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30816         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30817         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30818         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30819         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30820         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30821         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30822         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30823         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30824         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30825         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30826         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30827         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30828         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30829         libm_hidden_def.
30830         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30831         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30832         Likewise.
30833         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30834         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30835         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30836         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30837         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30838         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30839         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30840         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30841         __fegetenv instead of fegetenv.
30842         (libc_feholdsetround_noex_ctx): Likewise.
30844 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30846         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30847         (Elf_MIPS_ABIFlags_v0): New structure.
30848         (EF_MIPS_FP64): Define.
30849         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30850         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30851         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30852         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30853         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30854         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30855         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30856         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30857         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30858         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30859         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30860         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30861         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30862         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30863         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30864         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30865         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30866         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30867         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30868         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30869         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30870         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30871         field.
30872         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30873         EF_MIPS_FP64.
30874         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30875         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30876         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30877         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30878         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30879         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30880         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30881         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30882         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30883         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30884         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30885         record the current FP ABI extension.
30886         (mips-mode-switch): Define to show if kernel headers support mode
30887         switching.
30888         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30889         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30890         supported SYSV ABI version to 3.
30891         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30892         feature.
30894 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30895             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30897         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30898         path.
30899         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30901 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30903         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30904         __fegetround and redefine to call __fegetround.  Remove condition
30905         on [!__NO_MATH_INLINES].
30906         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30907         function.
30908         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30909         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30910         Remove macro.
30911         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30912         instead of <fenv_libc.h>.
30913         (__llrintl): Call fegetround instead of __fegetround.
30914         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30915         instead of <fenv_libc.h>.
30916         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30917         (__lrintl): Call fegetround instead of __fegetround.
30918         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30919         instead of <fenv_libc.h>.
30920         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30921         (__rintl): Call fegetround instead of __fegetround.
30923 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30925         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30926         arrays.
30928 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30930         [BZ #17775]
30931         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30932         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30933         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30935 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30937         * sysdeps/i386/tls-macros.h: Include <features.h>.
30938         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30939         (TLS_IE): Likewise.
30940         (TLS_LD): Likewise.
30941         (TLS_GD): Likewise.
30942         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30943         define for GCC >= 5.0.
30945 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30947         * math/test-fenv.c (test_single_exception, set_single_exc,
30948         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30949         feexcp_mask_test, feenable_test, fe_single_test): Add
30950         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30951         case where they are not used.
30952         * math/libm-test.inc: Likewise.
30953         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30954         unused in the absence of FP rounding/exception support.
30955         * stdio-common/tst-printf-round.c: Likewise.
30956         * stdlib/tst-strtod-round.c: Likewise.
30957         * stdlib/tst-strtod-underflow.c: Likewise.
30959 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30961         [BZ #17723]
30962         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30963         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30964         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30965         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30966         libm_hidden_weak.
30967         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30968         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30969         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30970         libm_hidden_def.
30971         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30972         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30973         libm_hidden_weak.
30974         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30975         Likewise.
30976         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30977         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30978         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30979         libm_hidden_weak.
30980         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30981         libm_hidden_def.
30982         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30983         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30984         (__feraiseexcept): Likewise.
30985         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30986         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30987         libm_hidden_weak.
30988         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30989         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30990         libm_hidden_def.
30991         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30992         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30993         Use libm_hidden_def.
30994         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30995         libm_hidden_def.
30996         (feraiseexcept): Define as weak not strong alias.  Use
30997         libm_hidden_weak.
30998         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30999         New inline function.  Factored out of ...
31000         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31001         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31002         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31003         feraiseexcept.
31004         * math/w_acos.c (__acos): Likewise.
31005         * math/w_asin.c (__asin): Likewise.
31006         * math/w_ilogb.c (__ilogb): Likewise.
31007         * math/w_j0.c (y0): Likewise.
31008         * math/w_j1.c (y1): Likewise.
31009         * math/w_jn.c (yn): Likewise.
31010         * math/w_log.c (__log): Likewise.
31011         * math/w_log10.c (__log10): Likewise.
31012         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31013         * sysdeps/aarch64/fpu/math_private.h
31014         (libc_feupdateenv_test_aarch64): Likewise.
31015         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31016         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31017         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31018         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31019         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31020         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31021         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31022         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31023         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31024         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31026 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31028         [BZ #17732]
31029         * io/test-utime.c (main): Replace %ld with %jd and cast to
31030         intmax_t.
31031         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31032         * nptl/tst-mutex5.c: Include <stdint.h>.
31033         (do_test): Replace %ld with %jd and cast to intmax_t.
31034         * posix/tst-regex.c (run_test): Likewise.
31035         (run_test_backwards): Likewise.
31036         * rt/tst-clock.c: Include <stdint.h>.
31037         (clock_test): Replace %ld with %jd and cast to intmax_t.
31038         * rt/tst-cpuclock1.c: Include <stdint.h>.
31039         (do_test): Replace %lu with %ju and cast to uintmax_t.
31040         * rt/tst-cpuclock2.c: Include <stdint.h>.
31041         (do_test): Replace %lu with %ju and cast to uintmax_t.
31042         * rt/tst-mqueue1.c: Include <stdint.h>.
31043         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31044         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31045         intmax_t.
31046         * rt/tst-mqueue4.c (do_test): Likewise.
31047         * rt/tst-timer4.c: Include <stdint.h>.
31048         (check_ts): Replace %ld with %jd and cast to intmax_t.
31049         (do_test): Likewise.
31050         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31051         and cast to intmax_t.
31052         * sysdeps/pthread/tst-timer.c (main): Likewise.
31053         * time/clocktest.c (main): Likewise.
31054         * time/tst-posixtz.c (do_test): Likewise.
31055         * timezone/tst-timezone.c (main): Likewise.
31057 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31058             H.J. Lu  <hongjiu.lu@intel.com>
31060         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31061         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31062         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31063         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31064         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31065         version if bit_Fast_Unaligned_Load is set.
31066         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31067         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31068         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31069         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31070         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31071         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31072         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31073         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31074         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31075         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31076         to 4.
31077         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31078         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31079         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31080         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31082 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31084         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31085         instead of #if to avoid a Wundef warning.
31086         * stdlib/tst-limits.c (do_test): Likewise.
31088         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31089         parallel other exception macros.
31090         (fegetenv): Convert from macro to extern inline so that it applies
31091         retroactively to inline functions already seen by the compiler.
31092         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31094         * posix/Makefile (before-compile): Use $(objpfx) for
31095         posix-conf-vars-def.h.
31097 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31099         * posix/getconf.c (main): Use size_t for type of I.
31100         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31101         NSPEC.
31103         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31104         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31105         * posix/posix-envs.def: Likewise.
31106         * sysdeps/posix/sysconf.c: Likewise.
31107         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31108         (specs): Remove array.
31109         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31110         array.
31112         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31113         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31114         (__sysconf): Use CONF_IS_* macros.
31116         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31117         ($(objpfx)posix-conf-vars-def.h): New target.
31118         * posix/posix-conf-vars.list: New file.
31119         * posix/posix-conf-vars.h: New file.
31120         * posix/confstr.c: Include posix-conf-vars.h.
31121         (confstr): Use CONF_IS_* macros.
31122         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31123         CONF_IS_* macros.
31124         * scripts/gen-posix-conf-vars.awk: New file.
31126 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31128         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31129         fegetround): Add no-op macros to avoid linknamespace issues.
31131         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31132         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31134         * sysdeps/unix/sysv/linux/tile/sysdep.h
31135         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31136         assembly-specific section to avoid a redefinition warning.
31138         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31139         long before casting to pointer to avoid a cast warning.
31141 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31143         * sysdeps/tile/tilegx/Implies: New file.
31145 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31147         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31149 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31151         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31153 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31156         not define.
31157         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31158         <kernel-features.h>.
31159         (__utimes) [__NR_utimes]: Make code unconditional.
31160         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31161         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31162         (__ASSUME_UTIMES): Do not undefine.
31163         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31164         (__ASSUME_UTIMES): Likewise.
31165         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31166         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31167         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31168         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31170 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31172         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31174 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31176         [BZ #17747]
31177         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31178         alias to weak alias for j0l, y0l.
31179         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31180         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31182         [BZ #17746]
31183         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31184         conversion.
31186 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31188         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31189         to zero if not already defined.
31191 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31193         [BZ #17724]
31194         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31195         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31196         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31197         (char *) casts added.
31198         * sysdeps/ieee754/k_standardf.c: New file.
31199         * sysdeps/ieee754/k_standardl.c: Likewise.
31200         * math/Makefile (libm-support): Remove k_standard.
31201         (libm-calls): Add k_standard.
31203 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31205         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31206         Optimize to avoid an unnecessary FPCR read.
31208 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31210         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31211         Optimize to reduce FPCR/FPSR accesses.
31213 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31215         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31216         Call libc_fetestexcept_aarch64.
31218 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31220         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31221         Call libc_fesetround_aarch64.
31223 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31225         [BZ #17733]
31226         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31227         (__bind): Do not define as weak alias.
31228         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31229         define.
31230         (__getsockname): Do not define as weak alias.
31232 2014-12-22  Will Newton  <will.newton@linaro.org>
31234         * manual/install.texi: Document that we require bison 2.7
31235         or above.
31236         * INSTALL: Regenerate.
31237         * configure.ac: Use AC_CHECK_PROG_VER instead of
31238         AC_PATH_PROG when checking for bison and check for
31239         version 2.7 or above.
31240         * configure: Regenerate.
31242 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31244         [BZ #17745]
31245         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31246         * sysdeps/tile/ffsll.c (ffsll): To here.
31248         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31250 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31252         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31253         if not defined.
31254         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31255         definition.
31256         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31257         hidden ___tls_get_addr.
31258         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31259         hidden __tls_get_addr.
31260         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31261         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31262         Likewise.
31264 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31266         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31267         _dl_init call.
31269 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31271         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31272         from "call _dl_init@PLT".
31273         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31275 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31277         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31278         guarantees.
31280 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31282         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31284 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31286         [BZ #17744]
31287         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31288         strnlen.
31290 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31292         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31293         of multu on MIPSr6.
31294         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31295         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31296         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31297         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31298         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31300 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31302         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31303         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31304         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31305         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31306         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31307         mips32r6/mips64r6.
31308         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31310 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31312         * string/strncat.c (STRNCAT): Simplify implementation.
31314 2014-12-19  David S. Miller  <davem@davemloft.net>
31316         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31317         access the quad as both a long double and as a series of 4 words.
31319         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31320         link_map->l_info array access.
31322 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31324         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31326         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31327         * math/atest-exp2.c (TIMEOUT): Likewise.
31328         * math/atest-sincos.c (TIMEOUT): Likewise.
31330 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31332         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31333         -Wno-error with -fno-builtin-lround.
31335 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31337         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31338         Contains futex constants and functions moved over from ...
31339         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31340         <lowlevellock-futex.h>.
31341         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31342         (lll_timedwait_tid): Add comments and parentheses around macro
31343         arguments.
31345 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31347         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31348         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31349         (__lll_private_flag): Remove.
31350         (lll_futex_wait): Likewise.
31351         (lll_futex_timed_wait): Likewise.
31352         (lll_futex_wake): Likewise.
31353         (lll_futex_requeue): Likewise.
31354         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31355         (__lll_timedwait_tid): Spell out argument names.
31356         (lll_timedwait_tid): Add comments and parentheses around macro
31357         arguments.
31358         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31359         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31361 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31363         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31364         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31365         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31366         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31367         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31368         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31369         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31370         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31371         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31376         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31377         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31378         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31379         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31380         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31381         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31383 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31385         * sysdeps/x86_64/x32/Makefile: New file.
31387 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31389         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31390         1L with (mp_limb_t) 1.
31392 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31394         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31395         * nptl/libc_pthread_init.c: ... here.
31396         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31397         * nptl/register-atfork.c: ... here.
31399         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31400         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31401         Use assert_perror to check its return value.
31402         (__gai_create_helper_thread): Likewise.
31404         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31406         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31408 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31410         [BZ #17725]
31411         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31412         __profil_counter.
31413         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31414         Likewise.
31415         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31416         Likewise.
31417         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31418         Likewise.
31419         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31420         (profil_counter): Likewise.
31421         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31422         (profil_counter): Likewise.
31423         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31424         Likewise.
31425         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31426         Likewise.
31427         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31428         (profil_counter): Likewise.
31429         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31430         Likewise.
31431         [!__profil_counter] (profil_counter): Define as weak alias of
31432         __profil_counter.
31433         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31434         (profil_counter): Rename to __profil_counter.
31435         [!__profil_counter] (profil_counter): Define as weak alias of
31436         __profil_counter.
31437         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31438         (profil_counter): Rename to __profil_counter.
31439         [!__profil_counter] (profil_counter): Define as weak alias of
31440         __profil_counter.
31441         * sysdeps/posix/profil.c: Update comment referring to
31442         profil_counter.
31443         (__profil): Use __profil_counter instead of profil_counter.
31444         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31445         __profil_counter.  Use __profil_counter_ushort and
31446         __profil_counter_uint in definitions.
31447         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31448         instead of profil_counter_uint and profil_counter_ushort.
31450         [BZ #17722]
31451         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31452         define as weak alias of __inet_makeaddr.
31453         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31454         as weak alias of __inet_addr.
31455         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31456         as weak alias of __inet_pton.  Use libc_hidden_weak.
31457         * include/arpa/inet.h (__inet_pton): Declare.  Use
31458         libc_hidden_proto.
31459         (inet_makeaddr): Don't use libc_hidden_proto.
31460         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31461         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31462         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31463         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31464         Remove variable.
31465         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31466         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31468 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31470         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31472 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31474         * stdio-common/bug-vfprintf-nargs.c (do_test):
31475         Cast value to intptr_t to avoid format warning
31476         for usage with PRIdPTR printing macro.
31478 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31480         * libio/tst-widetext.c (do_test):
31481         Use format type %td instead of %Zd for ptrdiff_t
31482         in order to avoid format warning.
31484 2014-12-17  Andreas Schwab  <schwab@suse.de>
31486         * nscd/mem.c (gc): Add size_t cast to match printf format.
31488 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31490         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31491         (init): Apply PTR_MANGLE to pointers before storing them.
31492         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31493         before using them.
31495 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31497         [BZ #17719]
31498         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31499         define as weak alias of __memrchr.
31500         (__memrchr): Do not define as strong alias of memrchr.
31501         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31502         Remove variable.
31503         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31504         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31505         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31507         [BZ #17717]
31508         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31509         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31510         (if_indextoname): Rename to __if_indextoname and define as weak
31511         alias of __if_indextoname.  Use libc_hidden_weak.
31512         (if_freenameindex): Rename to __if_freenameindex and define as
31513         weak alias of __if_freenameindex.
31514         (if_nameindex): Rename to __if_nameindex and define as weak alias
31515         of __if_nameindex.
31516         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31517         __if_nametoindex and define as weak alias of __if_nametoindex.
31518         Use libc_hidden_weak.
31519         (if_freenameindex): Rename to __if_freenameindex and define as
31520         weak alias of __if_freenameindex.
31521         (if_nameindex): Rename to __if_nameindex and define as weak alias
31522         of __if_nameindex.
31523         (if_indextoname): Rename to __if_indextoname and define as weak
31524         alias of __if_indextoname.  Use libc_hidden_weak.
31525         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31526         __if_nametoindex and define as weak alias of __if_nametoindex.
31527         Use libc_hidden_weak.
31528         (if_freenameindex): Rename to __if_freenameindex and define as
31529         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31530         (if_nameindex_netlink): Use __if_freenameindex instead of
31531         if_freenameindex.
31532         (if_nameindex): Rename to __if_nameindex and define as weak alias
31533         of __if_nameindex.  Use libc_hidden_weak.
31534         (if_indextoname): Rename to __if_indextoname and define as weak
31535         alias of __if_indextoname.  Use libc_hidden_weak.
31536         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31537         libc_hidden_proto.
31538         [!_ISOMAC] (__if_freenameindex): Likewise.
31539         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31540         if_nametoindex.
31541         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31542         variable.
31543         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31544         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31545         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31546         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31547         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31548         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31549         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31551         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31552         Remove variable.
31553         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31554         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31556 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31558         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31559         subscript above bounds'
31561         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31562         bounds.
31564 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31566         * libio/tst-fopenloc.c: Use test-skeleton.c.
31568         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31569         (entry): Rename to ITEM.
31570         (do_test, comp): Adjust.
31572         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31574 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31576         * string/tester.c: Include <libc-internal.h>.
31577         (test_memset): Ignore -Wmemset-transposed-args.
31579 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31581         * misc/tst-mntent2.c (do_test): Fix warning.
31583 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31585         * elf/tst-unique4lib.cc(a): Mark as used.
31587 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31589         [BZ #17630]
31590         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31591         names.
31593 2014-12-16  Allan McRae  <allan@archlinux.org>
31595         * stdio-common/Makefile (tests): Re-add bug26.
31597 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31599         [BZ #17657]
31600         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31601         static array.
31603 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31605         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31606         (__lll_lock_wait): Likewise.
31607         (__lll_timedlock_wait): Likewise.
31608         (__lll_timedwait_tid): Likewise.
31609         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31610         (__lll_robust_timedlock_wait): Likewise.
31611         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31612         (lll_cond_trylock): Likewise.
31613         (__lll_lock): Likewise.
31614         (__lll_robust_lock): Likewise.
31615         (__lll_cond_lock): Likewise.
31616         (lll_robust_cond_lock): Likewise.
31617         (__lll_timedlock): Likewise.
31618         (__lll_robust_timedlock): Likewise.
31619         (__lll_unlock): Likewise.
31620         (__lll_robust_unlock): Likewise.
31621         (lll_wait_tid): Likewise.
31622         (lll_timedwait_tid): Likewise.
31624 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31626         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31628 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31630         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31632 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31634         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31635         * stdio-common/tst-sprintf.c: Likewise.
31637 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31639         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31641 2014-12-15  Jeff Law  <law@redhat.com>
31643         [BZ #16617]
31644         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31645         on the heap.  (CVE-2012-3406)
31646         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31647         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31648         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31650 2014-12-15  Will Newton  <will.newton@linaro.org>
31652         * manual/install.texi: Bump required version of texinfo
31653         to 4.7 from 4.5.
31654         * INSTALL: Regenerated.
31655         * configure.ac: Check for makeinfo version 4.7 and above.
31656         * configure: Regenerated.
31658 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31660         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31661         PREFIX, string constant to insert between directory and name.
31662         * sysdeps/posix/shm_open.c: Update caller.
31663         * sysdeps/posix/shm_unlink.c: Likewise.
31664         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31665         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31666         (SEM_SHM_PREFIX): New macro.
31667         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31668         [$(have-thread-library) = no].
31669         * nptl/Makefile (libpthread-routines): Add shm-directory.
31670         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31671         * sysdeps/nptl/shm-directory.h: New file.
31672         * sysdeps/posix/shm-directory.c
31673         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31674         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31675         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31676         INTERNAL_SYSCALL.
31677         (__where_is_shmfs): Function removed.
31678         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31679         Variables removed.
31680         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31681         Use SHM_GET_NAME.
31682         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31684         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31685         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31686         unconditional for use inside libpthread.
31687         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31689 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31691         * nptl/pthread_getaffinity.c: New file.
31692         * nptl/pthread_setaffinity.c: New file.
31693         * nptl/pthread_getname.c: New file.
31694         * nptl/pthread_setname.c: New file.
31696         * nptl/pthread_create.c (START_THREAD_DEFN)
31697         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31699 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31700             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31702         * resolv/res_send.c (send_vc): Disable warning resplen may
31703         be used uninitialized.
31705 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31707         * nptl/tst-mutex6.c
31708         (ATTR_NULL): New define checks ATTR against NULL.
31709         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31710         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31712 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31714         [BZ #17581]
31715         * malloc/hooks.c
31716         (mem2mem_check): Revert my previous change.
31717         (malloc_check_get_size): Revert my previous change.
31718         (mem2chunk_check): Revert my previous change.
31720 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31722         * sysdeps/posix/shm-directory.c: New file.
31723         * sysdeps/posix/shm-directory.h: New file.
31724         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31725         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31726         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31727         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31728         Transmute EPERM to EACCES.
31729         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31730         from ...
31731         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31732         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31734 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31736         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31737         pointer and cast to uintptr_t.
31738         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31739         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31740         Add cast to avoid warning.
31741         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31743 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31745         * nptl/semaphore.h: Move to ...
31746         * sysdeps/pthread/semaphore.h: ... here.
31747         * Makefile (installed-headers): Change nptl/semaphore.h to
31748         sysdeps/pthread/semaphore.h.
31750 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31752         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31753         generated error format strings.
31755         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31756         -Wformat-extra-args warnings for scanf formats.
31757         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31758         test of zero-length format (duh).
31759         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31760         corner-case scanf format test.
31761         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31762         generated fprintf format string.
31763         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31764         corner-case sprintf format tests.
31765         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31766         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31767         -Wformat-extra-args warnings throughout.
31768         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31769         (CFLAGS-scanf4.c): Likewise.
31770         (CFLAGS-scanf7.c): Likewise.
31771         (CFLAGS-tst-sprintf.c): Likewise.
31772         (CFLAGS-tst-printf.c): Likewise.
31773         (CFLAGS-tst-printfsz.c): Likewise.
31775 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31777         * include/cpio.h: New file.
31778         * include/fmtmsg.h: Likewise.
31780         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31781         corresponding format argument to size_t.
31782         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31783         arguments.
31784         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31785         corresponding format argument to size_t.
31786         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31787         arguments.
31788         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31789         corresponding format argument to size_t.
31790         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31791         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31792         (CFLAGS-tst-mbswcs2.c): Likewise.
31793         (CFLAGS-tst-mbswcs3.c): Likewise.
31794         (CFLAGS-tst-mbswcs4.c): Likewise.
31795         (CFLAGS-tst-mbswcs5.c): Likewise.
31796         (CFLAGS-tst-trans.c): Likewise.
31798 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31800         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31801         rather than assuming they won't contain any '%'s.
31803 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31805         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31806         inhibit_loop_to_libcall to avoid recursive calls.
31807         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31808         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31810 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31812         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31813         prototype.
31815 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31817         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31818         integer value instead of boolean.
31820 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31822         * malloc/malloc.c: Fix powerof2 check.
31824 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31826         * locale/programs/locfile.h (maybe_swap_uint32):
31827         Remove inline and add unused attribute.
31829 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31831         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31832         Truncating assembler expression to a .long expression.
31834 2014-12-11  Andreas Schwab  <schwab@suse.de>
31836         * elf/rtld.c (struct map_args): Constify str member.
31837         (do_preload): Constify fname argument.
31839 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31841         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31842         constants definition.
31844 2014-12-11  Andreas Schwab  <schwab@suse.de>
31846         [BZ #16657]
31847         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31848         FORCE_ELISION instead of DO_ELISION.
31849         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31850         Remove.
31851         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31852         Likewise.
31854         * iconvdata/gconv-modules: Remove duplicate entry.
31856 2014-12-11  Will Newton  <will.newton@linaro.org>
31858         Merge gettext 0.19.3 into intl/.
31860         This involves a number of cosmetic changes to comments
31861         and ANSI function definitions and prototypes throughout
31862         all the files. The gettext copyright header is used but
31863         with the date ranges taken from the glibc copy.
31865         * NEWS: Add gettext merge to 2.21.
31866         * intl/bindtextdom.c: Switch to gettext copyright.
31867         Use ANSI definitions and prototypes.
31868         Use gl_* locking primitives rather than __libc_* ones.
31869         Use __builtin_expect rather than __glibc_likely/unlikely.
31870         * intl/dcgettext.c: Switch to gettext copyright.
31871         Use ANSI definitions and prototypes.
31872         * intl/dcigettext.c: Switch to gettext copyright.
31873         Use ANSI definitions and prototypes.
31874         (INTDIV0_RAISES_SIGFPE): New define.
31875         Use gl_* locking primitives rather than __libc_* ones.
31876         Include eval-plural.h instead of plural-eval.c.
31877         Use __builtin_expect rather than __glibc_likely/unlikely.
31878         * intl/dcngettext.c: Switch to gettext copyright.
31879         Use ANSI definitions and prototypes.
31880         * intl/dgettext.c: Likewise.
31881         * intl/dngettext.c: Likewise.
31882         * intl/plural-eval.c: Renamed to...
31883         * intl/eval-plural.h: ...this.
31884         * intl/explodename.c: Switch to gettext copyright.
31885         Use ANSI definitions and prototypes.
31886         (_nl_explode_name): Use strchr instead of __rawmemchr.
31887         * intl/finddomain.c: Switch to gettext copyright.
31888         Use ANSI definitions and prototypes.
31889         Use gl_* locking primitives rather than __libc_* ones.
31890         (_nl_find_domain): Use malloc rather than alloca for
31891         allocation of temporary locale name.
31892         * intl/gettext.c: Switch to gettext copyright.
31893         Use ANSI definitions and prototypes.
31894         * intl/gettextP.h: Switch to gettext copyright.
31895         Use ANSI definitions and prototypes.
31896         Use gl_* locking primitives rather than __libc_* ones.
31897         * intl/gmo.h: Switch to gettext copyright.
31898         (struct sysdep_string): Move struct segment_pair outside of
31899         struct definition.
31900         * intl/hash-string.c: Use ANSI definitions and prototypes.
31901         * intl/hash-string.h: Switch to gettext copyright.
31902         Use ANSI definitions and prototypes.
31903         * intl/l10nflist.c: Switch to gettext copyright.
31904         Use ANSI definitions and prototypes.
31905         (_nl_normalize_codeset): Avoid integer overflow.
31906         * intl/loadinfo.h: Switch to gettext copyright.
31907         Use ANSI definitions and prototypes.
31908         (LIBINTL_DLL_EXPORTED): New define.
31909         (PATH_SEPARATOR): New define.
31910         * intl/loadmsgcat.c: Switch to gettext copyright.
31911         * intl/localealias.c: Switch to gettext copyright.
31912         Use ANSI definitions and prototypes.
31913         (_nl_expand_alias): Use PATH_SEPARATOR.
31914         * intl/ngettext.c: Switch to gettext copyright.
31915         Use ANSI definitions and prototypes.
31916         * intl/plural-exp.c: Likewise.
31917         * intl/plural-exp.h: Switch to gettext copyright.
31918         Use ANSI definitions and prototypes.
31919         (struct expression): Move definition of enum operator outside
31920         of struct definition.
31921         * intl/plural.c: Regenerate.
31922         * intl/plural.y: Switch to gettext copyright.
31923         Use ANSI definitions and prototypes.
31924         Port to bison 3.0.
31925         * intl/textdomain.c: Switch to gettext copyright.
31926         Use ANSI definitions and prototypes.
31927         Use gl_* locking primitives rather than __libc_* ones.
31929 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31931         * debug/warning-nop.c: Add used atrribute.
31933 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31935         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31937         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31938         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31939         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31941 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31942             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31944         [BZ #17634]
31945         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31946         Undefine after defining function.  Define as weak alias of
31947         __wcschr.  Use libc_hidden_weak.
31948         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31949         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31950         (libc_hidden_def): Also define __GI___wcschr alias.
31951         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31952         __wcschr and define as weak alias of __wcschr.
31953         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31954         __wcschr.
31955         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31956         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31957         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31958         libc_hidden_weak.  Do not use libc_hidden_def.
31959         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31960         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31961         __GI___wcschr alias.
31962         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31963         [IS_IN (libc)] (wcschr): Define as macro expanding to
31964         __redirect_wcschr.
31965         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31966         [IS_IN (libc)] (__wcschr_power6): Likewise.
31967         [IS_IN (libc)] (__wcschr_power7): Likewise.
31968         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31969         instead of wcschr.
31970         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31971         __libc_wcschr.
31972         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31973         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31974         __wcschr and define as weak alias of __wcschr.  Use
31975         libc_hidden_builtin_def.
31976         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31977         as weak alias of __wcschr.  Use libc_hidden_weak.
31978         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31979         wcschr.
31980         * time/era.c (_nl_init_era_entries): Likewise.
31981         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31982         variable.
31983         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31984         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31986 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31988         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31989         format for long int variable.
31991 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31993         [BZ #10672]
31994         * manual/search.texi: (Array Sort Function): Remove claim how to make
31995         qsort stable.
31997 2014-12-10  Andreas Schwab  <schwab@suse.de>
31999         [BZ #12847]
32000         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32001         user-controlled locks.
32003 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32005         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32006         register.
32008 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32010         * configure.ac (--disable-werror): New configure option.
32011         (enable_werror): New AC_SUBST.
32012         * configure: Regenerated.
32013         * config.make.in (enable-werror): New variable.
32014         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32015         -Wno-error=undef.
32016         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32017         * manual/install.texi (Configuring and compiling): Document
32018         --disable-werror.
32019         * INSTALL: Regenerated.
32020         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32021         (CFLAGS-tst-chk2.c): Likewise.
32022         (CFLAGS-tst-chk3.c): Likewise.
32023         (CFLAGS-tst-chk4.cc): Likewise.
32024         (CFLAGS-tst-chk5.cc): Likewise.
32025         (CFLAGS-tst-chk6.cc): Likewise.
32026         (CFLAGS-tst-lfschk1.c): Likewise.
32027         (CFLAGS-tst-lfschk2.c): Likewise.
32028         (CFLAGS-tst-lfschk3.c): Likewise.
32029         (CFLAGS-tst-lfschk4.cc): Likewise.
32030         (CFLAGS-tst-lfschk5.cc): Likewise.
32031         (CFLAGS-tst-lfschk6.cc): Likewise.
32033         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32034         (main): Disable -Wdeprecated-declarations around calls to
32035         register_printf_function.
32037         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32038         (do_test): Disable -Wdiv-by-zero around some calls to
32039         fwrite_unlocked and fread_unlocked.
32041         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32042         (DIAG_POP_NEEDS_COMMENT): Likewise.
32043         (_DIAG_STR1): Likewise.
32044         (_DIAG_STR): Likewise.
32045         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32046         * stdio-common/bug21.c: Include <libc-internal.h>.
32047         (do_test): Disable -Wformat around call to sscanf.
32048         * stdio-common/scanf14.c: Include <libc-internal.h>.
32049         (main): Disable -Wformat around some calls to scanf functions.
32051 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32053         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32055 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32057         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32058         stack variable alignment.
32060 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32062         [BZ #17682]
32063         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32064         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32065         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32066         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32067         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32068         __getrlimit instead of getrlimit.
32069         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32070         __gettimeofday instead of gettimeofday.
32071         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32072         Likewise.
32073         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32074         Likewise.
32075         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32076         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32077         Remove variable.
32078         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32079         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32081 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32083         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32084         for wide-character tests.
32086 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32088         * io/openat64.c: #include <libc-internal.h>
32089         (__openat64): Prototypify.  Use ignore_value on MODE.
32090         * io/openat.c: Likewise.
32091         * misc/reboot.c: #include <libc-internal.h>
32092         (reboot): Prototypify.  Use ignore_value on HOWTO.
32093         * misc/ptrace.c: #include <libc-internal.h>
32094         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32096 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32098         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32099         XPG4, UNIX98 and XOPEN2K.
32100         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32101         Remove variable.
32102         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32104 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32106         * libio/fileops.c: Use ISO C style for function definitions.
32107         * libio/iofopen.c: Likewise.
32108         * libio/wfileops.c: Likewise.
32110         [BZ #17653]
32111         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32112         offset on EOF.
32113         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32114         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32115         (fgets_func): Function pointer to fgets and fgetws.
32116         (do_ftell_test): Add test to verify ftell value after read
32117         EOF.
32118         (do_test): Set fgets_func.
32120         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32121         O_TRUNC flag for w and w+ modes.
32122         (do_rewind_test): Likewise.
32123         (do_ftell_test): Likewise.
32124         (do_write_test): Likewise.
32126         [BZ #17647]
32127         * libio/fileops.c (do_ftell): Seek only when there are
32128         unflushed writes.
32129         * libio/wfileops.c (do_ftell_wide): Likewise.
32130         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32131         test case.
32132         (do_one_test): Call it.
32134 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32136         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32137         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32138         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32139         Remove variable.
32140         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32141         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32142         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32144 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32146         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32147         Remove variable.
32148         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32150         [BZ #17668]
32151         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32152         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32153         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32154         __freeifaddrs.  Use libc_hidden_weak.
32155         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32156         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32157         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32158         __freeifaddrs.  Use libc_hidden_weak.
32159         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32160         __getifaddrs and define as weak alias of __getifaddrs.  Use
32161         libc_hidden_weak.
32162         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32163         __freeifaddrs.  Use libc_hidden_weak.
32164         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32165         Remove variable.
32166         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32167         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32169 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32171         [BZ #17601]
32172         * sysdeps/mips/start.S (__start): Use indirect jump to call
32173         __libc_start_main.
32175 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32177         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32179         * nptl/tst-mutex1.c: Include <stdbool.h>.
32180         [!ATTR] (ATTR_NULL): New macro.
32181         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32182         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32183         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32185         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32186         to char *.
32188         [BZ #17665]
32189         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32190         Change conditional to [__USE_MISC].
32192         [BZ #17664]
32193         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32194         fgets_unlocked.
32195         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32196         __fgets_unlocked.
32197         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32198         fgets_unlocked.
32199         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32200         Remove variable.
32201         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32202         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32203         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32204         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32205         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32206         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32207         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32208         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32209         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32211         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32213 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32215         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32216         Remove strpbrk objects.
32217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32218         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32220         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32221         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32222         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32224         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32225         Remove strcspn objects.
32226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32227         (__libc_ifunc_impl_list): Remove strcspn implementation.
32228         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32229         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32230         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32231         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32233         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32234         Remove strspn objetcs.
32235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32236         (__libc_ifunc_impl_list): Remove strspn implementation.
32237         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32238         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32239         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32240         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32242 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32244         [BZ #17581]
32245         * malloc/hooks.c
32246         (mem2mem_check): Add a terminator to the chain of checking blocks.
32247         (malloc_check_get_size): Use it here.
32248         (mem2chunk_check): Ditto.
32250 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32252         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32253         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32255 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32257         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32259         * nptl/nptl-init.c: Include libc-internal.h.
32260         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32262         * elf/ldconfig.c (search_dir): Expand comment.
32264 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32266         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32267         variable.
32268         (linknamespace-symlist-stdlibs-tests): Likewise.
32269         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32270         instead of $(objpfx)symlist-stdlibs.
32271         (linknamespace-libs-isoc): New variable.
32272         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32273         (linknamespace-libs-ISO): New variable.
32274         (linknamespace-libs-ISO99): Likewise.
32275         (linknamespace-libs-ISO11): Likewise.
32276         (linknamespace-libs-XPG3): Likewise.
32277         (linknamespace-libs-XPG4): Likewise.
32278         (linknamespace-libs-POSIX): Likewise.
32279         (linknamespace-libs-UNIX98): Likewise.
32280         (linknamespace-libs-XOPEN2K): Likewise.
32281         (linknamespace-libs-POSIX2008): Likewise.
32282         (linknamespace-libs-XOPEN2K8): Likewise.
32283         ($(objpfx)symlist-stdlibs): Replace by
32284         $(linknamespace-symlist-stdlibs-tests).  Use
32285         $(linknamespace-libs-$*) as set of libraries.
32286         ($(linknamespace-header-tests)): Update dependencies.  Use
32287         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32288         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32289         * conform/linknamespace.pl: Remove comment about considering
32290         definitions of symbols from irrelevant libraries.
32292 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32294         [BZ #13862]
32295         * elf/dl-tls.c: Include <atomic.h>.
32296         (oom): Remove #ifdef SHARED/#endif.
32297         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32298         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32299         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32300         big enough.
32301         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32302         * nptl/Makefile (tests): Add tst-stack4.
32303         (modules-names): Add tst-stack4mod.
32304         ($(objpfx)tst-stack4): New.
32305         (tst-stack4mod.sos): Likewise.
32306         ($(objpfx)tst-stack4.out): Likewise.
32307         ($(tst-stack4mod.sos)): Likewise.
32308         (clean): Likewise.
32309         * nptl/tst-stack4.c: New file.
32310         * nptl/tst-stack4mod.c: Likewise.
32312 2014-11-27  J. Brown  <jb999@gmx.de>
32314         * sysdeps/x86/bits/string.h: Add recent CPUs.
32316 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32318         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32319         sigblock.
32321         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32322         feof.
32324         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32325         variable.
32327 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32329         * nscd/connections.c: Include libc-internal.h because of macro
32330         usage ignore_value.
32332 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32334         * string/bits/string3.h (__warn_memset_zero_len): Don't
32335         declare for gcc newer than 5.0.
32336         (memset): Don't test for zero-length __LEN for gcc newer than
32337         5.0.
32339 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32341         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32342         size_t for %zu format.
32344         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32345         difference, not %ju.
32347 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32349         * include/libc-internal.h (ignore_value): New macro.
32350         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32351         with ignore_value.
32353         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32354         definition.
32356         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32357         pthread_cleanup_push to void *.
32359         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32360         Undefine.
32362         [BZ #16619]
32363         [BZ #16740]
32364         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32365         instead of 1L << 52.
32367         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32368         * libio/bug-rewind2.c (do_test): Likewise.
32370         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32371         * debug/test-strcpy_chk-ifunc.c: Likewise.
32372         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32373         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32374         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32375         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32376         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32377         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32378         * Rules [$(multi-arch) = no] (tests): Do not filter out
32379         $(tests-ifunc).
32380         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32381         * debug/Makefile (tests-ifunc): Remove variable.
32382         (tests): Do not add $(tests-ifunc).
32383         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32384         (tests): Do not add $(tests-ifunc).
32385         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32386         [TEST_IFUNC]: Remove conditionals.
32387         * string/test-string.h (TEST_IFUNC): Remove macro.
32388         [TEST_IFUNC]: Remove conditionals.
32390         * string/test-strchr.c [!WIDE] (L): New macro.
32391         [WIDE] (L): Likewise.
32392         (check1): Use CHAR instead of char.  Use L on string and character
32393         constants.
32395 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32397         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32398         tests.
32399         * sysdeps/powerpc/bits/atomic.h
32400         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32401         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32402         (atomic_exchange_and_add_acq): Likewise.
32403         (atomic_exchange_and_add_rel): Likewise.
32404         * sysdeps/powerpc/powerpc32/bits/atomic.h
32405         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32406         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32407         * sysdeps/powerpc/powerpc64/bits/atomic.h
32408         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32409         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32411 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32413         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32414         Change synchronization of __sched_fifo_min_prio and
32415         __sched_fifo_max_prio.
32416         * nptl/pthread_mutexattr_getprioceiling.c
32417         (pthread_mutexattr_getprioceiling): Likewise.
32418         * nptl/pthread_mutexattr_setprioceiling.c
32419         (pthread_mutexattr_setprioceiling): Likewise.
32420         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32421         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32422         Likewise.
32424 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32426         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32427         void.
32429 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32431         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32432         third argument const.
32434 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32436         fnmatch: work around GCC compiler warning bug with uninit var
32437         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32438         This works around a bug with x86-64 GCC 4.9.2 and earlier
32439         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32440         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32441         used uninitialized in this function [-Wmaybe-uninitialized]".
32443 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32445         * posix/bug-regex31.c (main): Return RES not 0.
32447 2014-11-25  Anton Blanchard <anton@samba.org>
32449         * sysdeps/powerpc/bits/atomic.h
32450         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32452 2014-11-24  Sterling Augustine  <saugustine@google.com>
32454         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32456 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32458         [BZ #17608]
32459         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32461 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32463         [BZ #17633]
32464         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32465         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32466         variable.
32467         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32468         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32470 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32472         * string/strncpy.c (strncpy): Improve performance by using memset.
32474 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32476         * string/strcpy.c (strcpy):
32477         Improve performance by using strlen and memcpy.
32479 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32481         * string/strcoll_l.c (get_next_seq): __always_inline.
32482         * string/strcoll_l.c (do_compare): __always_inline.
32484 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32486         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32487         defined.
32488         * include/mqueue.h: Likewise.
32489         * include/stdlib.h: Likewise.
32491         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32492         (get_null_defines): Adjust.
32493         * sunrpc/Makefile: Adjust comment.
32494         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32495         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32496         (CFLAGS-interp.c): Likewise.
32497         (CFLAGS-ldconfig.c): Likewise.
32498         (CPPFLAGS-.os): Likewise.
32499         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32500         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32501         * extra-modules.mk (extra-modules.mk): Likewise.
32502         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32503         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32504         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32505         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32506         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32507         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32508         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32509         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32510         * iconvdata/Makefile (CPPFLAGS): Likewise.
32511         (cpp-srcs-left): Add libof for all iconvdata routines.
32512         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32513         * include/assert.h: Likewise.
32514         * include/ctype.h: Likewise.
32515         * include/errno.h: Likewise.
32516         * include/libc-symbols.h: Likewise.
32517         * include/math.h: Likewise.
32518         * include/netdb.h: Likewise.
32519         * include/resolv.h: Likewise.
32520         * include/stdio.h: Likewise.
32521         * include/stdlib.h: Likewise.
32522         * include/string.h: Likewise.
32523         * include/sys/stat.h: Likewise.
32524         * include/wctype.h: Likewise.
32525         * intl/l10nflist.c: Likewise.
32526         * libidn/idn-stub.c: Likewise.
32527         * libio/libioP.h: Likewise.
32528         * nptl/libc_multiple_threads.c: Likewise.
32529         * nptl/pthreadP.h: Likewise.
32530         * posix/regex_internal.h: Likewise.
32531         * resolv/res_hconf.c: Likewise.
32532         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32533         * sysdeps/arm/memmove.S: Likewise.
32534         * sysdeps/arm/sysdep.h: Likewise.
32535         * sysdeps/generic/_itoa.h: Likewise.
32536         * sysdeps/generic/symbol-hacks.h: Likewise.
32537         * sysdeps/gnu/errlist.awk: Likewise.
32538         * sysdeps/gnu/errlist.c: Likewise.
32539         * sysdeps/i386/i586/memcpy.S: Likewise.
32540         * sysdeps/i386/i586/memset.S: Likewise.
32541         * sysdeps/i386/i686/memcpy.S: Likewise.
32542         * sysdeps/i386/i686/memmove.S: Likewise.
32543         * sysdeps/i386/i686/mempcpy.S: Likewise.
32544         * sysdeps/i386/i686/memset.S: Likewise.
32545         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32546         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32547         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32548         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32549         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32550         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32551         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32561         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32562         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32563         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32564         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32565         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32566         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32567         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32568         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32569         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32570         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32571         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32572         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32573         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32574         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32575         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32576         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32578         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32579         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32580         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32581         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32582         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32583         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32584         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32585         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32586         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32587         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32588         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32589         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32590         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32591         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32592         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32593         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32594         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32595         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32596         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32597         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32598         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32599         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32600         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32601         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32602         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32603         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32604         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32605         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32606         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32607         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32608         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32609         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32610         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32611         * sysdeps/posix/closedir.c: Likewise.
32612         * sysdeps/posix/opendir.c: Likewise.
32613         * sysdeps/posix/readdir.c: Likewise.
32614         * sysdeps/posix/rewinddir.c: Likewise.
32615         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32616         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32617         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32618         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32619         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32620         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32621         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32625         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32626         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32627         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32628         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32629         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32631         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32632         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32633         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32637         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32643         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32650         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32651         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32652         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32653         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32654         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32655         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32656         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32657         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32658         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32659         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32660         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32661         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32662         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32663         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32664         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32665         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32666         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32669         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32672         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32673         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32674         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32675         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32676         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32677         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32678         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32679         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32680         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32681         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32682         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32683         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32684         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32685         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32686         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32687         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32688         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32689         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32690         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32691         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32692         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32693         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32694         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32695         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32696         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32697         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32699         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32700         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32701         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32702         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32703         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32704         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32705         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32706         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32707         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32711         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32712         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32713         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32714         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32715         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32716         * sysdeps/unix/alpha/sysdep.S: Likewise.
32717         * sysdeps/unix/alpha/sysdep.h: Likewise.
32718         * sysdeps/unix/make-syscalls.sh: Likewise.
32719         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32721         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32722         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32723         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32724         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32725         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32726         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32727         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32728         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32729         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32730         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32731         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32732         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32733         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32734         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32735         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32736         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32737         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32738         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32739         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32740         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32741         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32742         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32743         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32744         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32745         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32748         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32749         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32753         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32757         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32758         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32759         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32760         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32761         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32762         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32763         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32769         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32770         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32771         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32772         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32775         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32776         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32777         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32778         * sysdeps/x86_64/memcpy.S: Likewise.
32779         * sysdeps/x86_64/memmove.c: Likewise.
32780         * sysdeps/x86_64/memset.S: Likewise.
32781         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32782         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32783         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32784         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32785         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32786         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32787         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32788         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32789         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32790         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32791         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32793         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32794         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32795         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32796         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32797         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32798         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32799         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32800         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32801         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32802         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32803         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32804         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32805         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32806         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32807         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32808         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32809         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32810         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32811         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32812         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32813         * sysdeps/x86_64/strcmp.S: Likewise.
32815         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32817         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32818         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32819         * elf/rtld-Rules: Likewise.
32820         * elf/setup-vdso.h: Likewise.
32821         * include/assert.h: Likewise.
32822         * include/bits/stdlib-float.h: Likewise.
32823         * include/errno.h: Likewise.
32824         * include/sys/stat.h: Likewise.
32825         * include/unistd.h: Likewise.
32826         * sysdeps/aarch64/setjmp.S: Likewise.
32827         * sysdeps/alpha/setjmp.S: Likewise.
32828         * sysdeps/arm/__longjmp.S: Likewise.
32829         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32830         * sysdeps/arm/setjmp.S: Likewise.
32831         * sysdeps/arm/sysdep.h: Likewise.
32832         * sysdeps/generic/_itoa.h: Likewise.
32833         * sysdeps/generic/dl-sysdep.h: Likewise.
32834         * sysdeps/generic/ldsodefs.h: Likewise.
32835         * sysdeps/i386/dl-tls.h: Likewise.
32836         * sysdeps/i386/setjmp.S: Likewise.
32837         * sysdeps/m68k/setjmp.c: Likewise.
32838         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32839         * sysdeps/mach/hurd/opendir.c: Likewise.
32840         * sysdeps/posix/getcwd.c: Likewise.
32841         * sysdeps/posix/opendir.c: Likewise.
32842         * sysdeps/posix/profil.c: Likewise.
32843         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32844         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32845         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32846         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32847         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32848         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32849         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32850         * sysdeps/s390/dl-tls.h: Likewise.
32851         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32852         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32853         * sysdeps/sh/sh3/setjmp.S: Likewise.
32854         * sysdeps/sh/sh4/setjmp.S: Likewise.
32855         * sysdeps/unix/alpha/sysdep.h: Likewise.
32856         * sysdeps/unix/arm/sysdep.S: Likewise.
32857         * sysdeps/unix/i386/sysdep.S: Likewise.
32858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32859         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32860         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32861         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32862         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32863         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32864         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32865         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32866         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32867         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32868         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32869         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32870         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32873         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32874         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32875         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32876         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32877         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32878         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32879         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32880         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32881         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32882         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32885         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32886         * sysdeps/x86_64/setjmp.S: Likewise.
32888         * include/math.h: Use IS_IN instead of IS_IN_libm.
32889         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32890         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32891         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32892         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32893         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32894         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32895         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32896         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32897         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32898         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32899         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32900         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32901         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32902         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32903         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32904         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32905         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32906         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32907         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32908         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32909         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32910         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32911         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32912         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32913         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32914         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32915         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32916         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32917         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32918         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32919         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32920         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32921         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32923         Likewise.
32924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32925         Likewise.
32926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32927         Likewise.
32928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32929         Likewise.
32930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32931         Likewise.
32932         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32933         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32934         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32935         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32936         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32937         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32943         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32944         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32945         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32946         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32947         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32948         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32949         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32950         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32951         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32952         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32953         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32956         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32957         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32958         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32960         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32961         * nptl/pthreadP.h: Likewise.
32962         * nptl_db/structs.def: Likewise.
32963         * sysdeps/arm/sysdep.h: Likewise.
32964         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32965         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32966         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32967         * sysdeps/unix/alpha/sysdep.h: Likewise.
32968         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32970         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32971         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32972         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32973         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32974         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32975         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32976         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32977         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32978         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32979         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32980         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32981         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32984         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32985         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32986         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32987         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32988         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32989         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32990         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32991         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32992         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32993         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32995         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32996         * nptl/pthreadP.h: Likewise.
32997         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32998         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32999         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33000         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33001         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33002         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33003         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33004         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33005         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33006         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33007         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33008         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33010         Likewise.
33011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33012         Likewise.
33013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33015         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33018         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33019         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33020         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33022         * dlfcn/dladdr.c: Use IS_IN.
33023         * dlfcn/dladdr1.c: Likewise.
33024         * dlfcn/dlclose.c: Likewise.
33025         * dlfcn/dlerror.c: Likewise.
33026         * dlfcn/dlinfo.c: Likewise.
33027         * dlfcn/dlmopen.c: Likewise.
33028         * dlfcn/dlopen.c: Likewise.
33029         * dlfcn/dlsym.c: Likewise.
33030         * dlfcn/dlvsym.c: Likewise.
33032         * include/ifaddrs.h: Use IS_IN.
33033         * inet/check_pf.c: Likewise.
33034         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33035         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33037         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33038         IS_IN_ldconfig.
33039         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33040         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33042         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33043         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33044         IS_IN (libc).
33046         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33048         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33049         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33050         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33051         * include/libc-symbols.h (IS_IN_LIB): New macro.
33052         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33053         * include/netdb.h: Likewise.
33054         * include/stap-probe.h: Remove all uses of IN_LIB.
33056         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33057         instead of IN_MODULE.
33058         * include/libc-symbols.h (IN_MODULE): Define using
33059         MODULE_NAME.
33060         (PASTE_NAME, PASTE_NAME1): New macros.
33061         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33062         of IN_LIB.
33063         (STAP_PROBE_ASM): Likewise.
33065 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33067         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33068         __mach_init in dlopened libc.
33070 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33072         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33073         * sysdeps/arm/preconfigure: Regenerate.
33075 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33077         * nptl/pthread_create.c (__pthread_create_2_1): Set
33078         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33079         when copying values from IATTR into PD.
33081 2014-11-21  Will Newton  <will.newton@linaro.org>
33082             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33084         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33085         Refactor inline-asm.  Also add comment.
33087         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33088         ElfW macro instead of hardcoded Elf64 types.
33089         (la_aarch64_gnu_pltenter): Likewise.
33090         * sysdeps/aarch64/dl-machine.h
33091         (elf_machine_runtime_setup): Use ElfW(Addr).
33093         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33094         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33095         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33096         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33097         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33098         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33099         (R_AARCH64_TLS_DTPMOD): This.
33100         (R_AARCH64_TLS_DTPREL64): Rename to ...
33101         (R_AARCH64_TLS_DTPREL): This.
33102         (R_AARCH64_TLS_TPREL64): Rename to ...
33103         (R_AARCH64_TLS_TPREL): This.
33104         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33105         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33106         R_AARCH64_TLS_TPREL64.
33107         (elf_machine_rela): Likewise.
33109 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33111         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33112         by setting it to 0.  64b atomics are not supported currently.
33114 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33116         [BZ #16469]
33117         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33118         search domain names.
33120 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33122         [BZ #16469]
33123         * NEWS: Update.
33124         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33125         trailing dot.
33126         * posix/tst-getaddrinfo5.c: New.
33127         * posix/Makefile (tests): Add it.
33129 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33131         [BZ #14498]
33132         * NEWS: Fixed.
33133         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33134         after parsing line but before break_if_match.
33135         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33136         if there is a protocol mismatch.
33138 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33140         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33141         because the potential race is on the user-supplied stream.
33143 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33145         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33146         string literal if not passed a buffer.
33147         * manual/job.texi (ctermid): Update reasoning, note deviation
33148         from posix, suggest mtasurace when not passed a buffer, for
33149         future non-preliminary safety notes.
33151 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33153         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33154         of not passing it a buffer.
33155         Reported by Peng Haitao.
33157 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33159         * manual/Makefile ($(objpfx)stamp-summary): Require
33160         check-safety.sh to pass.
33161         * manual/check-safety.sh: Wish for verification that every
33162         @deftypefn and @deftypefun is followed by a @safety remark.
33164 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33166         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33168         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33169         PTHREAD_CANCEL_ASYNCHRONOUS.
33170         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33171         send SIGCANCEL.
33173         * nptl/default-sched.h: New file.
33174         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33175         * nptl/pthread_create.c: Include it.
33176         (__pthread_create_2_1): Use collect_default_sched instead of making
33177         Linux syscalls here directly.
33179 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33181         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33182         __pthread_once): Use C11 atomics.
33184 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33186         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33188 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33190         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33191         atomic_thread_fence_acquire, atomic_thread_fence_release,
33192         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33193         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33194         atomic_compare_exchange_weak_relaxed,
33195         atomic_compare_exchange_weak_acquire,
33196         atomic_compare_exchange_weak_release,
33197         atomic_exchange_acquire, atomic_exchange_release,
33198         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33199         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33200         atomic_fetch_and_acquire,
33201         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33203 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33205         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33206         USE_ATOMIC_COMPILER_BUILTINS): Define.
33207         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33209         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33211         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33213         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33215         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33217         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33219         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33221         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33223         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33225         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33227         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33229         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33231         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33233         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33235         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33237         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33239         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33240         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33241         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33242         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33243         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33245         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33246         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33248 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33250         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33251         the sched_priority value here.  It was already checked when the user
33252         called pthread_attr_setschedparam.
33254         * nptl/tst-bad-schedattr.c: New file.
33255         * nptl/Makefile (tests): Add it.
33257 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33258             Florian Weimer  <fweimer@redhat.com>
33259             Joseph Myers  <joseph@codesourcery.com>
33260             Adam Conrad  <adconrad@0c3.net>
33261             Andreas Schwab  <schwab@suse.de>
33262             Brooks  <bmoses@google.com>
33264         [BZ #17625]
33265         * wordexp-test.c (__dso_handle): Add prototype.
33266         (__register_atfork): Likewise.
33267         (__app_register_atfork): New function.
33268         (registered_forks): New global.
33269         (register_fork): New function.
33270         (test_case): Add 3 new tests for WRDE_CMDSUB.
33271         (main): Call __app_register_atfork.
33272         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33273         fork count is non-zero fail the test.
33274         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33275         is set.
33276         (parse_dollars): Remove check for WRDE_NOCMD.
33277         (parse_dquote): Likewise.
33279 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33281         * Makeconfig (built-modules): List non-library modules to be
33282         built.
33283         (module-cppflags): Include libc-modules.h for
33284         everything except shlib-versions.v.i.
33285         (CPPFLAGS): Use it.
33286         (before-compile): Add libc-modules.h.
33287         ($(common-objpfx)libc-modules.h,
33288         $(common-objpfx)libc-modules.stmp): New targets.
33289         (common-generated): Add libc-modules.h and libc-modules.stmp.
33290         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33291         * include/libc-symbols.h: Don't include libc-modules.h.
33292         * include/libc-modules.h: Remove file.
33293         * scripts/gen-libc-modules.awk: New script to generate
33294         libc-modules.h.
33295         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33296         Depend on libc-modules.stmp.
33298         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33300         * Makeconfig (in-module): Get value of libof set for the
33301         translation unit.
33302         (CPPFLAGS): Use $(in-module).
33303         * Makerules: Don't suffix routine names for nonlib.
33304         * include/libc-modules.h: New file.
33305         * include/libc-symbols.h: Include libc-modules.h
33306         (IS_IN): New macro to replace IS_IN_* macros.
33307         * elf/Makefile: Set libof-* for each routine.
33308         * elf/rtld-Rules: Likewise.
33309         * extra-modules.mk: Likewise.
33310         * iconv/Makefile: Likewise.
33311         * iconvdata/Makefile: Likewise.
33312         * locale/Makefile: Likewise.
33313         * malloc/Makefile: Likewise.
33314         * nss/Makefile: Likewise.
33315         * sysdeps/gnu/Makefile: Likewise.
33316         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33317         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33318         * sysdeps/s390/s390-64/Makefile: Likewise.
33319         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33320         CPPFLAGS for nscd instead of nonlib.
33322 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33324         * nptl/createthread.c: New file.
33326         * nptl/createthread.c: Moved ...
33327         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33329         * nptl/createthread.c: Add proper top-line comment.
33330         (do_clone): Folded into ...
33331         (create_thread): ... here.  Take new arguments STOPPED_START and
33332         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33333         increment __nptl_threads, do event-reporting logic, do
33334         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33335         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33336         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33337         just send SIGCANCEL.
33338         * nptl/pthread_create.c: Forward-declare create_thread before
33339         including createthread.c.
33340         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33341         declaration, and new macro START_THREAD_SELF to replace argument.
33342         Remove return statement.
33343         (report_thread_creation): New function.
33344         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33345         synchronization logic, and __nptl_nthreads increment here, around
33346         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33347         PD->parent_cancelhandling here, before create_thread.  When
33348         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33349         __deallocate_stack, and ENOMEM translation here.
33351 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33353         [BZ #17616]
33354         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33355         (mptwo): Rename to __mptwo.
33356         (__inv): Use __mptwo instead of mptwo.
33357         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33358         (mptwo): Rename to __mptwo.
33359         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33360         of mpone and __mptwo instead of mptwo.
33361         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33362         instead of mpone.
33363         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33364         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33365         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33366         of mpone and __mptwo instead of mptwo.
33367         (__mpranred): Use __mpone instead of mpone.
33368         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33369         variable.
33370         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33371         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33372         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33373         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33374         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33375         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33376         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33377         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33378         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33379         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33380         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33381         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33382         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33383         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33384         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33385         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33386         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33387         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33388         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33390 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33392         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33393         replace BSD Handler xref with BSD Signal Handling.
33395 2014-11-17  Richard Henderson  <rth@redhat.com>
33397         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33398         (_FP_PACK_RAW_2): Remove.
33399         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33400         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33401         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33402         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33403         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33404         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33405         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33406         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33407         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33408         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33409         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33410         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33411         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33412         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33413         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33414         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33416 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33418         * signal/signal.h [__USE_MISC]
33419         (struct sigvec): Remove type.
33420         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33421         (sigvec): Remove declaration.
33422         * sysdeps/posix/sigvec.c: Moved ...
33423         * signal/sigvec.c: ... here, replacing old file.
33424         (struct sigvec): New type, copied from old signal.h definition.
33425         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33426         (__sigvec): Convert definition to prototype.
33427         (sigvec): Replace weak_alias with compat_symbol.
33428         * signal/Versions (libc: GLIBC_2.21): New version set.
33429         * include/signal.h: Remove __sigvec declaration.
33430         * sysdeps/unix/bsd/sigvec.c: Remove file.
33431         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33432         * manual/signal.texi (BSD Handler): Remove subsection.
33433         Move siginterrupt up to ...
33434         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33435         (Blocking in BSD): Fold subsection into its parent.
33436         * NEWS: Mention sigvec removal.
33438 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33440         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33441         (DLA_FMS): Make definition conditional only on [__FMA4__].
33442         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33443         definition.
33445         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33446         Make definition conditional only on [PROF].
33447         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33448         definition.
33449         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33450         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33452         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33453         !__GNUC__].
33454         * include/signal.h (__sigpause): Move declaration above call to
33455         libc_hidden_proto.
33456         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33457         variable.
33458         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33459         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33461 2014-11-14  David S. Miller  <davem@davemloft.net>
33463         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33464         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33466 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33468         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33469         * configure: Regenerated.
33470         * manual/install.texi (Tools for Compilation): Document a
33471         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33472         compiler verified to work.
33473         * INSTALL: Regenerated.
33475         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33476         redeclare with asm name.
33477         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33478         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33479         including <string.h>.
33480         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33481         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33482         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33483         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33484         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33485         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33486         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33488 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33490         * stdlib/strtol.c (__strtol): Use prototype definition.
33492         [BZ #17594]
33493         * stdlib/strtol.c (SYM__): New macro.
33494         (SYM__1): Likewise.
33495         (__strtol): Likewise.
33496         (strtol): Rename to __strtol and define as weak alias of
33497         __strtol.  Use libc_hidden_weak.
33499 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33501         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33502         Use numbered labels in inline assembly.
33504 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33506         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33507         Add setjmp LIBC_PROBE.
33508         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33509         Likewise.
33510         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33511         Add longjmp, longjmp_target LIBC_PROBE.
33512         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33513         Likewise.
33515 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33517         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33518         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33519         to get rid of unused variable warning.
33521 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33523         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33524         Check for unwind_backtrace ==  NULL only in SHARED case.
33525         (__backchain_backtrace): Compile only in SHARED case.
33526         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33527         Likewise.
33528         (__backchain_backtrace): Declare as static.
33530 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33532         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33533         (__libc_multiple_threads_ptr): Variable moved ...
33534         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33536 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33538         * conform/GlibcConform.pm: New file.
33539         * conform/conformtest.pl: Use GlibcConform module.
33540         * conform/linknamespace.pl: New file.
33541         * conform/list-header-symbols.pl: Likewise.
33542         * conform/Makefile (linknamespace-symlists-base): New variable.
33543         (linknamespace-symlists-tests): Likewise.
33544         (linknamespace-header-base): Likewise.
33545         (linknamespace-header-tests): Likewise.
33546         (tests-special): Add new tests.
33547         ($(linknamespace-symlists-tests)): New rule.
33548         (linknamespace-libs): New variable.
33549         ($(objpfx)symlist-stdlibs): New rule.
33550         ($(linknamespace-header-tests)): Likewise.
33551         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33552         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33553         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33554         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33555         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33556         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33557         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33558         (test-xfail-ISO/math.h/linknamespace): Likewise.
33559         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33560         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33561         (test-xfail-ISO/time.h/linknamespace): Likewise.
33562         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33563         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33564         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33565         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33566         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33567         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33568         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33569         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33570         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33571         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33572         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33573         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33574         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33575         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33576         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33577         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33578         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33579         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33580         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33581         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33582         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33583         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33584         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33585         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33586         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33587         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33588         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33589         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33590         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33591         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33592         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33593         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33594         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33595         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33596         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33597         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33598         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33599         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33600         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33601         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33602         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33603         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33604         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33605         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33606         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33607         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33608         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33609         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33610         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33611         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33612         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33613         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33614         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33615         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33616         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33617         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33618         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33619         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33620         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33621         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33622         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33623         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33624         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33625         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33626         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33627         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33628         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33629         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33630         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33631         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33632         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33633         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33634         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33635         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33636         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33637         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33638         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33639         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33640         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33641         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33642         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33643         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33644         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33645         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33646         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33647         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33648         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33649         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33650         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33651         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33652         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33653         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33654         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33655         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33656         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33657         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33658         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33659         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33660         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33661         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33662         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33663         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33664         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33665         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33666         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33667         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33668         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33669         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33670         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33671         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33672         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33673         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33674         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33675         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33676         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33677         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33678         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33679         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33680         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33681         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33682         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33683         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33684         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33685         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33686         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33687         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33688         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33689         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33690         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33691         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33692         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33693         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33694         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33695         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33696         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33697         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33698         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33699         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33700         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33701         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33702         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33703         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33704         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33705         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33706         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33707         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33708         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33709         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33710         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33711         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33713         [BZ #17589]
33714         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33715         of fgets_unlocked.
33717         [BZ #17585]
33718         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33719         (memmem): Rename to __memmem and define as weak alias of
33720         __memmem.  Use libc_hidden_weak.
33721         (__memmem): Use libc_hidden_def.
33722         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33723         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33724         memmem.
33726         [BZ #17582]
33727         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33728         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33729         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33730         and define as weak alias of __fgets_unlocked.  Use
33731         libc_hidden_weak.
33732         (__fgets_unlocked): Use libc_hidden_def.
33733         * include/stdio.h (__fgets_unlocked): Declare.  Use
33734         libc_hidden_proto.
33735         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33736         __fgets_unlocked instead of fgets_unlocked.
33737         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33738         (GET_NPROCS_CONF_PARSER): Likewise.
33739         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33740         (GET_NPROCS_CONF_PARSER): Likewise.
33742         [BZ #17574]
33743         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33744         weak alias of __wmemset.  Use libc_hidden_weak.
33745         (__wmemset): Use libc_hidden_def.
33746         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33747         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33748         of wmemset.
33750         [BZ #17573]
33751         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33752         with asm name __mempcpy.
33753         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33755         [BZ #17572]
33756         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33757         and define as weak alias of __rawmemchr.
33758         (__rawmemchr): Do not define as strong alias of rawmemchr.
33760         [BZ #17571]
33761         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33762         alias of __qsort_r.
33763         (qsort): Call __qsort_r instead of qsort_r.
33764         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33765         (__qsort_r): Declare.  Call libc_hidden_proto.
33766         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33767         instead of qsort_r.
33768         * nscd/gai.c (__qsort_r): Define to qsort_r.
33769         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33770         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33771         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33773         [BZ #17570]
33774         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33775         define as weak alias of __malloc_info.
33777         [BZ #17584]
33778         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33779         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33780         (__rewinddir): Use libc_hidden_def.
33781         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33782         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33783         (__rewinddir): Use libc_hidden_def.
33784         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33785         weak alias of __rewinddir.  Don't use libc_hidden_def.
33786         (__rewinddir): Use libc_hidden_def.
33787         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33788         (__rewinddir): Use libc_hidden_proto.
33789         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33790         rewinddir.
33791         (__getcwd): Use __rewinddir instead of rewinddir.
33793         [BZ #17583]
33794         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33795         alias of __fileno.  Use libc_hidden_weak.
33796         (__fileno): Use libc_hidden_def.
33797         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33798         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33799         alias of __ftello.
33800         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33801         __ftello.
33802         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33803         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33804         libc_hidden_def.
33805         (fread_unlocked): Don't use libc_hidden_ver.
33806         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33807         and define as weak alias of __fread_unlocked.  Don't use
33808         libc_hidden_def.
33809         (__fread_unlocked): Use libc_hidden_def.
33810         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33811         (ftello): Don't use libc_hidden_proto.
33812         (__ftello): Declare.  Use libc_hidden_proto.
33813         (fread_unlocked): Don't use libc_hidden_proto.
33814         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33815         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33816         and __ftello instead of fileno, fread_unlocked and ftello.
33818 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33820         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33821         GOT12.
33822         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33823         Likewise.
33824         (_dl_start_user): Likewise.
33825         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33827 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33828             Siddhesh Poyarekar  <siddhesh@redhat.com>
33830         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33831         Move argv and envp down instead of moving argc up.
33832         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33834 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33836         [BZ #17506]
33837         * test-skeleton.c (main): Return successful if one of
33838         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33839         * string/tst-strcoll-overflow.c: Define expected status.
33841 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33843         [BZ #17475]
33844         * locale/iso-639.def: Define Bhili and Tulu language codes.
33846 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33848         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33850 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33852         [BZ #17555]
33853         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33855 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33857         * configure.ac: Updated check of minimal required version to
33858         2.22.
33859         * manual/install.texi (Tools for Compilation): Updated version
33860         number.
33861         * configure: Regenerated.
33862         * INSTALL: Likewise.
33864 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33866         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33867         __tls_get_addr.
33869 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33871         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33872         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33873         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33874         libc_hidden_weak.
33875         (waitpid): Define as alias of __waitpid.
33876         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33877         __waitpid.
33878         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33879         libc_hidden_weak.
33880         (waitpid): Define as alias of __waitpid.
33881         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33882         __libc_waitpid alias.
33883         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33884         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33885         Likewise.
33886         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33887         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33888         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33889         alias.
33890         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33891         __waitpid.
33892         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33893         libc_hidden_weak.
33894         (waitpid): Define as alias of __waitpid.
33896 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33898         * manual/llio.texi: Add comment that write safety has been
33899         fixed in Linux.
33901         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33902         (localplt-build-dso): Add elf/ld.so.
33903         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33904         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33905         and free for ld.so.
33906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33907         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33909         Likewise.
33910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33911         Likewise.
33912         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33913         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33914         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33915         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33916         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33917         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33918         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33919         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33920         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33921         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33922         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33924 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33926         [BZ #14132]
33927         * include/libc-symbols.h (INTUSE): Remove macro.
33928         (INTDEF): Likewise.
33929         (INTVARDEF): Likewise.
33930         (_INTVARDEF): Likewise.
33931         (INTDEF2): Likewise.
33932         (INTVARDEF2): Likewise.
33933         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33934         rtld_hidden_def instead of INTVARDEF.
33935         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33936         (_dl_starting_up_internal): Remove declaration.
33937         (_dl_starting_up): Use rtld_hidden_proto.
33938         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33939         declaration.
33940         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33941         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33942         _dl_starting_up.
33943         * elf/dl-writev.h (_dl_writev): Likewise.
33944         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33945         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33946         _dl_starting_up_internal.
33948 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33950         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33951         test-skeleton.c.
33953 2014-11-05  Will Newton  <will.newton@linaro.org>
33955         * benchtests/Makefile: (bench-malloc): Add malloc thread
33956         scalability benchmark.
33957         * benchtests/bench-malloc-threads.c: New file.
33959 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33961         * sysdeps/aarch64/strchrnul.S: New file.
33963 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33965         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33966         definition.
33967         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33968         Likewise.
33969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33970         Likewise.
33971         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33972         Likewise.
33973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33974         Likewise.
33975         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33976         Likewise.
33978 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33980         * catgets/test-gencat.c: Use test-skeleton.c.
33981         * catgets/tst-catgets.c: Likewise.
33982         * csu/tst-empty.c: Likewise.
33983         * elf/tst-audit2.c: Likewise.
33984         * elf/tst-global1.c: Likewise.
33985         * elf/tst-pathopt.c: Likewise.
33986         * elf/tst-piemod1.c: Likewise.
33987         * elf/tst-tls10.c: Likewise.
33988         * elf/tst-tls11.c: Likewise.
33989         * elf/tst-tls12.c: Likewise.
33990         * gnulib/tst-gcc.c: Likewise.
33991         * iconvdata/tst-e2big.c: Likewise.
33992         * iconvdata/tst-loading.c: Likewise.
33993         * iconv/tst-iconv1.c: Likewise.
33994         * iconv/tst-iconv2.c: Likewise.
33995         * inet/test-inet6_opt.c: Likewise.
33996         * inet/tst-gethnm.c: Likewise.
33997         * inet/tst-network.c: Likewise.
33998         * inet/tst-ntoa.c: Likewise.
33999         * intl/tst-codeset.c: Likewise.
34000         * intl/tst-gettext2.c: Likewise.
34001         * intl/tst-gettext3.c: Likewise.
34002         * intl/tst-ngettext.c: Likewise.
34003         * intl/tst-translit.c: Likewise.
34004         * io/test-stat.c: Likewise.
34005         * libio/test-fmemopen.c: Likewise.
34006         * libio/tst-freopen.c: Likewise.
34007         * libio/tst-sscanf.c: Likewise.
34008         * libio/tst-ungetwc1.c: Likewise.
34009         * libio/tst-ungetwc2.c: Likewise.
34010         * libio/tst-widetext.c: Likewise.
34011         * localedata/tst-ctype.c: Likewise.
34012         * localedata/tst-digits.c: Likewise.
34013         * localedata/tst-leaks.c: Likewise.
34014         * localedata/tst-mbswcs1.c: Likewise.
34015         * localedata/tst-mbswcs2.c: Likewise.
34016         * localedata/tst-mbswcs3.c: Likewise.
34017         * localedata/tst-mbswcs4.c: Likewise.
34018         * localedata/tst-mbswcs5.c: Likewise.
34019         * localedata/tst-setlocale.c: Likewise.
34020         * localedata/tst-trans.c: Likewise.
34021         * localedata/tst-wctype.c: Likewise.
34022         * localedata/tst-xlocale1.c: Likewise.
34023         * login/tst-grantpt.c: Likewise.
34024         * malloc/tst-calloc.c: Likewise.
34025         * malloc/tst-malloc.c: Likewise.
34026         * malloc/tst-mallocstate.c: Likewise.
34027         * malloc/tst-mcheck.c: Likewise.
34028         * malloc/tst-mtrace.c: Likewise.
34029         * malloc/tst-obstack.c: Likewise.
34030         * math/atest-exp2.c: Likewise.
34031         * math/atest-exp.c: Likewise.
34032         * math/atest-sincos.c: Likewise.
34033         * math/test-matherr.c: Likewise.
34034         * math/test-misc.c: Likewise.
34035         * math/test-powl.c: Likewise.
34036         * math/tst-definitions.c: Likewise.
34037         * misc/tst-dirname.c: Likewise.
34038         * misc/tst-efgcvt.c: Likewise.
34039         * misc/tst-fdset.c: Likewise.
34040         * misc/tst-hsearch.c: Likewise.
34041         * misc/tst-mntent2.c: Likewise.
34042         * nptl/tst-sem7.c: Likewise.
34043         * nptl/tst-sem8.c: Likewise.
34044         * nptl/tst-sem9.c: Likewise.
34045         * nss/test-netdb.c: Likewise.
34046         * posix/tst-fnmatch.c: Likewise.
34047         * posix/tst-getlogin.c: Likewise.
34048         * posix/tst-gnuglob.c: Likewise.
34049         * posix/tst-mmap.c: Likewise.
34050         * pwd/tst-getpw.c: Likewise.
34051         * resolv/tst-inet_ntop.c: Likewise.
34052         * rt/tst-timer.c: Likewise.
34053         * stdio-common/test-fseek.c: Likewise.
34054         * stdio-common/test-popen.c: Likewise.
34055         * stdio-common/test-vfprintf.c: Likewise.
34056         * stdio-common/tst-cookie.c: Likewise.
34057         * stdio-common/tst-fileno.c: Likewise.
34058         * stdio-common/tst-gets.c: Likewise.
34059         * stdio-common/tst-obprintf.c: Likewise.
34060         * stdio-common/tst-perror.c: Likewise.
34061         * stdio-common/tst-sprintf2.c: Likewise.
34062         * stdio-common/tst-sprintf3.c: Likewise.
34063         * stdio-common/tst-sprintf.c: Likewise.
34064         * stdio-common/tst-swprintf.c: Likewise.
34065         * stdio-common/tst-tmpnam.c: Likewise.
34066         * stdio-common/tst-unbputc.c: Likewise.
34067         * stdio-common/tst-wc-printf.c: Likewise.
34068         * stdlib/tst-environ.c: Likewise.
34069         * stdlib/tst-fmtmsg.c: Likewise.
34070         * stdlib/tst-limits.c: Likewise.
34071         * stdlib/tst-rand48-2.c: Likewise.
34072         * stdlib/tst-rand48.c: Likewise.
34073         * stdlib/tst-random2.c: Likewise.
34074         * stdlib/tst-random.c: Likewise.
34075         * stdlib/tst-strtol.c: Likewise.
34076         * stdlib/tst-strtoll.c: Likewise.
34077         * stdlib/tst-tls-atexit.c: Likewise.
34078         * stdlib/tst-xpg-basename.c: Likewise.
34079         * string/test-ffs.c: Likewise.
34080         * string/tst-bswap.c: Likewise.
34081         * string/tst-inlcall.c: Likewise.
34082         * string/tst-strtok.c: Likewise.
34083         * string/tst-strxfrm.c: Likewise.
34084         * sysdeps/x86_64/tst-audit10.c: Likewise.
34085         * sysdeps/x86_64/tst-audit3.c: Likewise.
34086         * sysdeps/x86_64/tst-audit4.c: Likewise.
34087         * sysdeps/x86_64/tst-audit5.c: Likewise.
34088         * time/tst-ftime_l.c: Likewise.
34089         * time/tst-getdate.c: Likewise.
34090         * time/tst-mktime3.c: Likewise.
34091         * time/tst-mktime.c: Likewise.
34092         * time/tst-posixtz.c: Likewise.
34093         * time/tst-strptime2.c: Likewise.
34094         * time/tst-strptime3.c: Likewise.
34095         * wcsmbs/tst-btowc.c: Likewise.
34096         * wcsmbs/tst-mbrtowc.c: Likewise.
34097         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34098         * wcsmbs/tst-wchar-h.c: Likewise.
34099         * wcsmbs/tst-wcpncpy.c: Likewise.
34100         * wcsmbs/tst-wcrtomb.c: Likewise.
34101         * wcsmbs/tst-wcsnlen.c: Likewise.
34102         * wcsmbs/tst-wcstof.c: Likewise.
34104 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34106         [BZ #14132]
34107         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34108         INTDEF.
34109         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34110         declaration.
34111         (_dl_mcount): Use rtld_hidden_proto.
34112         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34113         _dl_mcount.
34114         * elf/rtld.c (_rtld_global_ro): Likewise.
34116         [BZ #14132]
34117         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34118         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34119         of _dl_init_internal.
34120         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34121         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34122         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34123         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34124         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34125         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34126         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34127         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34128         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34129         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34130         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34131         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34132         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34133         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34134         * sysdeps/tile/dl-start.S (_start): Likewise.
34135         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34136         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34138         [BZ #14132]
34139         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34140         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34141         (rtld_progname): Make macro definition unconditional.
34142         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34143         INTDEF.
34144         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34145         (dl_main): Likewise.
34146         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34147         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34148         instead of _dl_argv_internal.
34149         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34150         __GI__dl_argv instead of INTUSE(_dl_argv).
34151         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34152         __GI__dl_argv instead of _dl_argv_internal.
34154         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34155         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34156         macro.
34157         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34158         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34159         New macro.
34160         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34161         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34162         macro.
34163         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34164         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34166 2014-11-04  Andreas Schwab  <schwab@suse.de>
34168         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34170 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34172         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34173         mtvsrd instruction in binary form.
34175 2014-11-03  Andreas Schwab  <schwab@suse.de>
34177         [BZ #17522]
34178         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34179         for less than MB_LEN_MAX use a local buffer of that size.
34180         * libio/tst-fputws.c: New file.
34181         * libio/Makefile (tests): Add tst-fputws.
34183 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34185         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34186         the size of the fpu_fr.fpu_dregs[] array.
34188 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34190         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34191         (__nanosleep): Do not define as alias.
34192         (nanosleep): Define as alias of __nanosleep.
34193         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34194         __libc_nanosleep name.
34196 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34198         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34199         install.texi in comment.
34201 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34203         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34204         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34205         ... add here and use lwsync or sync ...
34206         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34207         ... and add here using lwsync.
34209 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34211         * elf/dl-machine-reject-phdr.h: New file.
34212         * elf/dl-load.c: #include that.
34213         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34214         if that returned true.
34216 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34218         [BZ #17496]
34219         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34220         gen-as-const-headers chunk.  Add a big scare comment after the last
34221         safe place to touch before-compile.
34223 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34225         * manual/install.texi (Tools for Compilation): Update autoconf
34226         version requirements.
34227         * INSTALL: Regenerated.
34229         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34230         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34231         (__libc_pselect): Likewise.
34233         [BZ #14138]
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34239 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34241         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34242         correct barrier instruction.
34243         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34244         Likewise.
34245         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34246         Likewise.
34248 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34250         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34251         after defining inlines.  Instead, just use parens to defeat macro
34252         expansion of __isctype in its declaration.
34254 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34256         * include/sys/uio.h (__libc_readv): Remove declaration.
34257         (__libc_writev): Likewise.
34258         * misc/readv.c (__libc_readv): Rename to __readv.
34259         (__readv): Do not define as alias.
34260         (readv): Define as alias of __readv.
34261         * misc/writev.c (__libc_writev): Rename to __writev.
34262         (__writev): Do not define as alias.
34263         (writev): Define as alias of __writev.
34264         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34265         (__readv): Do not define as alias.
34266         (readv): Define unconditionally as alias of __readv.
34267         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34268         (__writev): Do not define as alias.
34269         (writev): Define unconditionally as alias of __writev.
34270         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34271         name.
34272         (writev): Do not define __libc_writev name.
34274 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34276         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34277         (convert_charseq): New function, broken out of ...
34278         (use_from_charmap): ... here.  Call it.
34279         (use_to_charmap): Use convert_charseq and free instead of duplicating
34280         its code with a variable-length stack struct.
34282 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34284         * include/fcntl.h (__libc_creat): Remove declaration.
34285         * io/creat.c (__libc_creat): Rename to creat.
34286         (creat): Do not define as alias.
34287         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34288         of creat instead of __libc_creat.
34289         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34290         to creat.
34291         (creat): Do not define as alias.
34292         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34293         __libc_creat.
34294         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34295         __libc_creat name.
34296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34297         Likewise.
34299 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34301         * manual/llio.texi: Add comments discussing why write() may be
34302         considered MT-unsafe on Linux.
34304 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34306         * dl-load.c (local_strdup): Remove.
34307         (expand_dynamic_string_token): Use __strdup.
34308         (decompose_rpath): Likewise.
34309         (_dl_map_object): Likewise.
34311 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34313         [BZ #14132]
34314         * sysdeps/generic/unwind-dw2-fde.c
34315         (__register_frame_info_bases_internal): Do not declare.
34316         (__register_frame_info_table_bases_internal): Likewise.
34317         (__deregister_frame_info_bases_internal): Likewise.
34318         (__register_frame_info_bases): Declare and use hidden_proto before
34319         definition.  Use hidden_def instead of INTDEF.
34320         (__register_frame_info_table_bases): Likewise.
34321         (__deregister_frame_info_bases): Likewise.
34322         (__register_frame_info): Do not use INTUSE.
34323         (__register_frame): Likewise.
34324         (__register_frame_info_table): Likewise.
34325         (__register_frame_table): Likewise.
34326         (__deregister_frame_info): Likewise.
34327         (__deregister_frame): Likewise.
34329 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34332         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34333         not undefine.
34334         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34335         Likewise.
34336         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34337         Likewise.
34339 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34341         [BZ #14138]
34342         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34343         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34344         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34345         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34346         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34347         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34348         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34349         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34350         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34351         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34352         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34353         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34354         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34355         syscall.
34356         (setfsuid): Likewise.
34357         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34358         (setfsuid): Likewise.
34359         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34360         (setfsuid): Likewise.
34361         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34362         Likewise.
34363         (setfsuid): Likewise.
34364         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34365         (setfsuid): Likewise.
34366         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34367         Likewise.
34368         (setfsuid): Likewise.
34370 2014-10-27  Andreas Schwab  <schwab@suse.de>
34372         [BZ #17501]
34373         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34374         check for Slow_SSE4_2 feature bit.
34375         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34376         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34377         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34378         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34380 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34382         * configure.ac: Validate compiler version with a empirical test of
34383         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34384         $CC -v output.
34385         * configure: Regenerated.
34387         * inet/htons.c (htons): Prototypify.
34388         * inet/htonl.c (htonl): Likewise.
34390 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34392         * string/strncat.c (strncat): Improve performance by using strlen.
34394 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34396         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34398 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34400         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34401         Call libc_fetestexcept_aarch64.
34403 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34405         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34406         Call libc_feholdexcept_aarch64.
34408 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34410         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34411         Call get_rounding_mode.
34413 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34415         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34416         Simplify logic.
34418 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34420         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34421         Simplify logic.
34423 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34425         [BZ #14138]
34426         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34427         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34428         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34429         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34430         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34431         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34432         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34433         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34434         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34435         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34436         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34437         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34438         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34439         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34440         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34441         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34442         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34443         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34444         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34445         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34446         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34447         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34448         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34449         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34450         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34451         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34452         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34453         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34454         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34455         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34456         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34457         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34458         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34459         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34460         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34461         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34462         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34463         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34464         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34465         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34466         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34467         syscall.
34468         (geteuid): Likewise.
34469         (getgid): Likewise.
34470         (getuid): Likewise.
34471         (getresgid): Likewise.
34472         (getresuid): Likewise.
34473         (getgroups): Likewise.
34474         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34475         (geteuid): Likewise.
34476         (getgid): Likewise.
34477         (getuid): Likewise.
34478         (getresgid): Likewise.
34479         (getresuid): Likewise.
34480         (getgroups): Likewise.
34481         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34482         (geteuid): Likewise.
34483         (getgid): Likewise.
34484         (getuid): Likewise.
34485         (getresgid): Likewise.
34486         (getresuid): Likewise.
34487         (getgroups): Likewise.
34488         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34489         Likewise.
34490         (geteuid): Likewise.
34491         (getgid): Likewise.
34492         (getuid): Likewise.
34493         (getresgid): Likewise.
34494         (getresuid): Likewise.
34495         (getgroups): Likewise.
34496         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34497         (geteuid): Likewise.
34498         (getgid): Likewise.
34499         (getuid): Likewise.
34500         (getresgid): Likewise.
34501         (getresuid): Likewise.
34502         (getgroups): Likewise.
34503         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34504         Likewise.
34505         (geteuid): Likewise.
34506         (getgid): Likewise.
34507         (getuid): Likewise.
34508         (getgroups): Likewise.
34510         [BZ #14138]
34511         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34512         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34513         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34514         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34515         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34516         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34517         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34518         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34519         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34520         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34521         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34522         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34523         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34524         __chown.
34525         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34526         (lchown): Likewise.
34527         (fchown): Likewise.
34528         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34529         Likewise.
34530         (lchown): Likewise.
34531         (fchown): Likewise.
34532         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34533         (lchown): Likewise.
34534         (fchown): Likewise.
34535         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34536         Likewise.
34537         (lchown): Likewise.
34538         (fchown): Likewise.
34540 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34542         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34543         Simplify logic.
34545 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34547         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34548         Cleanup logic.
34550 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34552         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34553         Remove unused include.
34555 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34557         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34558         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34559         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34560         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34562 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34563             Helge Deller <deller@gmx.de>
34565         [BZ #17508]
34566         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34567         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34568         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34570 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34572         [BZ #14132]
34573         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34574         Remove macro definition.
34575         (__ashrdi3_v_glibc20): Likewise.
34576         (__lshrdi3_v_glibc20): Likewise.
34577         (__cmpdi2_v_glibc20): Likewise.
34578         (__ucmpdi2_v_glibc20): Likewise.
34579         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34581         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34582         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34583         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34584         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34586 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34588         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34589         old GNU extension [0] syntax.
34590         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34591         alloca rather than an array member with variable length.
34592         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34593         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34594         (parse_opt): ... here.  Likewise use alloca there.
34595         Validate the -i argument before checking for rootness.
34596         (send_shutdown): New function, broken out of ...
34597         (parse_opt): ... here.
34599 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34601         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34602         macro to get at the _rt_local_ro field.
34603         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34604         ([PIC] case) or _dl_hwcap ([!PIC] case).
34605         * sysdeps/arm/setjmp.S: Likewise.
34607         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34608         * sysdeps/arm/configure.ac: New check to define it.
34609         * sysdeps/arm/configure: Regenerated.
34610         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34611         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34612         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34613         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34614         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34615         Use move/movt pair instead of a load.
34616         (LDST_GLOBAL): Macro removed.
34617         (LDR_GLOBAL): New macro replaces it.
34618         (LDR_HIDDEN): New macro.
34619         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34620         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34622         * setjmp/tst-setjmp-static.c: New file.
34623         * setjmp/Makefile (tests): Add it.
34624         (tests-static): New variable.
34626 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34628         [BZ #17485]
34629         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34631 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34633         [BZ #14132]
34634         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34636 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34638         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34640 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34642         * io/fts.c (dirent_not_directory): New function.
34643         (fts_build): Call it.
34645 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34647         * nptl/version.c (__nptl_main): Use normal __write rather than
34648         INTERNAL_SYSCALL.
34649         (banner): Update copyright years.
34651         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34652         gettimeofday.
34653         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34654         * nptl/pthread_cond_timedwait.c: Likewise.
34655         * nptl/pthread_mutex_timedlock.c: Likewise.
34656         * nptl/sem_timedwait.c: Likewise.
34658         * sysdeps/nptl/bits/libc-lock.h
34659         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34660         (__libc_lock_init_recursive): Return void, not 0.
34661         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34662         (__libc_rwlock_init): Likewise.
34663         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34665 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34667         [BZ #15215]
34668         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34669         (__pthread_once_slow): ... here.
34670         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34671         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34673 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34675         [BZ #15215]
34676         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34677         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34678         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34679         * nptl/pthread_once.c (__pthread_once): Likewise.
34680         Update comments.
34682 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34684         [BZ #14138]
34685         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34686         name.
34687         (writev): Use __libc_writev as strong name.
34688         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34689         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34691 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34693         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34695         * sysdeps/i386/nptl/tls.h
34696         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34697         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34698         New macros.
34699         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34700         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34701         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34702         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34703         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34704         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34706         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34707         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34708         on [__NR_futex].
34709         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34710         broken out of ...
34711         (__pthread_mutex_init): ... here.  Call it.
34712         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34713         Conditionalize PI cases on [__NR_futex].
34714         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34715         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34716         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34718         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34719         conditional on [SIGSETXID].
34720         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34721         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34722         is defined.  Likewise for SIGSETXID.
34723         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34724         Conditionalize definitions on [SIGSETXID].
34725         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34726         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34727         unblocking on [SIGCANCEL].
34729         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34730         [__NR_set_robust_list].
34732 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34734         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34735         (do_compare): Likewise.
34737 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34739         [BZ #15884]
34740         * string/strcoll_l.c: Don't include stdio.h.
34741         (coll_seq): Remove members idxarr and rulearr.
34742         (get_next_seq_cached): Remove function.
34743         (get_next_seq): Likewise.
34744         (get_next_seq_nocache): Rename to get_next_seq.
34745         (do_compare): Remove function.
34746         (do_compare_nocache): Rename to do_compare.
34747         (STRCOLL): Remove weight and rules cache.
34749 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34751         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34752         * sysdeps/arm/sfp-machine.h: ... to here.
34753         * sysdeps/arm/Implies: Remove arm/soft-fp.
34755 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34757         * conform/data/sys/utsname.h-data (*_t): Allow.
34758         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34759         [POSIX] (WEXITED): Do not expect constant.
34760         [POSIX] (WSTOPPED): Likewise.
34761         [POSIX] (WNOHANG): Likewise.
34762         [POSIX] (WNOWAIT): Likewise.
34763         [POSIX] (siginfo_t): Do not expect type or elements.
34764         [POSIX] (pid_t): Do not expect type.
34765         [POSIX] (signal.h): Do not allow header.
34766         [POSIX] (sys/resource.h): Likewise.
34767         [POSIX] (si_*): Do not allow pattern.
34768         [POSIX] (W*): Likewise.
34769         [POSIX] (P_*): Likewise.
34770         [POSIX] (BUS_*): Likewise.
34771         [POSIX] (CLD_*): Likewise.
34772         [POSIX] (FPE_*): Likewise.
34773         [POSIX] (ILL_*): Likewise.
34774         [POSIX] (POLL_*): Likewise.
34775         [POSIX] (SEGV_*): Likewise.
34776         [POSIX] (SI_*): Likewise.
34777         [POSIX] (TRAP_*): Likewise.
34778         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34779         variable.
34781 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34783         [BZ #12926]
34784         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34785         infinite loop when __recvmsg returns 0.
34787 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34789         * CANCEL-FCT-WAIVE: Remove file.
34790         * CANCEL-FILE-WAIVE: Likewise.
34792         [BZ #14132]
34793         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34794         instead of INTVARDEF.
34795         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34796         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34797         rtld_hidden_data_def instead of INTVARDEF.
34798         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34799         * elf/dl-deps.c (expand_dst): Likewise.
34800         * elf/dl-load.c (_dl_dst_count): Likewise.
34801         (_dl_dst_substitute): Likewise.
34802         (decompose_rpath): Likewise.
34803         (_dl_init_paths): Likewise.
34804         (open_path): Likewise.
34805         (_dl_map_object): Likewise.
34806         * elf/rtld.c (dl_main): Likewise.
34807         (process_dl_audit): Likewise.
34808         (process_envvars): Likewise.
34809         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34810         Remove declaration.
34811         (__libc_enable_secure): Use rtld_hidden_proto.
34813 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34815         * elf/dl-load.c
34816         (add_path): New function broken out of _dl_rtld_di_serinfo.
34817         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34819 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34821         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34822         parentheses around macro arguments.
34823         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34834         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34838         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34839         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34852         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34856         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34857         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34858         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34859         Likewise.
34860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34862         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34867         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34870         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34871         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34872         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34881         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34885         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34886         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34887         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34888         (_FP_FRAC_SRS_1): Likewise.
34889         (_FP_FRAC_CLZ_1): Likewise.
34890         (_FP_MUL_MEAT_1_imm): Likewise.
34891         (_FP_MUL_MEAT_1_wide): Likewise.
34892         (_FP_MUL_MEAT_1_hard): Likewise.
34893         (_FP_SQRT_MEAT_1): Likewise.
34894         (_FP_FRAC_ASSEMBLE_1): Likewise.
34895         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34896         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34897         (__FP_CLZ_2): Likewise.
34898         (_FP_MUL_MEAT_2_wide): Likewise.
34899         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34900         (_FP_MUL_MEAT_2_gmp): Likewise.
34901         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34902         (_FP_SQRT_MEAT_2): Likewise.
34903         (_FP_FRAC_ASSEMBLE_2): Likewise.
34904         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34905         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34906         (_FP_FRAC_CLZ_4): Likewise.
34907         (_FP_MUL_MEAT_4_wide): Likewise.
34908         (_FP_MUL_MEAT_4_gmp): Likewise.
34909         (_FP_SQRT_MEAT_4): Likewise.
34910         (_FP_FRAC_ASSEMBLE_4): Likewise.
34911         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34912         * soft-fp/op-common.h (_FP_CMP): Likewise.
34913         (_FP_CMP_EQ): Likewise.
34914         (_FP_CMP_UNORD): Likewise.
34915         (_FP_TO_INT): Likewise.
34916         (_FP_FROM_INT): Likewise.
34917         [!__FP_CLZ] (__FP_CLZ): Likewise.
34918         (_FP_DIV_HELP_imm): Likewise.
34919         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34920         Likewise.
34921         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34932         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34935         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34936         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34937         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34950         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34954         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34955         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34956         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34957         (FP_UNPACK_RAW_SP): Likewise.
34958         (FP_PACK_RAW_S): Likewise.
34959         (FP_PACK_RAW_SP): Likewise.
34960         (FP_UNPACK_S): Likewise.
34961         (FP_UNPACK_SP): Likewise.
34962         (FP_UNPACK_SEMIRAW_S): Likewise.
34963         (FP_UNPACK_SEMIRAW_SP): Likewise.
34964         (FP_PACK_S): Likewise.
34965         (FP_PACK_SP): Likewise.
34966         (FP_PACK_SEMIRAW_S): Likewise.
34967         (FP_PACK_SEMIRAW_SP): Likewise.
34968         (_FP_SQRT_MEAT_S): Likewise.
34969         (FP_CMP_S): Likewise.
34970         (FP_CMP_EQ_S): Likewise.
34971         (FP_CMP_UNORD_S): Likewise.
34972         (FP_TO_INT_S): Likewise.
34973         (FP_FROM_INT_S): Likewise.
34975         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34977         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34978         (FP_EX_INVALID_IMZ): Likewise.
34979         (FP_EX_INVALID_IMZ_FMA): Likewise.
34980         (FP_EX_INVALID_ISI): Likewise.
34981         (FP_EX_INVALID_ZDZ): Likewise.
34982         (FP_EX_INVALID_IDI): Likewise.
34983         (FP_EX_INVALID_SQRT): Likewise.
34984         (FP_EX_INVALID_CVI): Likewise.
34985         (FP_EX_INVALID_VC): Likewise.
34986         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34987         "invalid" exceptions.
34988         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34989         (_FP_ADD_INTERNAL): Likewise.
34990         (_FP_MUL): Likewise.
34991         (_FP_FMA): Likewise.
34992         (_FP_DIV): Likewise.
34993         (_FP_CMP_CHECK_NAN): Likewise.
34994         (_FP_SQRT): Likewise.
34995         (_FP_TO_INT): Likewise.
34996         (FP_EXTEND): Likewise.
34998 2014-10-09  Allan McRae  <allan@archlinux.org>
35000         * po/fr.po: Update French translation from translation project.
35002 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35004         [BZ #14132]
35005         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35006         of INTDEF.
35007         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35008         (__cxa_atexit): Use libc_hidden_proto.
35009         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35011         [BZ #14132]
35012         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35013         declaration.
35014         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35015         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35016         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35017         [!_ISOMAC] (__iswctype_internal): Likewise.
35018         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35019         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35020         alias.
35021         (fcntl): Remove __fcntl_internal alias.
35022         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35023         __connect_internal alias.
35024         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35025         Likewise.
35027         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35028         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35029         FP_DENORM_ZERO.
35030         (_FP_CHECK_FLUSH_ZERO): New macro.
35031         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35032         (_FP_CMP): Likewise.
35033         (_FP_CMP_EQ): Likewise.
35034         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35035         FP_DENORM_ZERO.
35036         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35037         (FP_TRUNC): Likewise.
35039         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35040         treated as invalid conversion, not as normal exponent.
35042         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35043         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35044         (_FP_CMP_EQ): Likewise.
35045         (_FP_CMP_UNORD): Likewise.
35046         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35047         (FP_CMP_EQ_D): Likewise.
35048         (FP_CMP_UNORD_D): Likewise.
35049         * soft-fp/extended.h (FP_CMP_E): Likewise.
35050         (FP_CMP_EQ_E): Likewise.
35051         (FP_CMP_UNORD_E): Likewise.
35052         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35053         (FP_CMP_EQ_Q): Likewise.
35054         (FP_CMP_UNORD_Q): Likewise.
35055         * soft-fp/single.h (FP_CMP_S): Likewise.
35056         (FP_CMP_EQ_S): Likewise.
35057         (FP_CMP_UNORD_S): Likewise.
35058         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35059         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35060         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35061         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35062         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35063         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35064         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35065         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35066         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35067         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35068         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35069         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35070         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35071         to FP_CMP_Q.
35072         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35073         FP_CMP_Q.
35074         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35075         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35076         FP_CMP_EQ_Q.
35077         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35078         FP_CMP_Q.
35079         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35080         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35081         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35082         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35083         FP_CMP_EQ_Q.
35084         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35085         FP_CMP_Q.
35086         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35087         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35088         FP_CMP_EQ_Q.
35089         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35090         FP_CMP_Q.
35091         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35092         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35093         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35094         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35095         FP_CMP_EQ_Q.
35097         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35098         a subnormal result, set the underflow exception if trapping on
35099         underflow is enabled.
35100         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35101         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35102         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35103         redefine to 0.
35104         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35105         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35106         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35107         * soft-fp/extendxftf2.c (__extendxftf2): Use
35108         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35110         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35111         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35112         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35113         FP_HANDLE_EXCEPTIONS.
35114         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35115         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35116         FP_HANDLE_EXCEPTIONS.
35117         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35118         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35119         FP_HANDLE_EXCEPTIONS.
35120         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35121         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35122         FP_HANDLE_EXCEPTIONS.
35124 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35126         [BZ #14132]
35127         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35128         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35129         use INTUSE.
35130         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35131         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35132         Remove alias.
35133         (__adjtimex): Define using libc_hidden_ver.
35134         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35135         Remove declaration.
35136         (ntp_gettime): Call __adjtimex directly.
35137         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35138         Remove declaration.
35139         (ntp_gettimex): Call __adjtimex directly.
35140         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35141         __adjtimex_internal alias.
35143 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35145         [BZ #17460]
35146         * nscd/nscd.c (more_help): Rewrite list of tables collection
35147         using xstrdup and asprintf.
35149         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35151 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35152             Roland McGrath  <roland@hack.frob.com>
35154         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35155         (do_lookup_unique): ... local function 'enter' here; update callers.
35157 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35159         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35160         compat_symbol calls on [SHARED].
35161         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35162         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35163         Remove.
35164         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35165         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35166         (oldsetrlimit): Remove.
35167         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35169         (lchown): New syscall entry.
35170         (oldsetrlimit): Remove.
35171         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35173         (oldsetrlimit): Remove.
35174         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35176         [BZ #14138]
35177         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35178         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35179         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35180         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35181         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35182         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35183         (fchown): Likewise.
35184         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35185         (fchown): Likewise.
35186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35187         Likewise.
35189 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35191         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35192         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35193         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35194         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35195         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35196         Likewise.
35197         (__old_sem_post): Likewise.
35199 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35201         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35202         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35203         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35204         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35205         Use INLINE_VSYSCALL macro.
35206         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35207         __vdso_clock_gettime.
35208         * sysdeps/unix/sysv/linux/tile/init-first.c
35209         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35210         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35211         __vdso_clock_gettime.
35213         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35214         to set up frame more cleanly.
35216         * sysdeps/tile/memcmp.c: New file.
35218         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35220         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35221         * sysdeps/tile/tilegx/strcasestr.c: New file.
35222         * sysdeps/tile/tilegx/strnlen.c: New file.
35223         * sysdeps/tile/tilegx/strstr.c: New file.
35225         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35227 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35229         * nptl/tst-setuid3.c: Write errors to stdout.
35231 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35233         * elf/dl-deps.c
35234         (preload): New functions broken out of _dl_map_object_deps.
35235         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35237 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35239         [BZ #14138]
35240         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35241         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35243 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35245         * sysdeps/mips/strcmp.S: New.
35247 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35249         [BZ #14138]
35250         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35251         (linkat): Likewise.
35252         (mkdirat): Likewise.
35253         (readlinkat): Likewise.
35254         (renameat): Likewise.
35255         (symlinkat): Likewise.
35256         (unlinkat): Likewise.
35257         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35258         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35259         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35260         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35261         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35262         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35263         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35265 2014-09-30  Will Newton  <will.newton@linaro.org>
35267         * math/math.h: Define long double math functions if
35268         _LIBC_TEST is defined.
35269         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35271         * localedata/Makefile: Move assignment to tests-special
35272         into an ifdef testing run-built-tests.
35273         * timezone/Makefile: Likewise.
35275 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35277         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35278         with $(BASH) not $(SHELL).
35280 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35281             Matthew LeGendre  <legendre1@llnl.gov>
35283         [BZ #17411]
35284         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35285         l_reloc_result.
35287 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35289         * stdio-common/printf_fp.c
35290         (hack_digit): New function, broken out of ...
35291         (__printf_fp): ... local function here.  Update call sites.
35292         hack_digit now takes an additional parameter that is a pointer
35293         to a struct of the referenced locals.  Those locals moved inside
35294         the struct and references updated.
35296 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35298         * aclocal.m4: Require autoconf 2.69.
35299         * configure: Regenerated.
35300         * sysdeps/aarch64/configure: Likewise.
35301         * sysdeps/alpha/configure: Likewise.
35302         * sysdeps/arm/armv7/configure: Likewise.
35303         * sysdeps/arm/configure: Likewise.
35304         * sysdeps/ia64/configure: Likewise.
35305         * sysdeps/mach/configure: Likewise.
35306         * sysdeps/mips/configure: Likewise.
35307         * sysdeps/s390/configure: Likewise.
35308         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35311         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35312         file.
35313         * sysdeps/ia64/configure.ac: Likewise.
35315 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35318         specify symbol version for ld.so.  Do not include entry for
35319         libpthread.
35320         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35321         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35322         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35324         [BZ #14171]
35325         * Makeconfig [$(build-shared) = yes]
35326         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35327         makefiles.
35328         [$(build-shared) = yes && $(soversions.mk-done) = t]
35329         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35330         [$(build-shared) = yes && $(soversions.mk-done) = t]
35331         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35332         to Makerules.
35333         [$(build-shared) = yes && $(soversions.mk-done) = t]
35334         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35335         here.
35336         [$(build-shared) = yes && $(soversions.mk-done) = t]
35337         (common-generated): Don't append gnu/lib-names.h and
35338         gnu/lib-names.stmp here.
35339         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35340         (lib-names-h-abi): New variable.
35341         [$(build-shared) = yes && $(soversions.mk-done) = t]
35342         (lib-names-stmp-abi): Likewise.
35343         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35344         abi-variants] (before-compile): Append
35345         $(common-objpfx)$(lib-names-h-abi).
35346         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35347         abi-variants] (common-generated): Append gnu/lib-names.h.
35348         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35349         abi-variants] (install-others-nosubdir): Depend on
35350         $(inst_includedir)/$(lib-names-h-abi).
35351         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35352         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35353         [$(build-shared) = yes && $(soversions.mk-done) = t]
35354         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35355         [$(build-shared) = yes && $(soversions.mk-done) = t]
35356         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35357         [$(build-shared) = yes && $(soversions.mk-done) = t]
35358         (common-generated): Append $(lib-names-h-abi) and
35359         $(lib-names-stmp-abi).
35360         * scripts/lib-names.awk: Do not handle multi being set.
35361         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35362         Remove variable.
35363         (abi-lp64_be-ld-soname): Likewise.
35364         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35365         Likewise.
35366         (abi-hard-ld-soname): Likewise.
35367         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35368         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35369         Remove variable.
35370         (abi-o32_hard-ld-soname): Likewise.
35371         (abi-o32_soft_2008-ld-soname): Likewise.
35372         (abi-o32_hard_2008-ld-soname): Likewise.
35373         (abi-n32_soft-ld-soname): Likewise.
35374         (abi-n32_hard-ld-soname): Likewise.
35375         (abi-n32_soft_2008-ld-soname): Likewise.
35376         (abi-n32_hard_2008-ld-soname): Likewise.
35377         (abi-n64_soft-ld-soname): Likewise.
35378         (abi-n64_hard-ld-soname): Likewise.
35379         (abi-n64_soft_2008-ld-soname): Likewise.
35380         (abi-n64_hard_2008-ld-soname): Likewise.
35381         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35382         Likewise.
35383         (abi-64-v2-ld-soname): Likewise.
35384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35385         ld.so entries.
35386         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35387         variable.
35388         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35389         entry.
35390         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35391         variable.
35392         (abi-64-ld-soname): Likewise.
35393         (abi-x32-ld-soname): Likewise.
35394         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35395         entry.
35396         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35398 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35400         [BZ #14138]
35401         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35402         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35403         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35404         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35405         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35406         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35407         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35408         syscall entry for GLIBC_2.2 symbol version.
35409         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35410         Likewise.
35411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35412         (setrlimit): Likewise.
35413         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35414         Likewise.
35416 2014-09-23  Will Newton  <will.newton@linaro.org>
35418         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35419         _LINUX_ARM_SYSDEP_H include guard too.
35420         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35421         define.
35423 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35425         * sysdeps/unix/sysv/linux/eventfd.c:
35426         Make first argument unsigned.
35427         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35428         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35430 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35432         [BZ #16852]
35433         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35434         * socket/sys/socket.h: Likewise.
35435         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35437 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35439         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35441 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35443         * time/tst-ftime.c: New test.
35444         * time/Makefile (tests): Add tst-ftime.
35446 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35448         * soft-fp/extended.h: Fix comment formatting.
35449         * soft-fp/op-1.h: Likewise.
35450         * soft-fp/op-2.h: Likewise.
35451         * soft-fp/op-4.h: Likewise.
35452         * soft-fp/op-8.h: Likewise.
35453         * soft-fp/op-common.h: Likewise.
35454         * soft-fp/soft-fp.h: Likewise.
35456         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35458 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #6652]
35461         * Makeconfig (soversions-default-setname): Remove variable.
35462         ($(common-objpfx)soversions.i): Don't pass default_setname to
35463         soversions.awk.
35464         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35465         oldest_abi to abi-versions.awk.
35466         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35467         * config.make.in (oldest-abi): Remove variable.
35468         * configure.ac (--enable-oldest-abi): Remove configure option.
35469         * configure: Regenerated.
35470         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35471         text.
35472         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35473         * scripts/soversions.awk: Do not handle default_setname variable.
35474         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35475         variable.
35476         * sysdeps/mach/hurd/configure: Regenerated.
35477         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35478         variable.
35479         * sysdeps/unix/sysv/linux/configure: Regenerated.
35481 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35483         * elf/Makefile (CFLAGS-interp.c): Remove.
35484         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35485         path string.
35486         * elf/interp.c: Include generated runtime-linker.h
35488         * Makerules (lib%.so): Don't include $(+interp) in
35489         prerequisites.
35490         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35491         * dlfcn/eval.c: Remove file.
35493         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35494         macros.
35496         [BZ #17266]
35497         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35498         4.2 and newer.
35500         [BZ #17370]
35501         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35503 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35504             Jakub Jelinek  <jakub@redhat.com>
35506         [BZ #17266]
35507         * libio/stdio.h: Check definition of __fortify_function
35508         instead of __extern_always_inline to include bits/stdio2.h.
35509         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35510         check if __extern_always_inline is defined.
35511         [__USE_MISC || __USE_XOPEN]: Likewise.
35512         [__USE_ISOC99] Likewise.
35513         * misc/sys/cdefs.h (__fortify_function): Define only if
35514         __extern_always_inline is defined.
35515         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35516         __extern_always_inline and __extern_inline only for g++-4.3
35517         and newer or a compatible gcc.
35519 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35521         [BZ #17371]
35522         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35523         last change to handle zero prefix length.
35525 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35527         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35528         _SC_REGEX_VERSION.
35530         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35531         _POSIX_RAW_SOCKETS.
35533 2014-09-13  Allan McRae  <allan@archlinux.org>
35535         * po/ru.po: Update Russian translation from translation project.
35537 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35539         * locale/programs/locale.c (show_locale_vars): Inline local function
35540         into its sole call site.  Clean up some style nits.
35541         (print_item): New function, broken out of ...
35542         (show_info): ... local function here.  Clean up style nits.
35544         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35545         out of ...
35546         (set_class_defaults): ... local function set_default here.
35547         Define set_default as a macro locally to pass constant parameters.
35548         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35549         rather than a shared local.
35551         * stdlib/rpmatch.c (try): New function, broken out of ...
35552         (rpmatch): ... local function here.  Also, prototypify definition.
35554 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35556         * scripts/soversions.awk: Do not handle configuration names.
35557         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35558         vendor and os variables to soversions.awk.
35559         * configure.ac: Do not modify gnu-* host_os.
35560         * configure: Regenerated
35561         * shlib-versions: Remove first column with configuration names.
35562         * nptl/shlib-versions: Likewise.
35563         * nptl_db/shlib-versions: Likewise.
35564         * sysdeps/hppa/shlib-versions: Likewise.
35565         * sysdeps/m68k/shlib-versions: Likewise.
35566         * sysdeps/mach/hurd/shlib-versions: Likewise.
35567         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35568         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35569         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35570         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35571         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35572         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35573         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35574         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35576         Likewise.
35577         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35578         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35579         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35580         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35581         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35582         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35583         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35584         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35587         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35589         Regenerated.
35590         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35592         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35594         * shlib-versions: Remove OS-specific entries.  Moved to files in
35595         sysdeps.
35596         * sysdeps/mach/hurd/shlib-versions: New file.
35597         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35599         * nptl/shlib-versions: Remove architecture-specific entries.
35600         Moved to files in sysdeps.
35601         * shlib-versions: Likewise.
35602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35603         file.
35604         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35605         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35606         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35607         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35609         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35610         (UDP_NO_CHECK6_RX): Likewise.
35612 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35614         * sysdeps/posix/sysconf.c (__sysconf): Spell
35615         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35617 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35619         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35620         loading.
35621         * iconv/Versions (__gconv_transliterate): Export for use from
35622         gconv modules.
35623         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35624         (struct __gconv_trans_data, __gconv_trans_fct,
35625         __gconv_trans_context_fct, __gconv_trans_query_fct,
35626         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35627         definitions.
35628         (struct __gconv_step_data): Remove __trans member.
35629         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35630         longer hidden.  Remove unused trans_data argument.
35631         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35632         (__gconv_translit_find): Remove declaration.
35633         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35634         prototype.
35635         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35636         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35637         trans_data argument.  Add hidden definition.
35638         (__gconv_translit_find): Remove.
35639         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35640         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35641         * iconv/skeleton.c: Remove transliteration initialization.
35642         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35643         __gconv_step_data initialization.
35644         * libio/iofwide.c (__libio_translit_): Remove.
35645         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35646         * wcsmbs/btowc.c (__btowc): Likewise.
35647         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35648         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35649         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35650         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35651         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35652         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35653         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35654         * wcsmbs/wctob.c (wctob): Likewise.
35656 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35658         [BZ #16194]
35659         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35660         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35661         register usage.
35662         * sysdeps/x86/Makefile: Adjust.
35664 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35665             Roland McGrath  <roland@hack.frob.com>
35667         * locale/weight.h: Add include guard.
35668         (findidx): Make static rather than auto; take new parameters
35669         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35670         * locale/weightwc.h: Likewise.
35671         * posix/fnmatch_loop.c
35672         (FCT): Change type of EXTRA from int32_t to wint_t.
35673         Don't include either header inside the function.
35674         Call FINDIDX rather than findidx, and pass new arguments.
35675         #undef FINDIDX at the end of the file.
35676         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35677         FINDIDX before including fnmatch_loop.c for the non-wide version.
35678         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35679         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35680         for the wide version.
35681         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35682         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35683         Pass new arguments to findidx.
35684         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35685         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35686         Don't #include it inside the function.  Pass new arguments to findidx.
35687         * posix/regex_internal.h
35688         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35689         (re_string_elem_size_at): Don't #include it inside the function.
35690         Pass new arguments to findidx.
35691         * string/strcoll_l.c: #include WEIGHT_H at top level.
35692         (get_next_seq): Don't #include it inside the function.
35693         Pass new arguments to findidx.
35694         (get_next_seq_nocache): Likewise.
35695         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35696         (STRXFRM): Don't #include it inside the function.
35697         Pass new arguments to findidx.
35699 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35701         [BZ #17344]
35702         * malloc/malloc.c (unlink): Turn asserts into a call to
35703         malloc_printerr.
35705 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35707         [BZ #17370]
35708         * libio/wfileops (do_ftell_wide): Free OUT.
35710 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35712         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35714 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35716         [BZ #17363]
35717         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35718         group if the current group is empty.
35720 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35722         * benchtests/bench-memset.c (test_main): Add more test from size
35723         from 32 to 512 bytes.
35724         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35725         Add POWER8 memset object.
35726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35727         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35728         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35729         implementation.
35730         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35731         Likewise.
35732         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35733         multiarch POWER8 memset optimization.
35734         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35735         POWER8 memset optimization.
35737         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35738         Remove bzero multiarch objects.
35739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35740         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35741         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35742         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35743         Remove define.
35744         [__bzero]: Redefine to specific name.
35745         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35746         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35747         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35748         define.
35749         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35750         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35752 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35754         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35755         warnings into errors.
35757         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35758         __cxa_thread_atexit_impl prototype.
35760 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35762         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35763         Fix capitalization of error message.
35765 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35767         * sysdeps/mips/preconfigure: Modify ABI tests.
35769 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35771         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35773 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35774             Carlos O'Donell  <carlos@systemhalted.org>
35776         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35777         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35778         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35779         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35780         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35781         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35782         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35783         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35784         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35795         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35796         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35797         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35798         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35799         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35800         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35801         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35802         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35803         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35804         Deconditionalize the code that was previously under [RESET_PID].
35805         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35806         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35807         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35808         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35809         include sysdep.h.
35811 2014-09-08  Allan McRae  <allan@archlinux.org>
35813         * version.h (RELEASE): Set to "development".
35814         (VERSION): Set to "2.20.90"
35816 2014-09-07  Allan McRae  <allan@archlinux.org
35818         * version.h (RELEASE): Set to "stable".
35819         (VERSION): Set to "2.20"
35820         * include/features.h (__GLIBC_MINOR__): Set to 20.
35822         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35823         Liebler.
35825         * po/ko.po: Update Korean translation from translation project.
35827 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35829         [BZ #17354]
35830         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35831         macro for handling signed relocations.
35833 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35835         [BZ #17325]
35836         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35837         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35838         assert.
35839         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35840         * iconvdata/ibm935.c (BODY): Likewise.
35841         * iconvdata/ibm937.c (BODY): Likewise.
35842         * iconvdata/ibm939.c (BODY): Likewise.
35843         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35844         assert.
35845         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35846         script.
35847         * iconvdata/run-iconv-test.sh: New test loop for checking for
35848         decoder crashers.
35850 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35852         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35853         libm_hidden_ver.
35855 2014-09-01  Allan McRae  <allan@archlinux.org>
35857         * po/eo.po: Update Esperanto translation from translation project.
35859         * po/ca.po: Update Catalan translation from translation project.
35861 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35863         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35864         __proc_dostop call.
35866 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35868         [BZ #17319]
35869         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35870         to call set_thread_area instead of hand written asm.
35871         (__NR_set_thread_area): Removed define.
35872         (TLS_FLAG_WRITABLE): Likewise.
35873         (__ASSUME_SET_THREAD_AREA): Remove check.
35874         (TLS_EBX_ARG): Remove define.
35875         (TLS_LOAD_EBX): Likewise.
35877 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35879         Simplify atomicity of socket creation in bind.
35881         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35882         looking up the name after linking the file.
35884 2014-08-27  Allan McRae  <allan@archlinux.org>
35886         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35888 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35890         [BZ #17187]
35891         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35892         trans_compare, open_translit, __gconv_translit_find):
35893         Remove module loading code.
35895 2014-08-26  Allan McRae  <allan@archlinux.org>
35897         * po/vi.po: Update Vietnamese translation from translation project.
35899         * po/uk.po: Update Ukrainian translation from translation project.
35901         * po/fr.po: Update French translation from translation project.
35903         * po/ru.po: Update Russian translation from translation project.
35905         * po/pl.po: Update Polish translation from translation project.
35907         * po/cs.po: Update Czech translation from translation project.
35909         * po/de.po: Update German translation from translation project.
35911         * po/bg.po: Update Bulgarian translation from translation project.
35913         * po/sv.po: Update Sweedish translation from translation project.
35915         * po/nl.po: Update Dutch translation from translation project.
35917         * po/es.po: Update Spanish translation from translation project.
35919 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35921         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35923         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35924         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35925         (CPPFLAGS-iconvconfig): Likewise.
35926         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35928         * include/libc-symbols.h: Remove unnecessary check for
35929         NOT_IN_libc.
35930         * nptl/pthreadP.h: Likewise.
35931         * sysdeps/aarch64/setjmp.S: Likewise.
35932         * sysdeps/alpha/setjmp.S: Likewise.
35933         * sysdeps/arm/sysdep.h: Likewise.
35934         * sysdeps/i386/setjmp.S: Likewise.
35935         * sysdeps/m68k/setjmp.c: Likewise.
35936         * sysdeps/posix/getcwd.c: Likewise.
35937         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35938         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35939         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35940         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35941         * sysdeps/sh/sh3/setjmp.S: Likewise.
35942         * sysdeps/sh/sh4/setjmp.S: Likewise.
35943         * sysdeps/unix/alpha/sysdep.h: Likewise.
35944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35945         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35946         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35947         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35952         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35954         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35955         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35956         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35957         * sysdeps/x86_64/setjmp.S: Likewise.
35959 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35961         [BZ #17263]
35962         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35963         <stdint.h>.
35964         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35965         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35967 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35969         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35971         [BZ #17262]
35972         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35973         and __x86_64__ when disabling x87 inline functions.
35975 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35977         [BZ #17259]
35978         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35979         asm statement with __cpuid_count.
35981 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35983         * configure.ac: Change __ehdr_start code to dereference the struct.
35984         Run readelf on the output to look for relocations.
35985         * configure: Regenerated.
35987 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35989         [BZ #17261]
35990         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35991         value to 0.
35992         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35994 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35996         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35998 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36000         [BZ #16892]
36001         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36002         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36004 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36006         * malloc/malloc.c: Fix typo in comment.
36008 2014-08-09  Allan McRae  <allan@archlinux.org>
36010         * Regenerate libc.po.
36012 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36014         * intl/tst-gettext2.sh: Check every lang file for creation.
36016 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36018         * sysdeps/aarch64/fpu/math_private.h
36019         (libc_feholdsetround_noex_aarch64_ctx): New function.
36021 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36023         * sysdeps/arm/armv6/strcpy.S (strcpy):
36024         Fix performance issue in misaligned cases.
36026 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36028         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36029         Move definition from termios.h.
36030         (struct termio): Likewise.
36031         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36032         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36033         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36034         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36035         Likewise.
36036         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36037         Move definition to ioctl-types.h
36038         (struct termio): Likewise.
36039         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36040         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36041         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36042         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36043         Likewise.
36045 2014-08-05  Richard Henderson  <rth@redhat.com>
36047         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36048         exceptions.
36049         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36050         Add fraiseexcpt.
36051         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36052         Use __feraiseexcept.
36053         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36054         Protect libm symbols with IS_IN_libm.
36056         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36058 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36060         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36062 2014-08-04  Will Newton  <will.newton@linaro.org>
36064         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36065         file.
36067 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36070         variants for each function.
36072 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36074         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36075         appended ...
36076         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36077         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36078         appended ...
36079         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36080         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36081         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36082         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36083         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36084         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36085         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36086         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36087         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36088         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36089         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36090         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36091         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36092         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36093         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36094         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36095         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36096         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36097         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36098         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36099         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36100         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36101         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36102         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36103         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36104         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36105         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36106         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36107         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36108         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36109         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36110         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36111         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36112         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36113         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36114         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36115         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36116         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36117         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36118         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36119         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36121         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36123         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36125         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36127         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36129         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36130         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36131         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36132         Update #include.
36133         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36134         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36136 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36139         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36141         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36142         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36143         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36145 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36147         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36148         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36149         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36150         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36152 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36154         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36155         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36156         (__libc_vfork): Define function under this name.
36157         (__vfork): Define as an alias.
36158         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36159         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36161 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36163         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36164         that was previously under [RESET_PID].
36165         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36167 2014-08-04  Andreas Schwab  <schwab@suse.de>
36169         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36171 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36173         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36174         (main): Likewise.
36176 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36178         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36180 2014-08-01  Richard Henderon  <rth@redhat.com>
36182         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36183         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36184         typo in exact zero test.
36185         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36186         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36187         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36189 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36191         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36192         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36193         * sysdeps/arm/sysdep.h: ... here.
36194         [!__ASSEMBLER__]: Include <stdint.h>.
36196 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36198         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36199         (HAVE_WCTYPE_H): Likewise.
36200         (HAVE_ISWCTYPE): Likewise.
36201         (ENABLE_NLS): Likewise.
36202         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36203         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36205         * posix/regex_internal.c: Check if DEBUG is defined and is
36206         set.
36208         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36209         (HAVE_MBSRTOWCS): Likewise.
36210         * posix/fnmatch.c: Include string.h unconditionally.
36212 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36214         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36215         reversal.
36217 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36219         * sysdeps/generic/safe-fatal.h: New file.
36220         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36221         * nptl/forward.c: Include it.
36222         (__pthread_unwind): Use __safe_fatal as default action, rather
36223         than a bogus use of INTERNAL_SYSCALL that could never work.
36225         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36226         * configure.ac (libc_cv_builtin_trap): New test.
36227         * configure: Regenerated.
36228         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36229         (ABORT_INSTRUCTION): Define using __builtin_trap.
36231         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36232         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36233         * sysdeps/nptl/nptl-signals.h: New file.
36234         * nptl/pthreadP.h: Include <nptl-signals.h>.
36236 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36238         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36239         (ONE_DIRECTION): Define.
36240         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36241         (ONE_DIRECTION): Define.
36242         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36243         (ONE_DIRECTION): Define.
36245 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36247         * sysdeps/s390/Makefile: Delete file.
36248         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36249         * sysdeps/s390/__longjmp.c: Delete file.
36250         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36251         Remove fields __flags and __reserved.
36252         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36253         and add versioning.
36254         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36255         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36256         * sysdeps/s390/rtld-setjmp.S: Likewise.
36257         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36258         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36259         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36260         * sysdeps/s390/s390-32/setjmp.S: ... here.
36261         Add versioning.
36262         (__sigsetjmp): Remove setting __flags field.
36263         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36264         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36265         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36266         * sysdeps/s390/s390-64/setjmp.S: ... here.
36267         Add versioning.
36268         (__sigsetjmp): Remove setting __flags field.
36269         * sysdeps/s390/setjmp.S: Delete file.
36270         * sysdeps/s390/sigjmp.c: Likewise.
36271         * sysdeps/s390/v1-longjmp.c: Likewise.
36272         * sysdeps/s390/v1-setjmp.h: Likewise.
36273         * sysdeps/s390/v1-sigjmp.c: Likewise.
36274         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36275         Remove v1-longjmp_chk.
36276         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36278         Include debug/longjmp_chk.c and add versioning.
36279         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36280         Include nptl/pt-longjmp.c and add versioning.
36281         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36282         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36283         Include __longjmp.c.
36284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36285         Move to ...
36286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36287         (__getcontext): Remove setting __flags field.
36288         Add versioning.
36289         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36290         Don't restore upper high grps.
36291         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36292         Likewise.
36293         (__swapcontext): Remove setting uc_flags field.
36294         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36295         Delete file.
36296         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36297         Include __longjmp.c.
36298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36299         Move to ...
36300         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36301         (__getcontext): Remove setting __flags field.
36302         Add versioning.
36303         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36304         (__swapcontext): Remove setting uc_flags field.
36305         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36306         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36307         Remove fields uc_high_gprs and __reserved.
36308         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36309         New file with reverted content.
36310         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36311         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36312         Regenerated.
36313         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36314         Regenerated.
36316 2014-07-31  Andreas Schwab  <schwab@suse.de>
36318         * config.h.in (HAVE_IFUNC): Define to 0.
36319         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36320         definedness.
36322 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36325         memmove-avx-unaligned, memcpy-avx-unaligned and
36326         mempcpy-avx-unaligned.
36327         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36328         Add tests for AVX memcpy functions.
36329         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36330         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36331         memcpy_chk.
36332         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36333         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36334         memmove_chk.
36335         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36336         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36337         mempcpy_chk.
36338         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36339         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36340         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36342 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36344         [BZ #17213]
36345         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36346         powerpc64le.
36348 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36350         [BZ #16839]
36351         * manual/llio.texi: Add section about open file description locks.
36352         * manual/examples/ofdlocks.c: Example of open file description
36353         lock usage.
36354         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36355         F_OFD_SETLK, and F_OFD_SETLKW.
36357 2014-07-23  Allan McRae  <allan@archlinux.org>
36359         * po/es.po: Update Spanish translation from translation project.
36361 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36363         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36365 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36367         [BZ #17078]
36368         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36369         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36370         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36372 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36374         [BZ #17088]
36375         * math/fesetenv.c (__fesetenv)
36376         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36377         * math/feupdateenv.c (__feupdateenv)
36378         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36380         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36381         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36382         (__ASSUME_SOCKETCALL): Do not define.
36384         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36385         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36386         (__ASSUME_SOCKETCALL): Do not define.
36387         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36388         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36389         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36390         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36392         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36393         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36394         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36396         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36397         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36398         (__ASSUME_SOCKETCALL): Do not define.
36399         (__ASSUME_IPC64): Define unconditionally.
36400         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36401         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36402         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36403         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36404         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36405         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36406         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36407         Likewise.
36409         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36410         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36411         (__ASSUME_SOCKETCALL): Do not define.
36412         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36413         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36414         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36415         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36416         (__ASSUME_REQUEUE_PI): Define unconditionally.
36417         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36418         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36419         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36420         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36421         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36422         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36424         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36425         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36426         (__ASSUME_SOCKETCALL): Do not define.
36427         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36428         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36429         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36430         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36431         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36432         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36434         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36435         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36436         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36437         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36438         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36439         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36440         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36441         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36442         (__ASSUME_GETCPU_SYSCALL): Likewise.
36444         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36445         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36446         cases for individual architectures.
36447         * sysdeps/gnu/configure: Regenerated.
36448         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36449         LIBC_SLIBDIR_RTLDDIR.
36450         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36451         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36452         LIBC_SLIBDIR_RTLDDIR.
36453         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36455         LIBC_SLIBDIR_RTLDDIR.
36456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36457         Regenerated.
36458         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36459         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36460         file.
36461         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36462         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36463         file.
36464         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36465         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36466         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36467         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36469         * sysdeps/aarch64/shlib-versions: Move to ...
36470         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36471         * sysdeps/alpha/shlib-versions: Move to ...
36472         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36473         * sysdeps/arm/shlib-versions: Move to ...
36474         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36475         * sysdeps/hppa/shlib-versions: Move all contents except for
36476         libgcc_s entry to ...
36477         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36478         entry from ...
36479         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36480         * sysdeps/ia64/shlib-versions: Move to ...
36481         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36482         entry from ...
36483         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36484         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36485         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36486         * sysdeps/microblaze/shlib-versions: Move to ...
36487         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36488         * sysdeps/mips/shlib-versions: Move to ...
36489         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36490         entry from ...
36491         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36492         * sysdeps/tile/shlib-versions: Move to ...
36493         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36494         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36495         from ...
36496         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36497         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36498         entry from ...
36499         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36501 2014-07-17  Will Newton  <will.newton@linaro.org>
36503         * sysdeps/arm/bits/atomic.h
36504         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36505         (__arch_compare_and_exchange_bool_16_int): Likewise.
36506         (__arch_compare_and_exchange_bool_64_int): Likewise.
36508         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36509         into an #else block.
36511 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36513         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36514         just Linux configurations.  Test empirically that the compiler sets
36515         __ARM_EABI__, rather than using the tuple to decide.
36516         * sysdeps/arm/preconfigure: Regenerated.
36517         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36518         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36519         contents appended ...
36520         * sysdeps/arm/configure.ac: ... here.
36521         * sysdeps/arm/configure: Regenerated.
36523 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36525         * nptl/pthread_kill.c: New file.
36526         * nptl/pthread_sigmask.c: New file.
36527         * nptl/pthread_sigqueue.c: New file.
36529         * sysdeps/nptl/lowlevellock.h: New file.
36530         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36531         * sysdeps/nptl/lowlevellock-futex.h: New file.
36533         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36534         Remove dead declarations.
36536 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36538         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36539         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36540         config-cflags-avx2.
36541         * sysdeps/x86_64/configure.ac: Likewise.
36542         * sysdeps/i386/configure: Regenerated.
36543         * sysdeps/x86_64/configure: Likewise.
36544         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36545         memset-avx2 only if config-cflags-avx2 is yes.
36546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36547         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36548         defined.
36549         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36550         only if HAVE_AVX2_SUPPORT is defined.
36551         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36553 2014-07-14  Alan Modra  <amodra@gmail.com>
36555         [BZ #17153]
36556         * elf/elf.h (DT_PPC64_NUM): Correct value.
36557         * NEWS: Add to fixed bug list.
36559 2014-07-13  Jim Meyering  <meyering@fb.com>
36561         [BZ 17150]
36562         regex: don't deref NULL upon heap allocation failure
36563         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36564         failure in one more place.
36565         To trigger the segfault, configure grep -with-included-regex,
36566         build it, and run these commands:
36567         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36569 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36571         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36573 2014-07-11  Richard Henderson  <rth@redhat.com>
36575         * sysdeps/aarch64/libm-test-ulps: Update.
36577 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36579         [BZ #17135]
36580         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36581         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36582         (__nptl_setxid): Initialize error member.  Call
36583         __nptl_setxid_error.
36584         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36585         * nptl/descr.h (struct xid_command): Add error member.
36586         * nptl/tst-setuid3.c: New file.
36587         * nptl/Makefile (tests): Add it.
36589 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36591         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36592         New define.
36593         (__lll_trylock): Use __lll_base_trylock.
36594         (__lll_cond_trylock): Likewise.
36596 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36598         * nptl/pthread_create.c (start_thread): Use atomic_or and
36599         lll_futex_wake directly rather than lll_robust_dead.
36600         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36601         (lll_robust_dead): Macro removed.
36602         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36603         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36604         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36605         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36606         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36607         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36608         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36609         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36610         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36611         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36612         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36613         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36614         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36615         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36616         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36618         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36619         Use atomic_compare_and_exchange_val_acq directly rather than
36620         lll_robust_trylock.
36621         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36622         (__lll_robust_trylock, lll_robust_trylock): Removed.
36623         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36624         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36625         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36626         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36627         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36628         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36629         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36630         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36631         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36632         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36633         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36634         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36635         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36636         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36638 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36640         * manual/locale.texi (Locale Names): New section documenting
36641         locale name syntax.  Adjust menu and node chaining accordingly.
36642         (Choosing Locale): Reference Locale Names, Locale Categories.
36643         Mention setting LC_ALL=C.  Reflect that name syntax is now
36644         documented.
36645         (Locale Categories): New section title.  Reference Locale Names.
36646         LC_ALL is an environment variable, but not a category.
36647         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36648         description, now in Locale Name.  Reference that section.  Locale
36649         name syntax is now documented.
36651 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36653         [BZ #17137]
36654         * locale/findlocale.c (name_present, valid_locale_name): New
36655         functions.
36656         (_nl_find_locale): Use the loc_name variable to store name
36657         candidates.  Call name_present and valid_locale_name to check and
36658         validate locale names.  Return an error if the locale is invalid.
36660 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36662         * locale/setlocale.c (setlocale): Use strdup for allocating
36663         composite name copy.
36665 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36667         Sync up with gnulib.
36668         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36669         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36670         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36671         and _GL_ARG_NONNULL.
36672         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36673         [!_LIBC]: Include code for Windows and Cygwin.
36674         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36675         Include prototype for int strerror_r.
36676         [!_LIBC] (is_open): New function.
36677         (flush_stdout): New function.
36678         (print_errno_message): Use it.
36679         (error): Likewise.
36680         (error_at_line): Likewise.
36681         (error_tail) Add function attribute macros.  Use
36682         __builtin_expect.
36684         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36686         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36688         * io/ftw.c: Include sys/param.h unconditionally.
36690         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36692         [BZ #17125]
36693         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36694         libc_freeres_ptr.
36695         (freecache): New function to free CACHE on exit.
36697         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36698         initialization.
36700 2014-07-09  David S. Miller  <davem@davemloft.net>
36702         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36704         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36705         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36706         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36707         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36708         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36709         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36710         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36711         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36712         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36713         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36714         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36715         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36716         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36718 2014-07-09  Andreas Schwab  <schwab@suse.de>
36720         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36721         output.
36722         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36723         (do_test): Likewise.
36725         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36727 2014-07-09  Will Newton  <will.newton@linaro.org>
36729         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36730         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36731         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36732         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36733         * sysdeps/hppa/start.S (_start): Likewise.
36735 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36737         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36739         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36740         defined.
36742 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36744         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36745         after checking that it is non-NULL.
36747         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36749 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36751         * sysdeps/powerpc/memmove.c: Remove file.
36752         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36756         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36757         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36758         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36759         string memmove instead of removed powerpc one.
36761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36762         [weak_alias]: Fix compiler warning due trailing data.
36763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36764         [weak_alias]: Likewise.
36765         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36766         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36768         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36769         (__libc_ifunc_impl_list): Add memmove functions.
36771 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36773         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36774         Remove code.
36775         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36776         Likewise.
36777         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36778         Likewise.
36779         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36780         Likewise.
36781         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36782         Likewise.
36783         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36784         Likewise.
36785         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36786         Likewise.
36787         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36788         Likewise.
36789         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36790         Likewise.
36791         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36792         Likewise.
36793         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36794         Likewise.
36795         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36796         Likewise.
36797         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36798         Likewise.
36799         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36800         Likewise.
36801         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36802         Likewise.
36803         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36804         Likewise.
36805         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36806         Likewise.
36808 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36810         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36811         to avoid alignment traps in non-cacheable memory.
36812         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36815         multiarch objects.
36816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36817         file: multiarch power7 memmove.
36818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36819         multiarch default memmove.
36820         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36821         multiarch memove for powerpc32/power4.
36823         * string/bcopy.c: Use full path to include memmove.c.
36824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36825         multiarch objects.
36826         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36827         bcopy for powerpc64.
36828         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36829         bcopy for powerpc64.
36830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36831         and memmove implementations.
36832         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36833         optimized multiarch memmove for POWER7/powerpc64.
36834         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36835         default multiarch memmove for powerpc64.
36836         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36837         multiarch for powerpc64.
36838         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36839         for POWER7/powerpc64.
36840         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36841         memmove for POWER7/powerpc64.
36843         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36844         glibc default one.
36846         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36847         __ELF_NATIVE_CLASS equal to 64.
36849 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36851         * sysdeps/nptl/lowlevellock.h: File removed.
36853         * NEWS: NPTL is no longer an add-on!
36854         * nptl/internaltypes.h: Moved ...
36855         * sysdeps/nptl/internaltypes.h: ... here.
36856         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36857         * sysdeps/nptl/fork.c: Likewise.
36858         * sysdeps/nptl/gai_misc.h: Likewise.
36859         * sysdeps/nptl/librt-cancellation.c: Likewise.
36860         * sysdeps/nptl/jmp-unwind.c: Likewise.
36861         * sysdeps/nptl/setxid.h: Likewise.
36862         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36863         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36864         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36865         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36866         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36867         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36868         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36869         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36870         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36871         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36872         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36873         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36874         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36875         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36876         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36877         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36878         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36879         * nptl/Makeconfig: Moved ...
36880         * sysdeps/nptl/Makeconfig: ... here.
36881         * nptl/configure: File removed.
36882         * nptl/ANNOUNCE: File removed.
36883         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36884         * sysdeps/unix/sysv/linux/configure: Regenerated.
36886         * nptl/Makefile (routines): Add libc_pthread_init,
36887         libc_multiple_threads, register-atfork and unregister-atfork.
36888         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36889         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36890         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36891         pthread-pi-defines.sym, structsem.sym.
36892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36893         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36894         [$(subdir) = nptl] (tests): Add tst-setgetname.
36895         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36896         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36897         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36898         [!LIBC_SIGACTION]: Remove aliases.
36899         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36900         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36901         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36902         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36903         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36904         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36905         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36906         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36907         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36908         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36909         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36910         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36911         __libc_allocate_rtsig_private.
36912         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36913         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36914         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36915         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36916         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36917         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36918         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36919         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36920         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36921         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36922         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36923         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36924         * nptl/internaltypes.h: ... here.
36925         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36926         * sysdeps/nptl/jmp-unwind.c: ... here.
36927         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36928         * nptl/libc-lowlevellock.c: ... here.
36929         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36930         * nptl/libc_multiple_threads.c: ... here.
36931         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36932         * nptl/libc_pthread_init.c: ... here.
36933         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36934         * nptl/lowlevelbarrier.sym: ... here.
36935         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36936         * nptl/lowlevelcond.sym: ... here.
36937         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36938         * nptl/lowlevellock.c: ... here.
36939         * nptl/lowlevellock.h: Moved ...
36940         * sysdeps/nptl/lowlevellock.h: ... here.
36941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36942         * nptl/lowlevelrobustlock.c: ... here.
36943         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36944         * nptl/lowlevelrobustlock.sym: ... here.
36945         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36946         * nptl/lowlevelrwlock.sym: ... here.
36947         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36948         * nptl/pt-fork.c: ... here.
36949         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36950         * nptl/pthread-pi-defines.sym: ... here.
36951         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36952         * nptl/pthread_attr_getaffinity.c: ... here.
36953         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36954         * nptl/pthread_attr_setaffinity.c: ... here.
36955         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36956         * nptl/pthread_mutex_cond_lock.c: ... here.
36957         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36958         Update #include.
36959         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36960         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36961         * nptl/pthread_once.c: ... here, replacing old file.
36962         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36963         * nptl/pthread_yield.c: ... here.
36964         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36965         * nptl/register-atfork.c: ... here.
36966         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36967         * nptl/sem_post.c: ... here.
36968         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36969         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36970         * nptl/sem_timedwait.c: ... here.
36971         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36972         * nptl/sem_trywait.c: ... here.
36973         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36974         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36975         * nptl/sem_wait.c: ... here.
36976         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36977         * nptl/structsem.sym: ... here.
36978         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36979         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36980         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36981         * nptl/unregister-atfork.c: ... here.
36982         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36983         * nptl/unwindbuf.sym: ... here.
36984         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36985         * sysdeps/nptl/fork.c: ... here.
36986         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36987         * sysdeps/nptl/fork.h: ... here.
36988         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36989         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36990         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36991         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36992         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36993         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36994         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36995         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36996         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36997         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36998         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36999         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37000         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37001         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37002         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37003         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37004         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37005         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37006         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37007         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37008         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37009         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37010         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37011         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37012         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37013         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37014         * sysdeps/unix/sysv/linux/raise.c: ... here.
37015         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37016         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37017         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37018         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37019         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37020         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37021         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37022         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37023         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37024         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37025         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37026         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37027         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37028         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37029         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37031 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37033         * sysdeps/generic/memcopy.h: Add comment for
37034         MEMCPY_OK_FOR_FWD_MEMMOVE.
37036 2014-07-04  Will Newton  <will.newton@linaro.org>
37038         * string/memchr.c: Merge from gnulib.
37039         [_LIBC]: Remove conditionals.
37040         (__ptr_t): Remove define.
37041         (LONG_MAX_32_BITS): Likewise.
37042         (LONG_MAX): Likewise.
37043         (MEMCHR): Use ANSI prototype and optimize algorithm.
37045         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37047 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37049         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37050         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37052         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37053         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37054         in a bare environment with no <stdlib.h> installed.
37055         * sysdeps/nptl/configure: Regenerated.
37057         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37059         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37060         AC_EGREP_CPP for kernel header checks, so they only succeed if
37061         including <linux/version.h> actually works right.
37062         * sysdeps/unix/sysv/linux/configure: Regenerated.
37064         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37065         value so it's not diagnosed as unused.
37067         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37068         thing) with "ifeq ($(subdir),rt)".
37070 2014-07-03  Richard Henderson  <rth@redhat.com>
37072         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37073         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37074         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37076         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37077         (math_force_eval): New.
37079         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37080         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37082         * sysdeps/alpha/fpu/s_round.c: Remove file.
37083         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37085         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37086         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37087         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37088         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37089         (_dl_start, print_statistics): Likewise.
37090         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37091         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37093         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37094         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37095         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37096         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37097         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37098         (HP_SMALL_TIMING_AVAIL): Define.
37099         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37100         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37101         (HP_SMALL_TIMING_AVAIL): Define.
37102         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37103         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37105         * sysdeps/aarch64/hp-timing.h: New file.
37107         * sysdeps/generic/hp-timing.h: Remove dead comment.
37108         * sysdeps/generic/hp-timing-common.h: New file.
37109         * sysdeps/alpha/hp-timing.h: Include it.
37110         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37111         * sysdeps/i386/i686/hp-timing.h: Likewise.
37112         * sysdeps/ia64/hp-timing.h: Likewise.
37113         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37114         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37115         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37116         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37117         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37118         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37119         (hp_timing_t): New.
37121         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37122         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37123         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37124         * elf/rtld.c (_dl_start_final): Likewise.
37125         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37126         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37127         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37128         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37129         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37130         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37131         (HP_TIMING_DIFF_INIT): Remove.
37132         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37133         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37134         (HP_TIMING_DIFF_INIT): Remove.
37135         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37136         * sysdeps/i386/i686/hp-timing.c: Remove file.
37137         * sysdeps/x86_64/hp-timing.c: Remove file.
37138         * sysdeps/ia64/hp-timing.c: Remove file.
37139         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37140         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37141         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37142         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37144         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37145         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37146         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37147         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37148         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37149         (HP_TIMING_ACCUM): Remove.
37150         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37151         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37152         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37154         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37155         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37156         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37157         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37159         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37160         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37161         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37163         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37165 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37167         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37169 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37171         Sync up with gettext.
37172         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37173         [_MSC_VER]: Include malloc.h
37174         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37175         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37176         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37177         TEMP_FAILURE_RETRY.  Cast return of alloca.
37178         [!_LIBC] Call gl_rwlock_init.
37179         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37181 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37183         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37184         before checking its value.
37186 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37188         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37190         * debug/memcpy_chk.c: Don't include pagecopy.h.
37191         * debug/mempcpy_chk.c: Likewise.
37192         * string/memcpy.c: Likewise.
37193         * string/memmove.c: Likewise.
37194         * sysdeps/powerpc/memmove.c: Likewise.
37195         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37196         definition of PAGE_COPY_FWD_MAYBE here...
37197         * sysdeps/generic/pagecopy.h: ... from here.
37198         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37200 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37201             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37203         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37205         optimizations.
37206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37207         (__libc_ifunc_impl_list): Likewise.
37208         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37209         multiarch strcat for PPC64.
37210         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37211         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37213 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37215         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37217 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37219         * intl/loadmsgcat.c: Remove declaration of
37220         get_sysdep_segment_value.
37221         (get_sysdep_segment_value): Use ISO C style.
37222         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37223         semicolon.  Fix typo and formatting in comment.
37224         (_nl_unload_domain): Use ISO C style.
37226         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37228 2014-07-02  Will Newton  <will.newton@linaro.org>
37230         * malloc/obstack.c: Merge from gnulib master.
37231         [HAVE_CONFIG_H]: Remove conditional code.
37232         [!_LIBC]: Include config.h.
37233         [!ELIDE_CODE]: Don't include inttypes.h, include
37234         stdint.h unconditionally.
37235         (print_and_abort): Mark as _Noreturn.
37236         (_obstack_allocated_p): Mark as __attribute_pure__.
37237         (obstack_free): Rename to __obstack_free.
37238         [!__attribute__]: Remove conditional code.
37239         * malloc/obstack.h: Merge from gnulib master.
37240         [__cplusplus]: Move conditional down.
37241         [!__attribute_pure__]: Define __attribute_pure__ here
37242         if it is not already defined.
37243         (_obstack_memory_used): Mark as __attribute_pure__.
37244         [!__obstack_free]: Define as obstack_free.
37245         [__GNUC__]: Remove check for ancient NeXT gcc.
37247 2014-07-02  Will Newton  <will.newton@linaro.org>
37248             Paul Eggert  <eggert@cs.ucla.edu>
37250         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37252 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37254         * resolv/gethnamaddr.c: Add comment warning that the file is
37255         not maintained.
37257 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37259         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37260         entries.
37262         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37263         entry for aio_cancel and aio_cancel64.
37264         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37265         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37266         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37267         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37268         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37269         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37270         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37271         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37272         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37273         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37274         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37275         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37276         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37278 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37280         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37281         * nptl/pthread_mutex_lock.c: Likewise.
37282         * nptl/pthread_mutex_timedlock.c: Likewise.
37283         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37285 2014-07-01  Richard henderson  <rth@redhat.com>
37287         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37288         (__isnan, __isnanl): Remove.
37289         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37291         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37293 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37297 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37299         * resolv/nss_dns/dns-host.c (getanswer_r)
37300         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37302 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37304         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37305         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37306         undefine.
37307         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37308         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37310 2014-07-01  Roland McGrath <roland@hack.frob.com>
37312         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37313         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37315         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37316         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37318         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37319         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37320         ... here.
37321         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37322         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37324         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37325         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37326         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37327         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37329         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37330         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37331         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37334         Moved ...
37335         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37336         ... here.
37337         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37346         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37347         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37348         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37349         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37350         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37351         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37352         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37353         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37354         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37355         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37356         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37357         ... here.
37358         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37359         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37360         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37361         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37362         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37363         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37364         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37365         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37367 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37369         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37370         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37371         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37372         Add sysdep.
37374 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37378 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37385         * sysdeps/arm/libm-test-ulps: Regenerated.
37387 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37388             Roland McGrath <roland@hack.frob.com>
37390         * test-skeleton.c (signal_handler): Kill the whole process group
37391         before killing the child individually.
37392         (main): Report any failure on `setpgid'.
37394 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37396         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37397         from _TLS_H to _ARM_NPTL_TLS_H.
37398         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37399         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37401 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37403         [BZ #16539]
37404         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37405         (__expm1l): Return argument unchanged when small but not
37406         subnormal.
37408         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37409         include macro name.
37410         (_FP_UNPACK_RAW_1_P): Likewise.
37411         (_FP_PACK_RAW_1): Likewise.
37412         (_FP_PACK_RAW_1_P): Likewise.
37413         (_FP_MUL_MEAT_1_wide): Likewise.
37414         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37415         (_FP_MUL_MEAT_1_hard): Likewise.
37416         (_FP_DIV_MEAT_1_imm): Likewise.
37417         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37418         (_FP_DIV_MEAT_1_udiv): Likewise.
37419         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37420         (_FP_UNPACK_RAW_2): Likewise.
37421         (_FP_UNPACK_RAW_2_P): Likewise.
37422         (_FP_PACK_RAW_2): Likewise.
37423         (_FP_PACK_RAW_2_P): Likewise.
37424         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37425         (_FP_MUL_MEAT_2_wide): Likewise.
37426         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37427         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37428         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37429         (_FP_MUL_MEAT_2_gmp): Likewise.
37430         (_FP_DIV_MEAT_2_udiv): Likewise.
37431         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37432         (_FP_FRAC_SRL_4): Likewise.
37433         (_FP_FRAC_SRST_4): Likewise.
37434         (_FP_FRAC_SRS_4): Likewise.
37435         (_FP_UNPACK_RAW_4): Likewise.
37436         (_FP_UNPACK_RAW_4_P): Likewise.
37437         (_FP_PACK_RAW_4): Likewise.
37438         (_FP_PACK_RAW_4_P): Likewise.
37439         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37440         (_FP_MUL_MEAT_4_wide): Likewise.
37441         (_FP_MUL_MEAT_4_gmp): Likewise.
37442         (umul_ppppmnnn): Likewise.
37443         (_FP_DIV_MEAT_4_udiv): Likewise.
37444         (__FP_FRAC_ADD_4): Likewise.
37445         (__FP_FRAC_SUB_3): Likewise.
37446         (__FP_FRAC_SUB_4): Likewise.
37447         (__FP_FRAC_DEC_3): Likewise.
37448         (__FP_FRAC_DEC_4): Likewise.
37449         (__FP_FRAC_ADDI_4): Likewise.
37450         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37451         (_FP_FRAC_SRL_8): Likewise.
37452         (_FP_FRAC_SRS_8): Likewise.
37454         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37455         include macro name.
37456         (FP_UNPACK_RAW_EP): Likewise.
37457         (FP_PACK_RAW_E): Likewise.
37458         (FP_PACK_RAW_EP): Likewise.
37459         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37460         (_FP_ISSIGNAN): Likewise.
37461         (_FP_ADD_INTERNAL): Likewise.
37462         (_FP_FMA): Likewise.
37463         (_FP_CMP): Likewise.
37464         (_FP_SQRT): Likewise.
37465         (_FP_TO_INT): Likewise.
37466         (_FP_FROM_INT): Likewise.
37467         (FP_EXTEND): Likewise.
37468         (_FP_DIV_MEAT_N_loop): Likewise.
37470 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37472         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37473         throughout.
37475 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37477         [BZ #17097]
37478         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37479         result with correct sign in case of exponents that produce
37480         overflow except for X very close to 1.
37482 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37484         mktime: merge #if/#ifdef usage from glibc
37485         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37486         as that works with both Glibc's and Gnulib's style.
37487         See thread starting at Siddhesh Poyarekar's bug report at:
37488         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37490 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37492         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37493         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37494         * sysdeps/tile/tilegx/memmove.c: Remove file.
37496 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37498         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37499         abi-name definition.
37500         * scripts/soversions.awk: Do not handle or generate ABI lines.
37501         * shlib-versions: Remove ABI entries.
37502         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37503         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37505 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37507         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37508         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37509         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37512         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37514         Moved ...
37515         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37516         ... here.
37517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37518         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37520         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37522         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37524         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37526         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37528         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37529         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37530         Moved ...
37531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37535         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37536         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37537         Moved ...
37538         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37539         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37540         Moved ...
37541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37543         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37544         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37545         Moved ...
37546         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37548         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37550         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37552         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37554         Moved ...
37555         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37556         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37557         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37559         Moved ...
37560         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37561         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37562         Moved ...
37563         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37564         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37565         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37566         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37567         Moved ...
37568         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37569         ... here.
37570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37571         Identical file removed.
37572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37573         Moved ...
37574         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37576         Identical file removed.
37577         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37578         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37580         Moved ...
37581         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37582         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37583         Identical file removed.
37584         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37585         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37586         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37587         Identical file removed.
37588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37589         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37590         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37591         Identical file removed.
37592         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37593         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37594         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37595         Identical file removed.
37596         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37597         Moved ...
37598         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37600         Identical file removed.
37601         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37602         Moved ...
37603         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37604         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37605         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37607         Identical file removed.
37608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37609         Moved ...
37610         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37611         ... here.
37612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37613         Identical file removed.
37614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37615         Moved ...
37616         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37618         Identical file removed.
37619         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37620         Moved ...
37621         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37623         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37625         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37627         Moved ...
37628         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37629         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37630         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37632         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37633         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37634         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37635         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37636         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37638 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37640         [BZ #17092]
37641         * nscd/nscd.c (monitor_child): Return exit status of child
37642         instead of return value from wait syscall.
37644 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37646         * configure.ac (libc_commonpagesize): Remove variable.
37647         (libc_relro_required): Likewise.
37648         (libc_cv_z_relro): Remove configure test.
37649         * configure: Regenerated.
37650         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37651         variable.
37652         (libc_relro_required): Likewise.
37653         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37654         (libc_relro_required): Likewise.
37655         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37656         (libc_relro_required): Likewise.
37657         * sysdeps/arm/preconfigure: Regenerated.
37658         * sysdeps/ia64/preconfigure: Remove file.
37659         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37660         variable.
37661         (libc_relro_required): Likewise.
37663         [BZ #16561]
37664         [BZ #16562]
37665         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37666         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37667         recompute overflowing results in original rounding mode.
37668         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37669         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37670         recompute overflowing results in original rounding mode.
37671         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37672         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37673         recompute overflowing results in original rounding mode.
37674         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37675         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37676         recompute overflowing results in original rounding mode.
37677         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37678         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37679         recompute overflowing results in original rounding mode.
37680         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37681         (libc_feholdsetround_ctx): New macro.
37682         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37683         * sysdeps/i386/fpu/libm-test-ulps: Update.
37684         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37686 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37688         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37689         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37690         corresponding .cpsetup call.
37692 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37694         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37695         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37696         * sysdeps/arm/Makefile [$(subdir) = csu]
37697         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37698         (static-only-routines): Add aeabi_read_tp here.
37699         (shared-only-routines): Add libc-aeabi_read_tp here.
37700         (CFLAGS-libc-start.c): Add -fexceptions here.
37701         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37702         (sysdep_routines, static-only-routines, shared-only-routines):
37703         Don't add to these here.
37704         (CFLAGS-libc-start.c): Likewise.
37706         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37707         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37708         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37709         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37710         * sysdeps/arm/Makefile [$(subdir) = rt]
37711         (librt-sysdep_routines, librt-shared-only-routines):
37712         Append rt-aeabi_unwind_cpp_pr1 here.
37713         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37714         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37715         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37716         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37717         Append nptl-aeabi_unwind_cpp_pr1 here.
37718         (tests): Filter out tst-cleanupx4 here.
37719         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37720         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37721         Don't do those here.
37723 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37725         * scripts/list-sources.sh: Do not handle ports specially.
37727 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37729         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37730         * sysdeps/arm/feupdateenv.c: Likewise.
37732         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37734 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37736         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37737         trailing whitespace removed.
37738         * scripts/config.guess: Update to version 2014-03-23.
37739         * scripts/config.sub: Update to version 2014-05-01
37740         * scripts/install-sh: Update to version 2013-12-25.23.
37741         * scripts/move-if-change: Update from gnulib.
37743 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37745         * debug/memmove_chk.c: Remove pagecopy.h include.
37747 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37749         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37750         identical to gnulib mktime.
37752 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37754         * configure.ac: Do not test for machine being rs6000.  Do not test
37755         for powerpc*-*soft.
37756         * configure: Regenerated.
37758         [BZ #11505]
37759         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37760         test.
37761         * configure: Regenerated.
37762         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37763         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37764         Remove configure test.
37765         * sysdeps/arm/configure: Regenerated.
37766         * sysdeps/nptl/configure.ac: Do not check
37767         libc_cv_asm_cfi_directives.
37768         * sysdeps/nptl/configure: Regenerated.
37769         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37770         * sysdeps/x86_64/nptl/configure: Remove generated file.
37771         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37772         unconditional.
37773         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37775 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37777         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37778         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37779         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37780         it is defined.
37782         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37783         instead of whether it is defined.
37784         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37785         * sysdeps/hppa/dl-machine.h: Likewise.
37786         * sysdeps/ia64/dl-machine.h: Likewise.
37787         * sysdeps/m68k/dl-machine.h: Likewise.
37788         * sysdeps/microblaze/dl-machine.h: Likewise.
37789         * sysdeps/mips/dl-machine.: Likewise.
37790         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37791         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37792         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37793         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37794         * sysdeps/sh/dl-machine.h: Likewise.
37795         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37796         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37797         * sysdeps/tile/dl-machine.h: Likewise.
37798         * sysdeps/x86_64/dl-machine.h: Likewise.
37800         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37801         code.
37802         (verify_persistent_db): Likewise.
37804 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37807         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37809         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37811         Moved ...
37812         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37813         ... here.
37814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37815         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37817         Identical file removed.
37818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37819         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37821         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37823         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37825         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37827         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37829         Moved ...
37830         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37832         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37834         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37836         Moved ...
37837         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37839         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37841         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37843         Identical file removed.
37844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37845         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37847         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37849         Moved ...
37850         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37851         ... here.
37852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37853         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37855         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37857         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37859         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37861         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37862         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37863         Moved ...
37864         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37866         Moved ...
37867         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37869         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37871         Moved ...
37872         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37874         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37876         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37877         folded into ...
37878         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37879         * sysdeps/unix/sysv/linux/s390/Versions
37880         (libpthread: GLIBC_2.19): New version set.
37881         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37882         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37883         (librt: GLIBC_2.3.3): New version set.
37884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37885         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37886         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37887         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37888         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37889         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37890         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37891         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37892         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37893         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37894         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37895         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37896         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37897         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37898         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37899         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37900         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37901         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37902         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37903         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37904         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37906         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37910         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37912         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37913         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37914         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37915         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37918         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37924         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37926         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37927         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37928         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37930         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37931         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37932         (__libc_vfork): Define the function under this name.
37933         [!NOT_IN_libc] (__vfork): Make this an alias.
37934         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37936         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37937         (__libc_vfork): Define the function under this name.
37938         [!NOT_IN_libc] (__vfork): Make this an alias.
37939         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37940         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37941         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37943         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37944         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37946         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37947         code that was previously under [RESET_PID].
37948         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37949         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37952         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37953         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37954         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37955         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37956         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37957         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37958         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37959         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37960         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37961         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37962         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37963         Moved ...
37964         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37965         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37966         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37967         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37968         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37969         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37970         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37971         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37972         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37973         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37974         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37975         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37976         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37977         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37978         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37979         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37980         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37981         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37982         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37983         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37984         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37985         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37986         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37987         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37988         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37989         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37990         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37991         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37992         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37994 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37996         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37997         that was previously under [RESET_PID].
37998         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38000 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38002         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38003         not undefine and redefine.
38004         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38005         [O_CLOEXEC]: Make code unconditional.
38006         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38007         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38008         <kernel-features.h>.
38009         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38010         conditional variable definition.
38011         (shm_open) [O_CLOEXEC]: Make code unconditional.
38012         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38013         code.
38015         * configure.ac (USE_REGPARMS): Don't define here.
38016         * configure: Regenerated.
38017         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38018         * sysdeps/i386/configure: Regenerated.
38020         * nptl/createthread.c: Don't include kernel-features.h.
38021         * nptl/pthread_cancel.c: Likewise.
38022         * nptl/pthread_condattr_setclock.c: Likewise.
38023         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38024         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38025         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38026         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38027         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38028         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38032         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38033         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38034         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38035         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38036         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38037         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38038         * nscd/gai.c: Likewise.
38039         * nss/nss_db/db-open.c: Likewise.
38040         * sysdeps/generic/ldsodefs.h: Likewise.
38041         * sysdeps/sh/nptl/tls.h: Likewise.
38042         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38043         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38044         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38045         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38046         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38047         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38048         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38050         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38051         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38052         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38053         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38054         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38055         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38056         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38057         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38058         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38059         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38060         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38061         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38070         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38071         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38072         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38073         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38074         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38075         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38077         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38078         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38079         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38080         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38081         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38082         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38083         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38084         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38085         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38086         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38087         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38088         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38089         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38090         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38091         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38092         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38093         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38094         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38095         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38096         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38097         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38098         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38099         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38122         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38123         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38124         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38125         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38126         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38129         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38130         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38131         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38132         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38133         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38134         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38135         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38136         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38137         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38138         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38139         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38140         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38141         * sysdeps/unix/sysv/linux/system.c: Likewise.
38142         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38143         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38144         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38145         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38146         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38147         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38148         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38150         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38151         * configure: Regenerated.
38152         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38154         * configure.ac (base_machine): Do not set specially for particular
38155         machines here.
38156         * configure: Regenerated.
38157         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38158         settings from configure.ac.
38159         * sysdeps/i386/preconfigure: New file.
38160         * sysdeps/s390/preconfigure: Likewise.
38161         * sysdeps/sh/preconfigure: Likewise.
38162         * sysdeps/sparc/preconfigure: Likewise.
38164 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38166         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38167         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38168         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38169         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38170         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38171         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38172         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38173         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38174         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38175         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38176         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38177         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38178         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38182         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38183         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38184         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38186         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38187         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38188         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38189         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38190         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38191         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38192         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38193         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38194         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38195         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38196         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38197         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38198         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38199         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38200         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38201         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38202         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38203         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38204         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38205         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38207         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38209         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38214         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38215         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38217         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38219         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38221         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38222         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38223         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38226         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38228         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38229         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38230         Moved ...
38231         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38232         ... here.
38233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38234         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38236         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38237         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38238         Moved ...
38239         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38241         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38245         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38247         Moved ...
38248         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38250         Moved ...
38251         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38253         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38255         Moved ...
38256         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38258         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38260         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38262         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38264         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38266         Moved ...
38267         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38268         ... here.
38269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38270         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38272         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38274         Moved ...
38275         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38277         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38279         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38281         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38283         Moved ...
38284         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38285         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38286         Moved ...
38287         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38289         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38291         Moved ...
38292         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38294         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38295         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38296         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38298 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38300         * timezone/checktab.awk: Update from tzcode 2014e.
38301         * timezone/private.h: Likewise.
38302         * timezone/tzfile.h: Likewise.
38303         * timezone/zdump.c: Likewise.
38304         * timezone/zic.c: Likewise.
38306         * sysdeps/unix/sysv/linux/kernel-features.h
38307         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38308         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38309         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38310         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38311         Remove conditional code.
38313 2014-06-25  Will Newton  <will.newton@linaro.org>
38315         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38316         (_dl_arm_cap_flags): Add HWCAP2 values.
38317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38318         (_DL_HWCAP_COUNT): Increase to 37.
38319         (_DL_HWCAP_LAST): New define.
38320         (_DL_HWCAP2_LAST): New define.
38321         (_dl_procinfo): Add support for printing
38322         AT_HWCAP2 entries.
38323         (_dl_string_hwcap): Use _dl_hwcap_string.
38325 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38329 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38331         * README: Do not mention ports directory.
38333         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38334         Remove macro.
38335         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38336         <kernel-features.h>.
38337         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38338         conditional variable definition.
38339         (__futimes): Update comment.
38340         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38341         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38343         [BZ #16560]
38344         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38345         arguments close to 0.
38346         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38347         Likewise.
38348         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38349         Likewise.
38350         * math/auto-libm-test-in: Add more tests of exp10.
38351         * math/auto-libm-test-out: Regenerated.
38352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38354         * sysdeps/unix/sysv/linux/kernel-features.h
38355         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38356         * sysdeps/unix/sysv/linux/readv.c: Do not include
38357         <kernel-features.h>.
38358         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38359         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38360         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38361         unconditional.
38362         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38363         conditional code.
38364         * sysdeps/unix/sysv/linux/writev.c: Do not include
38365         <kernel-features.h>.
38366         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38367         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38368         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38369         unconditional.
38370         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38371         conditional code.
38373 2014-06-25  Will Newton  <will.newton@linaro.org>
38375         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38376         comment changes throughout the file.  Remove checks
38377         for HAVE_*_H definitions that are not required.
38378         (__gen_tempname): Call abort if an unknown kind value is
38379         passed.
38381 2014-06-25  Andreas Schwab  <schwab@suse.de>
38383         [BZ #17086]
38384         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38385         scalbln, scalblnf, scalblnl in libc.
38387 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38389         [BZ #17086]
38390         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38391         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38392         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38394 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38396         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38397         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38398         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38399         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38400         Update #include.
38401         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38402         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38403         Update #include.
38404         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38405         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38406         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38407         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38408         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38409         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38410         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38411         * sysdeps/x86/bits/semaphore.h: ... here.
38412         * sysdeps/x86/nptl/elide.h: Moved ...
38413         * sysdeps/x86/elide.h: ... here.
38414         * sysdeps/x86_64/nptl/Implies: File removed.
38415         * sysdeps/i386/nptl/Implies: File removed.
38417 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38419         [BZ #16539]
38420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38421         return the argument for normal arguments with exponent below -64.
38422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38423         Likewise.
38424         * math/auto-libm-test-in: Add another test of expm1.
38425         * math/auto-libm-test-out: Regenerated.
38427         [BZ #16287]
38428         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38429         calling __erfcl for arguments at least 16.
38430         * math/auto-libm-test-in: Add more tests of erf.
38431         * math/auto-libm-test-out: Regenerated.
38433         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38434         individual architectures.
38435         * sysdeps/unix/sysv/linux/configure: Regenerated.
38436         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38437         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38438         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38439         (ldd_rewrite_script): Define variable.
38440         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38442         file.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38444         generated file.
38445         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38446         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38447         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38448         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38449         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38450         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38451         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38452         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38454 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38456         [BZ #17084]
38457         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38458         Rename member __data.d to __data.__elision_data.
38460 2014-06-24  Wilco  <wdijkstr@arm.com>
38462         * NEWS: Add 16918 to fixed bug list.
38464 2014-06-24  Wilco  <wdijkstr@arm.com>
38466         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38468 2014-06-24  Wilco  <wdijkstr@arm.com>
38470         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38471         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38472         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38473         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38474         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38475         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38476         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38477         Use _FPU_MASK_RM.
38479 2014-06-24  Wilco  <wdijkstr@arm.com>
38481         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38483 2014-06-24  Wilco  <wdijkstr@arm.com>
38485         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38486         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38487         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38488         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38490 2014-06-24  Wilco  <wdijkstr@arm.com>
38492         [BZ #16918]
38493         * sysdeps/arm/feupdateenv.c (feupdateenv):
38494         Rewrite to reduce FPSCR accesses and fix return value.
38496 2014-06-24  Wilco  <wdijkstr@arm.com>
38498         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38499         Optimize to avoid unnecessary FPSCR writes.
38500         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38501         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38502         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38503         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38505 2014-06-24  Wilco  <wdijkstr@arm.com>
38507         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38508         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38509         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38510         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38511         Call libc_fetestexcept_vfp.
38512         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38513         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38514         __SOFTFP__ ifdef so that they can be built for softfp.
38516 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38518         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38519         argument type signed char.
38521         * Makerules (check-abi): Dump diff of symlist if the test
38522         fails.
38524 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38526         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38527         using abort.
38529         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38530         Remove unused variable ST.
38532 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38534         [BZ #16354]
38535         [BZ #17061]
38536         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38537         small arguments before calling __expm1.
38538         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38539         small arguments before calling __expm1f.
38540         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38541         small arguments before calling __expm1l.
38542         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38543         Likewise.
38544         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38545         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38546         spurious underflow for some cosh tests.
38547         * math/auto-libm-test-out: Regenerated.
38548         * sysdeps/i386/fpu/libm-test-ulps: Update.
38550         [BZ #17050]
38551         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38552         (__ieee754_y1): Set errno if return value overflows.
38553         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38554         (__ieee754_y1f): Set errno if return value overflows.
38555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38556         (__ieee754_y1l): Set errno if return value overflows.
38557         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38558         (__ieee754_y1l): Set errno if return value overflows.
38559         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38560         * math/auto-libm-test-out: Regenerated.
38562         * math/gen-auto-libm-tests.c: Document use of
38563         ignore-zero-inf-sign.
38564         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38565         (input_flags): Add ignore-zero-inf-sign.
38566         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38567         * math/gen-libm-test.pl (generate_testfile): Handle
38568         ignore-zero-inf-sign.
38569         * math/auto-libm-test-in: Mark some cpow tests with
38570         ignore-zero-inf-sign and some with xfail-rounding.
38571         * math/auto-libm-test-out: Regenerated.
38572         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38573         * sysdeps/i386/fpu/libm-test-ulps: Update.
38574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38576         [BZ #16315]
38577         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38578         overflowing or underflowing operations take place with sign of
38579         result.
38580         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38581         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38582         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38583         (__ieee754_pow): Recompute overflowing and underflowing results in
38584         original rounding mode.
38585         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38586         (__powl_helper): Allow negative argument X and scale negated value
38587         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38588         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38589         overflowing or underflowing operations take place with sign of
38590         result.
38591         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38592         Include <math.h>.
38593         * math/auto-libm-test-in: Add more tests of pow.
38594         * math/auto-libm-test-out: Regenerated.
38595         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38596         (pow_tonearest_test_data): Remove.
38597         (pow_test_tonearest): Likewise.
38598         (pow_towardzero_test_data): Likewise.
38599         (pow_test_towardzero): Likewise.
38600         (pow_downward_test_data): Likewise.
38601         (pow_test_downward): Likewise.
38602         (pow_upward_test_data): Likewise.
38603         (pow_test_upward): Likewise.
38604         (main): Don't call removed functions.
38605         * sysdeps/i386/fpu/libm-test-ulps: Update.
38606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38608 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38611         Moved ...
38612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38614         Moved ...
38615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38617         Moved ...
38618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38620         Moved ...
38621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38623         File removed.
38624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38625         File removed.
38626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38627         File removed.
38628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38629         File removed.
38630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38631         File removed.
38632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38633         File removed.
38634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38635         File removed.
38636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38637         File removed.
38638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38639         File removed.
38640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38641         File removed.
38642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38643         File removed.
38644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38645         File removed.
38646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38647         Moved ...
38648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38650         Moved ...
38651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38652         ... here.
38653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38654         Moved ...
38655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38657         Moved ...
38658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38660         Moved ...
38661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38663         Moved ...
38664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38666         Moved ...
38667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38669         Moved ...
38670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38672         Moved ...
38673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38676         ... here.
38677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38678         Moved ...
38679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38681         Moved ...
38682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38683         ... here.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38685         Moved ...
38686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38687         ... here.
38688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38689         Moved ...
38690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38691         ... here.
38692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38693         Moved ...
38694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38696         Moved ...
38697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38701         Moved ...
38702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38703         ... here.
38704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38705         Moved ...
38706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38707         ... here.
38708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38709         Moved ...
38710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38712         Moved ...
38713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38715         Moved ...
38716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38718         Moved ...
38719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38721         Moved ...
38722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38723         ... here.
38724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38725         Moved ...
38726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38728         Moved ...
38729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38731         Moved ...
38732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38734         Moved ...
38735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38739         Moved ...
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38742         Moved ...
38743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38745         Moved ...
38746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38747         ... here.
38748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38749         Moved ...
38750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38751         ... here.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38753         Moved ...
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38755         ... here.
38756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38757         Moved ...
38758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38760         Moved ...
38761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38763         Moved ...
38764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38766         Moved ...
38767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38768         ... here.
38769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38770         Moved ...
38771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38772         ... here.
38773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38774         Moved ...
38775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38776         ... here.
38777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38778         Moved ...
38779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38781         Moved ...
38782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38784 2014-06-23  Will Newton  <will.newton@linaro.org>
38785             Wilco  <wdijkstr@arm.com>
38787         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38788         implementation.  Include get-rounding-mode.h.
38789         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38790         [!libc_feholdsetround_noex_ctx]: Define
38791         libc_feholdsetround_noex_ctx.
38792         [!libc_feholdsetround_noexf_ctx]: Define
38793         libc_feholdsetround_noexf_ctx.
38794         [!libc_feholdsetround_noexl_ctx]: Define
38795         libc_feholdsetround_noexl_ctx.
38796         (libc_feholdsetround_ctx): New function.
38797         (libc_feresetround_ctx): New function.
38798         (libc_feholdsetround_noex_ctx): New function.
38799         (libc_feresetround_noex_ctx): New function.
38801 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38803         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38804         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38805         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38806         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38807         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38808         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38810         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38811         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38812         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38813         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38814         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38815         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38817         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38819         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38820         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38821         Moved ...
38822         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38823         ... here.
38824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38825         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38827         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38828         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38829         Moved ...
38830         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38832         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38834         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38836         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38837         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38838         Moved ...
38839         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38840         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38841         Moved ...
38842         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38844         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38845         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38846         Moved ...
38847         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38848         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38849         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38850         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38851         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38852         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38853         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38855         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38856         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38857         Moved ...
38858         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38859         ... here.
38860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38861         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38863         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38865         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38867         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38869         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38871         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38872         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38873         Moved ...
38874         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38876         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38878         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38879         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38880         Moved ...
38881         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38882         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38883         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38884         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38885         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38887         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38888         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38889         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38890         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38891         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38892         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38893         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38894         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38895         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38896         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38897         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38898         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38899         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38900         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38901         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38902         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38903         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38904         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38905         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38906         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38907         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38908         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38909         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38910         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38911         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38912         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38913         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38914         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38916 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38919         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38920         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38921         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38922         (IPV6_PMTUDISC_INTERFACE): Likewise.
38923         (IPV6_PMTUDISC_OMIT): Likewise.
38925 2014-06-23  Andreas Schwab  <schwab@suse.de>
38927         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38928         Remove unused errout label.
38930 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38932         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38933         macro: hardware supports Vector Crypto instructions.
38935 2014-06-23  Will Newton  <will.newton@linaro.org>
38937         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38938         rather than __builtin_expect.
38940         * elf/dl-lookup.c (undefined_msg): Remove variable.
38941         (_dl_lookup_symbol_x): Replace undefined_msg with string
38942         literal.
38944         * elf/dl-lookup.c (do_lookup_unique): New function.
38945         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38946         to a separate function.
38948 2014-06-23  Andreas Schwab  <schwab@suse.de>
38950         [BZ #17079]
38951         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38952         before reading the next line.
38954 2014-06-23  Will Newton  <will.newton@linaro.org>
38956         * test-skeleton.c (signal_handler): Use printf and %m
38957         rather than perror.  Use printf rather than fprintf to
38958         stderr.  Use puts rather than fputs to stderr.
38959         (main): Likewise.
38961 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38963         * nscd/nscd.c (thread_info_t): Remove typedef.
38964         (thread_info): Remove variable.
38966 2014-06-21  Allan McRae  <allan@archlinux.org>
38968         * NEWS: Mention CVE-2014-4043.
38970 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38972         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38973         * nptl/smp.h: ... here.
38975         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38977         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38978         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38979         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38980         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38982         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38983         * nptl/stack-aliasing.h: New file.
38984         * sysdeps/i386/i686/stack-aliasing.h: New file.
38985         * sysdeps/i386/i686/nptl/Makefile: File removed.
38986         * sysdeps/x86_64/stack-aliasing.h: New file.
38987         * sysdeps/x86_64/nptl/Makefile
38988         (CFLAGS-pthread_create.c): Variable removed.
38990         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38991         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38992         old file.
38993         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38994         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38995         old file.
38997 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38999         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39000         (__ASSUME_SIGFRAME_V2): Remove macro.
39001         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39002         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39003         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39004         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39005         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39006         Declare as function.  Remove conditional macro definitions.
39007         (__default_rt_sa_restorer): Likewise.
39008         (__default_sa_restorer_v1): Remove declaration.
39009         (__default_sa_restorer_v2): Likewise.
39010         (__default_rt_sa_restorer_v1): Likewise.
39011         (__default_rt_sa_restorer_v2): Likewise.
39012         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39013         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39014         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39016 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39018         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39019         (libpthread-routines): Add sysdep.
39020         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39021         * sysdeps/unix/sysv/linux/sparc/Versions
39022         (libpthread: GLIBC_2.3.3): New version set.
39023         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39024         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39025         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39026         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39027         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39028         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39029         Moved ...
39030         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39031         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39032         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39033         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39034         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39035         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39036         * sysdeps/sparc/nptl/sem_init.c: ... here.
39037         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39038         * sysdeps/sparc/nptl/sem_post.c: ... here.
39039         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39040         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39041         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39042         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39043         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39044         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39045         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39046         (libpthread-routines): Add cpu_relax.
39047         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39048         File removed.
39049         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39050         (librt: GLIBC_2.3.3): New version set.
39051         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39052         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39053         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39054         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39057         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39059         Moved ...
39060         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39062         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39064         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39066         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39068         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39070         Moved ...
39071         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39072         Update #include.
39073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39074         Moved ...
39075         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39076         Update #include.
39077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39078         Moved ...
39079         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39080         Update #include.
39081         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39082         Moved ...
39083         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39084         Update #include.
39085         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39086         Moved ...
39087         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39088         Update #include.
39089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39090         Moved ...
39091         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39092         Update #include.
39093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39094         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39098         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39100         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39102         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39104         Moved ...
39105         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39109         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39111 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39113         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39114         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39115         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39116         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39117         * nscd/nscd.c: Likewise.
39118         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39119         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39120         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39121         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39123         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39124         <kernel-features.h>.
39125         (init_mq_netlink): Remove conditional have_sock_cloexec
39126         definitions.  Remove code conditional on have_sock_cloexec < 0.
39127         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39128         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39129         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39130         <kernel-features.h>.
39131         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39132         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39134 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39137         Add tests for memset_chk and memset.
39139         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39140         with AVX2_Usable.
39142 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39144         [BZ #16046]
39145         * elf/tst-dl-iter-static.c: New file.
39146         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39148         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39149         error.
39151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39153         * sysdeps/unix/sysv/linux/kernel-features.h
39154         (__ASSUME_F_GETOWN_EX): Remove macro.
39155         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39156         <kernel-features.h>.
39157         (miss_F_GETOWN_EX): Remove variable or macro.
39158         (do_fcntl): Do not check miss_F_GETOWN_EX.
39159         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39161         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39162         Remove macro.
39163         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39164         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39165         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39167         * sysdeps/unix/sysv/linux/kernel-features.h
39168         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39169         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39170         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39171         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39173 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39175         [BZ #17075]
39176         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39177         Fix calculation of the symbol's value.
39178         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39179         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39180         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39181         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39182         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39183         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39184         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39185         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39186         (modules-names): Add `tst-armtlsdescmod',
39187         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39188         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39189         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39190         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39191         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39192         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39193         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39194         ($(objpfx)tst-armtlsdescloc): New dependency.
39195         ($(objpfx)tst-armtlsdescextnow): Likewise.
39196         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39197         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39198         TLS scheme support.
39199         * sysdeps/arm/configure: Regenerate.
39201 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39203         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39204         (__atfct_seterrno_2): Likewise.
39205         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39206         <kernel-features.h>.
39207         (__ASSUME_ATFCTS): Do not undefine and redefine.
39208         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39209         (__have_atfcts): Remove conditional definition.
39210         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39211         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39212         unreachable if [__ASSUME_ATFCTS].
39213         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39214         not undefine and redefine.
39215         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39216         <kernel-features.h>.
39217         (faccessat) [__NR_faccessat]: Make code unconditional.
39218         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39219         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39220         <kernel-features.h>.
39221         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39222         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39223         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39224         <kernel-features.h>.
39225         (fchownat) [__NR_fchownat]: Make code unconditional.
39226         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39227         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39228         <kernel-features.h>.
39229         (futimesat) [__NR_futimesat]: Make code unconditional.
39230         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39231         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39232         <kernel-features.h>.
39233         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39234         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39235         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39236         <kernel-features.h>.
39237         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39238         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39239         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39240         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39241         <kernel-features.h>.
39242         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39243         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39244         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39245         <kernel-features.h>.
39246         (linkat) [__NR_linkat]: Make code unconditional.
39247         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39248         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39249         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39250         <kernel-features.h>.
39251         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39252         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39253         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39254         <kernel-features.h>.
39255         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39256         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39257         * sysdeps/unix/sysv/linux/openat.c: Do not include
39258         <kernel-features.h>.
39259         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39260         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39261         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39262         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39263         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39264         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39265         <kernel-features.h>.
39266         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39267         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39268         result of INLINE_SYSCALL directly, not via int variable.
39269         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39270         <kernel-features.h>.
39271         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39272         (renameat) [__NR_renameat]: Make code unconditional.
39273         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39274         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39275         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39276         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39277         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39278         (__ASSUME_ATFCTS): Do not undefine and redefine.
39279         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39280         <kernel-features.h>.
39281         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39282         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39283         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39284         <kernel-features.h>.
39285         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39286         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39287         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39288         (__ASSUME_ATFCTS): Do not undefine and redefine.
39289         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39290         <kernel-features.h>.
39291         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39292         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39293         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39294         <kernel-features.h>.
39295         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39296         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39298 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39300         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39302 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39304         [BZ #17069]
39305         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39306         constructed tree before returning error.
39307         * posix/bug-regexp36.c: Expand test case.
39309 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39311         [BZ #6803]
39312         * math/libm-test.inc (scalbln_test_date):
39313         Add errno expectations.
39314         * math/w_scalblnf.c: New File.
39315         Add wrapper which checks for setting errno to ERANGE.
39316         Add weak_alias for corresponding scalbln function.
39317         * math/w_scalbln.c: Likewise.
39318         * math/w_scalblnl.c: Likewise.
39319         * math/Makefile (libm-calls): Add w_scalbln.
39320         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39321         Remove weak_alias for corresponding scalbln function.
39322         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39323         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39324         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39325         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39326         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39327         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39328         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39329         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39330         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39331         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39332         Remove long_double_symbol for scalblnl function in libm, libc.
39333         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39334         Add wrapper which checks for setting errno to ERANGE.
39335         Add long_double_symbol for scalblnl function in libm, libc.
39336         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39337         Remove long_double_symbol for scalblnl in libm.
39338         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39339         Add wrapper which checks for setting errno to ERANGE.
39340         Add long_double_symbol for scalblnl function in libm.
39341         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39342         Do not use wrapper because of own implementation.
39344 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39346         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39347         3 bytes for __pad1 for x32.
39348         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39350 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39351             H.J. Lu  <hongjiu.lu@intel.com>
39353         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39354         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39355         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39356         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39357         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39359 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39361         [BZ #17069]
39362         * posix/regcomp.c (parse_expression): Deallocate partially
39363         constructed tree before returning error.
39364         * posix/Makefile.c (tests): Add bug-regex36.
39365         (generated): Add bug-regex36.mtrace.
39366         (tests-special): Add $(objpfx)bug-regex36-mem.out
39367         (bug-regex36-ENV): New variable.
39368         ($(objpfx)bug-regex36-mem.out): New rule.
39369         * posix/bug-regex36.c: New file.
39371 2014-06-19  Will Newton  <will.newton@linaro.org>
39373         * malloc/malloc.c (systrim): If extra is zero then return
39374         early.
39376 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39378         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39380 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39382         * sysdeps/aarch64/strchr.S: New file.
39384 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39386         [BZ #17022]
39387         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39388         from arguments -2 or below.
39389         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39390         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39392 2014-06-18  Andreas Schwab  <schwab@suse.de>
39394         [BZ #17062]
39395         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39396         of a bracket expr not to run off the end of the string.
39397         * posix/Makefile (tests): Add tst-fnmatch3.
39398         * posix/tst-fnmatch3.c: New file.
39400 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39402         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39403         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39404         [$(cross-compiling) = no]: Likewise.
39405         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39406         [$(cross-compiling) = no]: Likewise.
39408 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39410         [BZ #17031]
39411         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39412         double, adjusted for any remainder from the high double.
39413         * math/libm-test.inc (nearbyint): Add tests.
39414         (rint): Likewise.
39416 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39418         * nptl/sysdeps/powerpc/Makefile: Moved ...
39419         * sysdeps/powerpc/nptl/Makefile: ... here.
39420         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39421         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39422         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39423         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39424         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39425         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39426         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39427         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39428         * nptl/sysdeps/powerpc/tls.h: Moved ...
39429         * sysdeps/powerpc/nptl/tls.h: ... here.
39431 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39433         [BZ #16681]
39434         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39435         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39436         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39437         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39438         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39439         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39440         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39441         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39442         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39444 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39446         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39448 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39450         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39451         defined operator.
39453         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39454         $TIMEOUTFACTOR.
39456 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39458         [BZ #17058]
39459         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39460         non-executed part of the test.
39462 2014-06-16  Andreas Schwab  <schwab@suse.de>
39464         * string/bits/string2.h (strdup, strndup): Update feature guard.
39466 2014-06-14  David S. Miller  <davem@davemloft.net>
39468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39470 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39472         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39473         that was previously under [RESET_PID].
39474         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39476         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39477         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39478         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39479         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39480         (__libc_vfork): New strong alias.
39481         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39483 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39485         * sysdeps/generic/elide.h: New file.
39487 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39489         * Makefile (installed-headers): Adjust path of pthread.h header.
39491 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39493         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39494         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39495         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39496         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39498         * nptl/sysdeps/s390/Makefile: Moved ...
39499         * sysdeps/s390/nptl/Makefile: ... here.
39500         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39501         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39502         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39503         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39504         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39505         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39506         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39507         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39508         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39509         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39510         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39511         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39512         * nptl/sysdeps/s390/tls.h: Moved ...
39513         * sysdeps/s390/nptl/tls.h: ... here.
39515         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39516         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39518 2014-06-13  David S. Miller  <davem@davemloft.net>
39520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39523         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39527         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39528         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39529         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39530         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39531         Remove RESET_PID cpp guards.
39532         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39533         Remove RESET_PID cpp guards.
39534         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39536 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39538         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39539         __sp to uintptr_t.
39541 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39564         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39565         (pthread_rwlock_rdlock): Add elision.
39566         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39567         (pthread_rwlock_wrlock): Add elision.
39568         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39569         (pthread_rwlock_trywrlock): Add elision.
39570         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39571         (pthread_rwlock_tryrdlock): Add elision.
39572         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39573         (pthread_rwlock_tryrdlock): Add elision unlock.
39574         * nptl/sysdeps/pthread/pthread.h:
39575         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39576         (PTHREAD_RWLOCK_INITIALIZER,
39577         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39578         Handle new elision field.
39579         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39580         * sysdeps/arm/nptl/bits/pthreadtypes.h
39581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39582         * sysdeps/sh/nptl/bits/pthreadtypes.h
39583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39584         * sysdeps/tile/nptl/bits/pthreadtypes.h
39585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39586         * sysdeps/a/nptl/bits/pthreadtypes.h
39587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39588         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39590         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39592         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39594         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39596         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39598         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39600         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39602         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39603         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39604         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39605         (elision_init): Set try_xbegin to zero when no RTM.
39606         * sysdeps/x86/nptl/bits/pthreadtypes.h
39607         (pthread_rwlock_t): Change __pad1 to __rwelision.
39608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39610 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39612         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39613         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39614         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39615         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39617 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39619         [BZ #16996]
39620         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39621         that the cached result has been set before returning it.
39623 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39625         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39626         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39627         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39628         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39629         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39630         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39632         * nptl/sysdeps/sparc/Makefile: Moved ...
39633         * sysdeps/sparc/nptl/Makefile: ... here.
39634         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39635         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39636         * nptl/sysdeps/sparc/tls.h: Moved ...
39637         * sysdeps/sparc/nptl/tls.h: ... here.
39638         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39639         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39640         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39641         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39642         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39643         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39644         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39645         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39646         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39647         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39648         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39649         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39650         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39651         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39652         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39653         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39654         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39655         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39656         Update #include.
39657         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39658         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39659         Update #include.
39660         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39661         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39662         Update #include.
39663         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39664         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39665         Update #include.
39667         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39669         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39670         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39672         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39673         (struct list_links): Type removed.
39674         (struct thread_node, struct timer_node): Replace struct list_links
39675         with struct list_head.
39676         (list_unlink_ip): Likewise.
39677         * sysdeps/pthread/timer_routines.c
39678         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39679         (list_append, list_insbefore): Likewise.
39680         (list_init): Function removed.
39681         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39682         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39683         * sysdeps/pthread/Makefile: ... here, new file.
39685         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39686         * sysdeps/nptl/Implies: ... here.
39687         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39688         * nptl/sysdeps/pthread/list.h: Moved ...
39689         * include/list.h: ... here.
39690         * nptl/sysdeps/pthread/createthread.c: Moved ...
39691         * nptl/createthread.c: ... here.
39692         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39693         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39694         * nptl/pt-longjmp.c: ... here.
39695         * nptl/sysdeps/pthread/Makefile: Moved ...
39696         * sysdeps/nptl/Makefile: ... here.
39697         * nptl/sysdeps/pthread/Subdirs: Moved ...
39698         * sysdeps/nptl/Subdirs: ... here.
39699         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39700         * sysdeps/nptl/aio_misc.h: ... here.
39701         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39702         * sysdeps/nptl/bits/libc-lock.h: ... here.
39703         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39704         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39705         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39706         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39707         * nptl/sysdeps/pthread/configure: Moved ...
39708         * sysdeps/nptl/configure: ... here.
39709         * nptl/sysdeps/pthread/configure.ac: Moved ...
39710         * sysdeps/nptl/configure.ac: ... here.
39711         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39712         * sysdeps/nptl/gai_misc.h: ... here.
39713         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39714         * sysdeps/nptl/librt-cancellation.c: ... here.
39715         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39716         * sysdeps/nptl/malloc-machine.h: ... here.
39717         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39718         * sysdeps/nptl/pthread-functions.h: ... here.
39719         * nptl/sysdeps/pthread/pthread.h: Moved ...
39720         * sysdeps/nptl/pthread.h: ... here.
39721         * nptl/sysdeps/pthread/setxid.h: Moved ...
39722         * sysdeps/nptl/setxid.h: ... here.
39723         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39724         * sysdeps/nptl/sigfillset.c: ... here.
39725         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39726         * sysdeps/nptl/tcb-offsets.h: ... here.
39727         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39728         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39729         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39730         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39731         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39732         * sysdeps/pthread/allocalim.h: ... here.
39733         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39734         * sysdeps/pthread/bits/sigthread.h: ... here.
39735         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39736         * sysdeps/pthread/flockfile.c: ... here.
39737         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39738         * sysdeps/pthread/ftrylockfile.c: ... here.
39739         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39740         * sysdeps/pthread/funlockfile.c: ... here.
39741         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39742         * sysdeps/pthread/posix-timer.h: ... here.
39743         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39744         * sysdeps/pthread/timer_create.c: ... here.
39745         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39746         * sysdeps/pthread/timer_delete.c: ... here.
39747         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39748         * sysdeps/pthread/timer_getoverr.c: ... here.
39749         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39750         * sysdeps/pthread/timer_gettime.c: ... here.
39751         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39752         * sysdeps/pthread/timer_routines.c: ... here.
39753         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39754         * sysdeps/pthread/timer_settime.c: ... here.
39755         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39756         * sysdeps/pthread/tst-timer.c: ... here.
39757         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39758         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39760         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39761         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39763         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39764         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39765         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39766         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39767         Update #include target.
39768         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39769         * sysdeps/i386/i686/nptl/Makefile: ... here.
39770         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39771         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39772         Update #include target.
39773         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39774         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39775         * nptl/sysdeps/i386/Makefile: Moved ...
39776         * sysdeps/i386/nptl/Makefile: ... here.
39777         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39778         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39779         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39780         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39781         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39782         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39783         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39784         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39785         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39786         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39787         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39788         * nptl/sysdeps/i386/tls.h: Moved ...
39789         * sysdeps/i386/nptl/tls.h: ... here.
39791         * sysdeps/sh/Makefile [$(subdir) = csu]
39792         (gen-as-const-headers): Add tcb-offsets.sym.
39793         * nptl/sysdeps/sh/Makefile: File removed.
39794         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39795         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39796         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39797         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39798         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39799         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39800         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39801         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39802         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39803         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39804         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39805         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39806         * nptl/sysdeps/sh/tls.h: Moved ...
39807         * sysdeps/sh/nptl/tls.h: ... here.
39808         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39809         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39810         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39811         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39812         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39813         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39814         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39815         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39816         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39817         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39819         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39821         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39823         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39825         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39827         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39829         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39831         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39832         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39833         Moved ...
39834         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39835         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39836         Moved ...
39837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39840         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39841         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39842         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39843         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39844         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39845         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39846         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39847         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39848         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39849         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39850         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39851         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39852         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39853         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39854         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39855         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39857 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39859         * posix/spawn_faction_addopen.c: Include string.h.
39861 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39863         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39864         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39865         * nptl/sysdeps/x86_64/Makefile: Moved ...
39866         * sysdeps/x86_64/nptl/Makefile: ... here.
39867         * nptl/sysdeps/x86_64/configure: Moved ...
39868         * sysdeps/x86_64/nptl/configure: ... here.
39869         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39870         * sysdeps/x86_64/nptl/configure.ac: ... here.
39871         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39872         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39873         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39874         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39875         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39876         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39877         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39878         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39879         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39880         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39881         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39882         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39883         * nptl/sysdeps/x86_64/tls.h: Moved ...
39884         * sysdeps/x86_64/nptl/tls.h: ... here.
39885         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39886         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39887         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39888         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39890         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39892 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39896 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39898         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39899         type.
39900         [POSIX] (off_t): Likewise.
39901         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39902         [POSIX] (S_ISBLK): Require macro.
39903         [POSIX] (S_ISCHR): Likewise.
39904         [POSIX] (S_ISDIR): Likewise.
39905         [POSIX] (S_ISFIFO): Likewise.
39906         [POSIX] (S_ISREG): Likewise.
39907         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39908         optional-macro.
39909         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39910         type.
39911         [POSIX] (time_t): Likewise.
39912         [POSIX] (timer_t): Likewise.
39914 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39916         [BZ #17048]
39917         * posix/spawn_int.h (struct __spawn_action): Make the path string
39918         non-const to support deallocation.
39919         * posix/spawn_faction_addopen.c
39920         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39921         * posix/spawn_faction_destroy.c
39922         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39923         path in all spawn_do_open actions.
39924         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39925         posix_spawn_file_actions_addopen.
39927 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39929         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39930         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39931         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39932         conditional code always true.
39933         (__libc_vfork): New alias.
39935 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39937         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39938         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39940         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39942         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39943         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39945         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39946         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39948         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39949         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39951 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39953         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39954         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39955         multiarch strcmp for PPC64.
39956         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39959         multiarch optimizations.
39960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39961         (__libc_ifunc_impl_list): Likewise.
39963 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39965         * benchtests/scripts/validate_benchout.py: New script.
39966         * benchtests/Makefile (bench-func): Call it.
39967         * benchtests/scripts/benchout.schema.json: New file.
39969 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39971         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39972         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39973         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39974         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39975         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39976         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39977         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39978         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39979         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39980         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39981         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39982         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39983         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39984         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39985         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39986         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39988         Moved ...
39989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39990         ... here.
39991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39992         Moved ...
39993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39995         Moved ...
39996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39997         ... here.
39998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39999         Moved ...
40000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40001         ... here.
40002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40003         Moved ...
40004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40006         Moved ...
40007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40008         ... here.
40009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40010         Moved ...
40011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40012         ... here.
40013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40014         Moved ...
40015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40017         Moved ...
40018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40019         ... here.
40020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40021         Moved ...
40022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40023         ... here.
40024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40025         Moved ...
40026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40027         ... here.
40028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40029         Moved ...
40030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40032         Moved ...
40033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40034         ... here.
40035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40036         Moved ...
40037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40038         ... here.
40039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40040         Moved ...
40041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40042         ... here.
40043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40044         Moved ...
40045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40047         Moved ...
40048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40049         ... here.
40050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40051         Moved ...
40052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40053         ... here.
40054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40055         Moved ...
40056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40058         Moved ...
40059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40060         ... here.
40061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40062         Moved ...
40063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40065         Moved ...
40066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40068         Moved ...
40069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40070         ... here.
40071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40072         Moved ...
40073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40074         ... here.
40075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40076         Moved ...
40077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40078         ... here.
40079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40080         Moved ...
40081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40083         Moved ...
40084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40085         ... here.
40086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40087         Moved ...
40088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40089         ... here.
40090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40091         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40093         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40094         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40095         Moved ...
40096         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40097         ... here.
40098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40099         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40101         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40103         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40105         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40107         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40109         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40110         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40111         Moved ...
40112         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40113         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40114         Moved ...
40115         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40117         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40118         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40119         Moved ...
40120         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40121         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40122         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40123         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40124         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40125         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40126         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40128 2014-06-10  Wilco  <wdijkstr@arm.com>
40130         * math/test-fenv-return.c: New file.
40131         * math/Makefile: Add new test test-fenv-return.
40133 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40135         [BZ #17042]
40136         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40137         when x - 1 is zero.
40138         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40139         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40140         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40141         0.0L for an argument of 1.0L.
40142         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40143         Likewise.
40144         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40145         value when x - 1 is zero.
40146         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40147         * sysdeps/i386/fpu/libm-test-ulps: Update.
40148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40150 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40152         [BZ #15119]
40153         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40155 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40157         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40158         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40160 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40162         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40163         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40165         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40166         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40168         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40169         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40171         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40172         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40174         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40175         if not already defined.
40176         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40177         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40178         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40179         (TLS_INIT_TP): Use it.
40180         (TLS_DEFINE_INIT_TP): New macro.
40181         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40183 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40185         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40186         constant.
40187         [POSIX] (IXANY): Likewise.
40188         [POSIX] (OLCUC): Likewise.
40189         [POSIX || POSIX2008] (CBAUD): Do not allow.
40190         [POSIX || POSIX2008] (DEFECHO): Likewise.
40191         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40192         [POSIX || POSIX2008] (ECHOKE): Likewise.
40193         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40194         [POSIX || POSIX2008] (EXTA): Likewise.
40195         [POSIX || POSIX2008] (EXTB): Likewise.
40196         [POSIX || POSIX2008] (FLUSHO): Likewise.
40197         [POSIX || POSIX2008] (LOBLK): Likewise.
40198         [POSIX || POSIX2008] (PENDIN): Likewise.
40199         [POSIX || POSIX2008] (SWTCH): Likewise.
40200         [POSIX || POSIX2008] (VDISCARD): Likewise.
40201         [POSIX || POSIX2008] (VDSUSP): Likewise.
40202         [POSIX || POSIX2008] (VLNEXT): Likewise.
40203         [POSIX || POSIX2008] (VREPRINT): Likewise.
40204         [POSIX || POSIX2008] (VSTATUS): Likewise.
40205         [POSIX || POSIX2008] (VWERASE): Likewise.
40206         (B*): Change to B[0123456789]*.
40207         * conform/data/time.h-data [POSIX || UNIX98]
40208         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40209         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40210         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40211         [POSIX] (tm_*): Do not allow.
40213 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40215         * Makefile (install): Don't set LANGUAGE.
40216         * Makefile.in (install): Likewise.
40217         * assert/Makefile (test-assert-ENV): Remove variable.
40218         (test-assert-perr-ENV): Likewise.
40219         * elf/Makefile (neededtest4-ENV): Likewise.
40220         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40221         [$(cross-compiling) = no]: Don't set LANGUAGE.
40222         * io/ftwtest-sh (LANG): Remove variable.
40223         * libio/Makefile (tst-widetext-ENV): Likewise.
40224         * manual/install.texi (Running make install): Don't refer to
40225         environment settings for make install.
40226         * INSTALL: Regenerated.
40227         * nptl/tst-tls6.sh: Don't set LANG.
40228         * posix/globtest.sh (LANG): Remove variable.
40229         * string/Makefile (tester-ENV): Likewise.
40230         (inl-tester-ENV): Likewise.
40231         (noinl-tester-ENV): Likewise.
40232         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40233         [$(cross-compiling) = no]: Don't set LANGUAGE.
40234         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40235         without explicit environment settings.
40237 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40239         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40240         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40241         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40242         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40244 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40246         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40247         other files in the crypt directory.
40248         * crypt/crypt.c: Remove duplicate includes.
40249         * crypt/crypt-entry.c: Likewise.
40250         * crypt/crypt_util.c: Likewise.
40252 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40254         * Makeconfig (run-program-env): New variable.
40255         (run-program-prefix-before-env): Likewise.
40256         (run-program-prefix-after-env): Likewise.
40257         (run-program-prefix): Define in terms of new variables.
40258         (built-program-cmd-before-env): New variable.
40259         (built-program-cmd-after-env): Likewise.
40260         (built-program-cmd): Define in terms of new variables.
40261         (test-program-prefix-before-env): New variable.
40262         (test-program-prefix-after-env): Likewise.
40263         (test-program-prefix): Define in terms of new variables.
40264         (test-program-cmd-before-env): New variable.
40265         (test-program-cmd-after-env): Likewise.
40266         (test-program-cmd): Define in terms of new variables.
40267         * Rules (make-test-out): Use $(run-program-env).
40268         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40269         (help): Do not mention environment variables.  Mention
40270         --timeoutfactor option.
40271         (timeoutfactor): New variable.
40272         (blacklist_exports): Remove function.
40273         (exports): Remove variable.
40274         (command): Do not include ${exports}.
40275         * manual/install.texi (Configuring and compiling): Do not mention
40276         test wrappers preserving environment variables.  Mention that last
40277         assignment to a variable must take precedence.
40278         * INSTALL: Regenerated.
40279         * benchtests/Makefile (run-bench): Use $(run-program-env).
40280         * catgets/Makefile ($(objpfx)test1.cat): Use
40281         $(built-program-cmd-before-env), $(run-program-env) and
40282         $(built-program-cmd-after-env).
40283         ($(objpfx)test2.cat): Do not specify environment variables
40284         explicitly.
40285         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40286         $(run-program-env) and $(built-program-cmd-after-env).
40287         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40288         $(run-program-env) and $(test-program-cmd-after-env).
40289         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40290         explicitly.
40291         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40292         run_program_env and test_program_cmd_after_env arguments.
40293         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40294         * elf/tst-pathopt.sh: Use run_program_env argument.
40295         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40296         $(test-wrapper-env) and $(run-program-env).
40297         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40298         run_program_env arguments.
40299         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40300         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40301         $(test-program-prefix-before-env), $(run-program-env) and
40302         $(test-program-prefix-after-env).
40303         ($(objpfx)tst-gettext2.out): Likewise.
40304         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40305         run_program_env and test_program_prefix_after_env arguments.
40306         * intl/tst-gettext2.sh: Likewise.
40307         * intl/tst-gettext4.sh: Do not set environment variables
40308         explicitly.
40309         * intl/tst-gettext6.sh: Likewise.
40310         * intl/tst-translit.sh: Likewise.
40311         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40312         $(test-program-prefix-before-env), $(run-program-env) and
40313         $(test-program-prefix-after-env).
40314         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40315         run_program_env and test_program_prefix_after_env arguments.
40316         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40317         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40318         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40319         explicitly with each use of ${test_wrapper_env}.
40320         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40321         $(test-program-prefix-before-env), $(run-program-env) and
40322         $(test-program-prefix-after-env).
40323         * posix/tst-getconf.sh: Do not set environment variables
40324         explicitly.
40325         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40326         run_program_env and test_program_prefix_after_env arguments.
40327         * stdio-common/tst-printf.sh: Do not set environment variables
40328         explicitly.
40329         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40330         $(test-program-prefix-before-env), $(run-program-env) and
40331         $(test-program-prefix-after-env).
40332         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40333         run_program_env and test_program_prefix_after_env arguments.
40334         Split $test calls into $test_pre and $test.
40335         * timezone/Makefile (build-testdata): Use
40336         $(built-program-cmd-before-env), $(run-program-env) and
40337         $(built-program-cmd-after-env).
40339 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40341         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40342         strlen for non SHARED builds.
40344 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40346         * nptl/allocatestack.c (check_list): Inlined function...
40347         (__reclaim_stacks): ... here.
40349 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40351         [BZ #15698]
40352         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40353         memory overrun.
40355 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40357         * Rules (make-test-out): Include
40358         LOCPATH=$(common-objpfx)localedata in default environment.
40359         * debug/Makefile (tst-chk1-ENV): Remove variable.
40360         (tst-chk2-ENV): Likewise.
40361         (tst-chk3-ENV): Likewise.
40362         (tst-chk4-ENV): Likewise.
40363         (tst-chk5-ENV): Likewise.
40364         (tst-chk6-ENV): Likewise.
40365         (tst-lfschk1-ENV): Likewise.
40366         (tst-lfschk2-ENV): Likewise.
40367         (tst-lfschk3-ENV): Likewise.
40368         (tst-lfschk4-ENV): Likewise.
40369         (tst-lfschk5-ENV): Likewise.
40370         (tst-lfschk6-ENV): Likewise.
40371         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40372         (tst-iconv7-ENV): Likewise.
40373         * intl/Makefile (LOCPATH-ENV): Likewise.
40374         (tst-codeset-ENV): Likewise.
40375         (tst-gettext3-ENV): Likewise.
40376         (tst-gettext5-ENV): Likewise.
40377         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40378         (tst-fopenloc-ENV): Likewise.
40379         (tst-fgetws-ENV): Remove variable.
40380         (tst-ungetwc1-ENV): Likewise.
40381         (tst-ungetwc2-ENV): Likewise.
40382         (bug-ungetwc2-ENV): Likewise.
40383         (tst-swscanf-ENV): Likewise.
40384         (bug-ftell-ENV): Likewise.
40385         (tst-fgetwc-ENV): Likewise.
40386         (tst-fseek-ENV): Likewise.
40387         (tst-ftell-partial-wide-ENV): Likewise.
40388         (tst-ftell-active-handler-ENV): Likewise.
40389         (tst-ftell-append-ENV): Likewise.
40390         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40391         (tst-regexloc-ENV): Likewise.
40392         (bug-regex1-ENV): Likewise.
40393         (tst-regex-ENV): Likewise.
40394         (tst-regex2-ENV): Likewise.
40395         (bug-regex5-ENV): Likewise.
40396         (bug-regex6-ENV): Likewise.
40397         (bug-regex17-ENV): Likewise.
40398         (bug-regex18-ENV): Likewise.
40399         (bug-regex19-ENV): Likewise.
40400         (bug-regex20-ENV): Likewise.
40401         (bug-regex22-ENV): Likewise.
40402         (bug-regex23-ENV): Likewise.
40403         (bug-regex25-ENV): Likewise.
40404         (bug-regex26-ENV): Likewise.
40405         (bug-regex30-ENV): Likewise.
40406         (bug-regex32-ENV): Likewise.
40407         (bug-regex33-ENV): Likewise.
40408         (bug-regex34-ENV): Likewise.
40409         (bug-regex35-ENV): Likewise.
40410         (tst-rxspencer-ENV): Likewise.
40411         (tst-rxspencer-no-utf8-ENV): Likewise.
40412         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40413         (tst-sscanf-ENV): Likewise.
40414         (tst-swprintf-ENV): Likewise.
40415         (tst-swscanf-ENV): Likewise.
40416         (test-vfprintf-ENV): Likewise.
40417         (scanf13-ENV): Likewise.
40418         (bug14-ENV): Likewise.
40419         (tst-grouping-ENV): Likewise.
40420         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40421         (tst-strtod3-ENV): Likewise.
40422         (tst-strtod4-ENV): Likewise.
40423         (tst-strtod5-ENV): Likewise.
40424         (testmb2-ENV): Likewise./
40425         * string/Makefile (tst-strxfrm-ENV): Likewise.
40426         (tst-strxfrm2-ENV): Likewise.
40427         (bug-strcoll1-ENV): Likewise.
40428         (test-strcasecmp-ENV): Likewise.
40429         (test-strncasecmp-ENV): Likewise.
40430         * time/Makefile (tst-strptime-ENV): Likewise.
40431         (tst-ftime_l-ENV): Likewise.
40432         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40433         (tst-mbrtowc-ENV): Likewise.
40434         (tst-wcrtomb-ENV): Likewise.
40435         (tst-mbrtowc2-ENV): Likewise.
40436         (tst-c16c32-1-ENV): Likewise.
40437         (tst-mbsnrtowcs-ENV): Likewise.
40439 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40441         * manual/resource.texi (How to get information about the memory
40442         subsystem?): Fix typo.
40443         Reported by Peon de la Parra Ivan <peon@keba.com>
40445 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40447         [BZ #16882]
40448         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40449         (pthread_spin_lock): Branch out of spin loop to proper location.
40450         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40451         (pthread_spin_lock): Likewise.
40453         * nptl/tst-spin4.c: New test.
40454         * nptl/Makefile (tests): Add tst-spin4.
40456 2014-06-03  Andreas Schwab  <schwab@suse.de>
40458         [BZ #15946]
40459         * resolv/res_send.c (send_dg): Reload file descriptor after
40460         calling reopen.
40462 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40464         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40466 2014-06-03  Richard Henderson  <rth@redhat.com>
40468         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40469         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40470         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40471         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40472         in the SAVE_PID block.
40473         (__libc_vfork): New alias.
40474         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40476         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40477         child in registers, not on the stack.  Remove RESET_PID conditionals.
40478         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40480 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40482         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40484 2014-06-03  Wilco  <wdijkstr@arm.com>
40486         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40487         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40488         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40489         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40490         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40491         Likewise.
40493 2014-06-03  Wilco  <wdijkstr@arm.com>
40495         * sysdeps/aarch64/fpu/math_private.h
40496         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40497         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40498         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40499         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40500         Fix declarations.
40502 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40504         * crypt/crypt-private.h: Include ufc-crypt.h.
40505         (__b64_from_24bit): Declare extern.
40506         * crypt/crypt_util.c(__b64_from_24bit): New function.
40507         (b64t): New static const variable.
40508         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40509         (b64t): Remove variable.
40510         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40511         * crypt/sha256-crypt.c: Include crypt-private.h.
40512         (b64t): Remove variable.
40513         (__sha256_crypt_r): Remove b64_from_24bit and replace
40514         with __b64_from_24bit.
40515         * crypt/sha512-crypt.c: Likewise.
40517 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40519         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40520         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40521         Label the code __libc_vfork rather than __vfork.
40522         [!NOT_IN_libc] (vfork): Define as weak alias.
40523         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40524         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40525         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40527 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40529         * malloc/malloc.c (malloc_info): Fix format specifier for
40530         n_mmaps.
40532 2014-06-02  Wilco  <wdijkstr@arm.com>
40534         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40535         FPCR write.
40537 2014-06-02  Wilco  <wdijkstr@arm.com>
40539         [BZ #17009]
40540         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40541         Rewrite to reduce FPCR/FPSR accesses.
40543 2014-06-01  David S. Miller  <davem@davemloft.net>
40545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40547 2014-05-31  David S. Miller  <davem@davemloft.net>
40549         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40550         to occur in round to nearest mode when |x| >= 2.0
40552 2014-05-30  Richard Henderson  <rth@twiddle.net>
40554         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40555         (PSEUDO_RET_NOERRNO): Remove.
40556         (ret): Don't redefine.
40557         (ret_NOERRNO): Define in terms of ret.
40558         (ret_ERRVAL): Likewise.
40560         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40561         use of PSEUDO_RET; perform the error check directly.
40563 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40565         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40566         with __int128_t.
40568 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40570         * malloc/malloc (malloc_info): Fix formatting.
40572 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40573             Roland McGrath  <roland@hack.frob.com>
40575         * malloc/malloc (malloc_info): Also print mmapped statistics.
40577 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40579         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40580         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40582 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40584         * malloc/malloc.c (malloc_info): Inline mi_arena.
40586 2014-05-29  Richard Henderson  <rth@twiddle.net>
40588         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40589         Remove comma before expanding ASM_ARGS_##nr.
40590         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40591         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40592         of ASM_ARGS_##nr.
40593         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40594         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40595         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40596         (ASM_ARGS_1): Add leading comma.
40598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40599         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40600         to __errno_location.
40601         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40602         Remove the expected plt for __errno_location.
40604         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40605         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40606         call to __read_tp.
40608         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40609         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40610         it and break it down.
40611         (DOCARGS_0, DOCARGS_1): Do nothing.
40612         (DOCARGS_2): Update to store into the new stack frame.
40613         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40614         (UNDOCARGS_1): Update to restore from the new stack frame.
40615         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40616         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40618         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40619         (SINGLE_THREAD_P): New parameter for result regno.
40620         (PSEUDO): Update to match; use cbz instead of beq.
40622         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40623         Use ENTRY to define the _nocancel entry point.  Share the syscall
40624         and syscall error check paths with the cancel path.
40625         (PSEUDO_END): New.
40627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40628         whitespace; tabs before and after asm mnemonics.
40630 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40632         [BZ #15132]
40633         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40634         Call fstat64 or stat64 internally, depending on arguments passed.
40635         Replace stat buffer argument with file descriptor argument.
40636         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40637         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40638         Pass fd to __internal_statvfs instead of calling fstat64.
40639         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40640         Pass fd to __internal_statvfs64 instead of calling fstat64.
40641         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40642         Pass -1 to __internal_statvfs instead of calling stat64.
40643         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40644         Pass -1 to __internal_statvfs64 instead of calling stat64.
40646 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40648         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40649         that was previously under [RESET_PID].
40650         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40652         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40653         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40655 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40657         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40659         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40660         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40662 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40664         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40666 2014-05-27  Andreas Schwab  <schwab@suse.de>
40668         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40669         TLS_INIT_TP macro.
40670         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40671         * elf/rtld.c (init_tls, dl_main): Likewise.
40672         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40673         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40674         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40675         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40676         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40677         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40678         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40679         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40680         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40681         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40682         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40683         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40684         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40685         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40686         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40687         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40688         * sysdeps/generic/tls.h: Update description.
40690 2014-05-27  Will Newton  <will.newton@linaro.org>
40692         [BZ #16990]
40693         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40694         and restore r2 rather than just restoring.
40696 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40698         [BZ #16724]
40699         * libio/tst-ftell-append.c: New test case.
40700         * libio/Makefile (tests): Add test case.
40701         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40702         append mode.
40703         * libio/wfileops.c (do_ftell_wide): Likewise.
40705 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40709         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40710         ...
40711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40713         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40714         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40715         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40716         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40717         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40719         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40720         Moved ...
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40722         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40723         Moved ...
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40725         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40726         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40727         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40728         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40729         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40730         ...
40731         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40732         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40733         Moved ...
40734         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40735         here.
40736         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40737         ...
40738         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40739         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40742         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40743         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40744         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40745         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40748         merge into ...
40749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40750         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40751         ...
40752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40754         ...
40755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40756         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40757         Moved ...
40758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40759         here.
40760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40761         Moved ...
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40764         Moved ...
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40768         conditional [RESET_PID].
40769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40771         removed.
40772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40773         removed.
40775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40776         <tcb-offsets.h>.
40777         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40778         (__libc_vfork): New strong alias.
40779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40780         removed.
40781         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40782         Removed.
40784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40785         <tcb-offsets.h>.
40786         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40787         (__libc_vfork): New strong alias.
40788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40789         removed.
40790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40791         removed.
40793 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40795         * malloc/malloc.c (mi_arena): New function.
40796         (malloc_info): Remove nested function mi_arena. Call non-nosted
40797         function mi_arena.
40799 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40801         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40802         by insrwi.
40803         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40804         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40805         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40806         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40807         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40808         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40809         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40811 2014-05-26  Andreas Schwab  <schwab@suse.de>
40813         [BZ #16984]
40814         * locale/programs/repertoire.c (repertoire_read): Add slash
40815         between I18NPATH element and file name.
40816         * locale/programs/locfile.c (locfile_read): Likewise.
40818 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40820         * nptl/pthread_mutexattr_settype.c
40821         (__pthread_mutexattr_settype):
40822         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40824 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40826         * nptl/tst-mutex5 (do_test):
40827         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40829 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40831         * benchtests/README: Document 'init' directive.
40832         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40833         BENCH_INIT.
40834         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40835         (parse_file): Recognize 'init' directive.
40837 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40839         [BZ #16796]
40840         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40841         alignment of struct pthread.
40843 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40845         [BZ #16878]
40846         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40847         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40848         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40849         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40851 2014-05-25  Richard Henderson  <rth@twiddle.net>
40853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40854         (SINGLE_THREAD_P_PIC): Remove.
40855         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40856         (SINGLE_THREAD_P_PIC): Remove.
40858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40859         branch to syscall error ...
40860         (PSEUDO): ... here.
40861         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40862         from __local_syscall_error to .Lsyscall_error.
40863         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40864         (SYSCALL_ERROR): Update label name.
40866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40867         Do not use DOARGS/UNDOARGS.
40868         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40869         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40870         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40871         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40872         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40874         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40875         block comment.
40877         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40878         define if !NOT_IN_libc.
40879         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40880         define with non-default symbol versions.
40882 2014-05-23  Richard Henderson  <rth@twiddle.net>
40884         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40885         (vfork, __vfork): Define via compat_symbol.
40887         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40888         [!HAVE_IFUNC] (vfork_compat): Remove.
40889         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40891 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40893         [BZ #16978]
40894         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40895         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40896         variable.
40898 2014-05-23  Richard Henderson  <rth@twiddle.net>
40900         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40901         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40902         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40903         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40905         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40906         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40907         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40908         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40909         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40910         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40911         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40912         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40913         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40914         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40915         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40916         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40917         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40918         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40919         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40920         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40921         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40922         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40923         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40924         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40925         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40926         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40927         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40928         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40930         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40931         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40932         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40933         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40934         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40935         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40936         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40937         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40938         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40939         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40940         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40941         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40942         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40943         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40944         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40945         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40946         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40947         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40948         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40949         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40950         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40952         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40954         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40956         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40958         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40960         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40962         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40963         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40964         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40965         before exiting on error.
40966         (__libc_vfork): New strong alias.
40967         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40968         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40970         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40971         that was previously under [RESET_PID].
40972         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40974         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40976 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40978         [BZ #16977]
40979         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40980         value when x - 1 is zero.
40981         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40982         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40983         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40984         0.0L for an argument of 1.0L.
40985         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40986         Likewise.
40987         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40988         value when x - 1 is zero.
40989         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40990         * sysdeps/i386/fpu/libm-test-ulps: Update.
40991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40993 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40995         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40996         alphasort and versionsort.
40998 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41000         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41001         macro.
41002         [copysignf]: Likewise.
41004 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41006         * crypt/md5-crypt.c: Fix formatting.
41008 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41010         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41011         (b64_from_24bit): New function.
41013 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41015         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41016         libc_hidden_builtin_def to ifunc.
41017         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41018         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41020 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41022         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41023         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41025 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41027         * nscd/Depend (linuxthreads): Remove.
41028         (nptl): Add.
41029         * resolv/Depend (linuxthreads): Remove.
41030         * rt/Depend (linuxthreads): Remove.
41032         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41033         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41034         $(common-objpfx)elf/.
41035         (link-libc-before-gnulib): Likewise.
41036         (elfobjdir): Remove variable.
41037         * Makefile (install): Use $(elf-objpfx) instead of
41038         $(common-objpfx)elf/.
41039         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41040         $(elfobjdir)/.
41041         (link-libc-deps): Likewise.
41042         ($(common-objpfx)libc.so): Likewise.
41043         ($(common-objpfx)linkobj/libc.so): Likewise.
41044         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41045         instead of $(common-objpfx)elf/.
41046         (symbolic-link-list): Likewise.
41047         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41048         [$(cross-compiling) = no]: Likewise.
41049         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41050         $(elfobjdir)/.
41051         (static-gnulib-arch): Likewise.
41052         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41053         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41054         $(common-objpfx)elf/.
41056 2014-05-21  Richard Henderson  <rth@redhat.com>
41058         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41059         (SINGLE_THREAD_P): Use the correct width load.  Fold
41060         into the ldr offset.
41062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41063         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41065 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41067         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41068         (libgcc_s_resume): Use __attribute_used__.
41069         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41070         Likewise.
41072 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41074         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41075         optimization when used with float constants.
41077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41079 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41081         [BZ #16915]
41082         * locale/nl_langinfo_l.c: Make direct reference to every
41083         _nl_current_CATEGORY symbol.
41084         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41085         (tests-static): Add tst-langinfo-static.
41086         (tests-special): Add tst-langinfo-static.out.
41087         ($(objpfx)tst-langinfo.out): Redirect output.
41088         ($(objpfx)tst-langinfo-static.out): New.
41089         * localedata/tst-langinfo.sh: Send output to stdout.
41090         * localedata/tst-langinfo-static.c: New file.
41092         [BZ #16965]
41093         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41094         when the shift amount is modulo the limb size.
41096 2014-05-20  Richard Henderson  <rth@redhat.com>
41098         [BZ #16967]
41099         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41100         Change type of sa_flags from unsigned int to int.
41102         [BZ #16966]
41103         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41105         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41107 2014-05-20  Will Newton  <will.newton@linaro.org>
41109         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41110         Test the return value of the system call in the nocancel case.
41112 2014-05-20  Will Newton  <will.newton@linaro.org>
41113             Yvan Roux  <yvan.roux@linaro.org>
41115         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41116         #include of asm/ptrace.h.
41117         (PTRACE_GET_THREAD_AREA): Remove #undef.
41118         (PTRACE_GETHBPREGS): Likewise.
41119         (PTRACE_SETHBPREGS): Likewise.
41120         (struct user_regs_struct): New structure.
41121         (struct user_fpsimd_struct): New structure.
41122         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41123         #include of asm/ptrace.h and second #include of sys/user.h.
41124         (PTRACE_GET_THREAD_AREA): Remove #undef.
41125         (PTRACE_GETHBPREGS): Likewise.
41126         (PTRACE_SETHBPREGS): Likewise.
41127         (ELF_NGREG): Use new struct user_regs_struct.
41128         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41130 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41135 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41137         [BZ #16958]
41138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41139         membar to avoid block loads/stores to overlap previous stores.
41141 2014-05-17  Richard Henderson  <rth@redhat.com>
41143         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41144         Create the __##syscall_name##_nocancel entry point.
41145         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41146         Remove; let the sysdep-cancel.h code create it.
41148 2014-05-17  David S. Miller  <davem@davemloft.net>
41150         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41151         Protect with __USE_GNU.
41152         (TIOCSET_TEMPT): Likewise.
41153         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41154         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41155         these are already provided in bits/ioctl-types.h
41157 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41159         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41160         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41162         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41163         Use wait4 regardless of [__NR_waitpid].
41165 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41167         PR libgcc/60166
41168         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41169         (_FP_NANSIGN_Q): Set the quiet bit.
41171 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41173         * benchtests/Makefile
41174         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41175         not $(common-objpfx)math/libm.so.
41176         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41177         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41178         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41179         $(common-objpfx)dlfcn/libdl.so.
41180         ($(objpfx)tst-audit8): Depend on $(libm), not
41181         $(common-objpfx)math/libm.so.
41182         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41183         not $(common-objpfx)dlfcn/libdl.so.
41184         * math/Makefile
41185         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41186         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41187         [$(build-shared) = yes].
41188         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41189         $(common-objpfx)nptl/libpthread.so.
41190         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41191         $(common-objpfx)math/libm.so$(libm.so-version) or
41192         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41193         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41194         $(common-objpfx)dlfcn/libdl.so.
41195         * setjmp/Makefile (link-libm): Remove variable.
41196         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41197         * stdio-common/Makefile (link-libm): Remove variable.
41198         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41199         * stdlib/Makefile (link-libm): Remove variable.
41200         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41201         ($(objpfx)tst-strtod-round): Likewise.
41202         ($(objpfx)tst-tininess): Likewise.
41203         ($(objpfx)tst-strtod-underflow): Likewise.
41204         ($(objpfx)tst-strtod6): Likewise.
41205         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41206         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41207         $(common-objpfx)dlfcn/libdl.so.
41209 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41211         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41212         BSD terminal modes definitions.
41214 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41216         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41217         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41219         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41220         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41221         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41222         Don't do #include_next.
41223         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41224         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41225         Don't do #include_next.
41226         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41227         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41228         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41229         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41231 2014-05-16  Allan McRae  <allan@archlinux.org>
41233         * po/sv.po: Update Swedish translation from translation project.
41235         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41236         in sed expression.
41238 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41240         [BZ #16917]
41241         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41242         errno if the TIOCGPTN ioctl fails with an error different than
41243         EINVAL.
41244         * login/tst-ptsname.c: New file.
41245         * login/Makefile (tests): Add tst-ptsname.
41247         [BZ #16943]
41248         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41249         and prlimit64.
41251 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41253         [BZ #16849]
41254         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41255         herrno to return EAI_AGAIN.
41257 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41259         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41260         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41261         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41262         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41263         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41264         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41265         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41266         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41267         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41268         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41269         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41270         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41274         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41275         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41276         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41277         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41278         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41279         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41280         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41281         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41282         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41283         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41284         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41285         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41286         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41287         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41288         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41290         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41292         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41293         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41294         Moved ...
41295         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41297         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41301         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41303         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41305         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41307         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41309         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41311         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41313         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41315         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41316         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41317         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41319         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41321         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41323         Moved ...
41324         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41326         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41328         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41330         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41332         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41334         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41336         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41338         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41340         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41342         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41343         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41344         Moved ...
41345         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41347         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41349         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41350         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41351         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41352         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41353         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41354         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41355         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41356         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41357         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41358         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41359         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41360         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41361         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41362         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41363         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41364         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41365         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41366         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41367         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41368         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41369         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41370         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41371         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41372         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41373         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41374         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41375         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41376         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41377         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41378         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41379         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41381         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41382         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41384         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41385         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41386         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41387         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41388         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41389         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41390         Moved ...
41391         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41392         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41393         Moved ...
41394         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41395         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41396         Moved ...
41397         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41398         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41399         Moved ...
41400         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41401         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41402         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41403         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41404         Moved ...
41405         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41406         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41407         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41408         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41409         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41410         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41411         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41412         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41413         Moved ...
41414         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41415         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41416         Moved ...
41417         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41418         ... here.
41419         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41420         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41421         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41422         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41423         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41424         Moved ...
41425         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41426         ... here.
41427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41428         Moved ...
41429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41430         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41431         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41432         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41433         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41434         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41435         Moved ...
41436         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41437         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41438         Moved ...
41439         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41440         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41441         Moved ...
41442         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41443         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41444         Moved ...
41445         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41446         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41447         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41448         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41449         Moved ...
41450         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41451         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41452         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41453         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41454         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41455         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41456         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41457         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41458         Moved ...
41459         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41460         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41461         Moved ...
41462         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41463         ... here.
41464         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41465         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41466         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41467         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41468         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41469         Moved ...
41470         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41471         ... here.
41472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41473         Moved ...
41474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41475         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41476         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41477         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41478         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41479         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41480         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41481         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41482         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41484         Moved ...
41485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41486         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41487         Moved ...
41488         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41489         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41490         Moved ...
41491         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41492         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41493         Moved ...
41494         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41495         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41496         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41497         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41498         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41499         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41500         Moved ...
41501         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41502         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41503         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41504         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41505         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41506         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41507         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41508         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41509         Moved ...
41510         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41511         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41512         Moved ...
41513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41514         ... here.
41515         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41516         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41517         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41518         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41520         Moved ...
41521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41522         ... here.
41523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41524         Moved ...
41525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41526         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41527         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41528         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41529         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41530         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41531         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41532         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41533         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41534         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41535         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41537         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41538         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41540         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41541         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41543         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41544         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41545         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41546         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41547         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41548         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41549         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41550         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41551         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41552         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41554         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41555         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41556         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41557         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41559         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41560         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41561         Moved ...
41562         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41564         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41565         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41566         Moved ...
41567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41571         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41573         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41574         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41575         Moved ...
41576         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41577         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41578         Moved ...
41579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41583         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41584         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41585         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41586         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41587         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41588         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41589         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41590         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41591         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41592         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41593         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41594         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41595         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41597         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41598         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41599         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41600         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41601         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41603         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41604         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41605         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41606         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41607         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41608         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41609         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41610         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41611         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41612         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41617         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41618         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41619         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41620         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41622         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41624         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41626         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41627         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41628         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41629         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41630         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41632         Update #include.
41633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41634         Likewise.
41635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41636         Likewise.
41637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41638         Likewise.
41639         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41640         Likewise.
41641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41642         Likewise.
41643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41644         Likewise.
41645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41646         Likewise.
41647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41648         Likewise.
41649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41650         Likewise.
41651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41667         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41668         that was previously under [RESET_PID].
41669         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41670         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41671         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41673         * sysdeps/i386/nptl/Implies: New file.
41674         * sysdeps/x86_64/nptl/Implies: New file.
41675         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41676         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41677         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41678         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41680         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41681         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41682         (__libc_vfork): New strong alias.
41683         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41684         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41686         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41687         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41688         (__libc_vfork): New strong alias.
41689         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41690         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41692         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41693         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41694         (__libc_vfork): New strong alias.
41695         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41696         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41697         * nptl/pt-vfork.c: New file.
41698         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41699         (libpthread: GLIBC_2.20): New version set (empty).
41701 2014-05-14  Will Newton  <will.newton@linaro.org>
41703         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41704         rather than #if.
41706 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41708         [BZ #16564]
41709         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41710         arguments with exponent 65 or above.
41711         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41712         arguments 0x1p113L or above.
41713         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41714         to arguments 0x1p107L or above.
41715         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41716         positive arguments with exponent 65 or above.
41717         * math/auto-libm-test-in: Add more tests of log1p.
41718         * math/auto-libm-test-out: Regenerated.
41720         [BZ #16928]
41721         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41722         non-finite arguments is +0.
41723         * math/s_cacosf.c (__cacosf): Likewise.
41724         * math/s_cacosl.c (__cacosl): Likewise.
41725         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41726         * sysdeps/i386/fpu/libm-test-ulps: Update.
41727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41729         [BZ #16927]
41730         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41731         value.
41732         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41733         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41734         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41735         for explicit high bit of mantissa when testing for argument equal
41736         to 1.
41737         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41738         * sysdeps/i386/fpu/libm-test-ulps: Update.
41739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41741         [BZ #16516]
41742         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41743         (__erf): Scale by 16 instead of 8 in potentially underflowing
41744         case.  Ensure exception if result actually underflows.
41745         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41746         (__erff): Scale by 16 instead of 8 in potentially underflowing
41747         case.  Ensure exception if result actually underflows.
41748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41749         (efx8): Remove variable.
41750         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41751         case.  Ensure exception if result actually underflows.
41752         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41753         (efx8): Remove variable.
41754         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41755         case.  Ensure exception if result actually underflows.
41756         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41757         (efx8): Remove variable.
41758         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41759         case.  Ensure exception if result actually underflows.
41760         * math/auto-libm-test-in: Add more tests of erf.
41761         * math/auto-libm-test-out: Regenerated.
41763 2014-05-14  Andreas Schwab  <schwab@suse.de>
41765         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41766         Remove code conditionalized on USE___THREAD.
41768         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41769         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41770         not definedness.
41772 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41774         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41775         Define unconditionally.
41776         (__ASSUME_O_CLOEXEC): Likewise.
41777         (__ASSUME_SOCK_CLOEXEC): Likewise.
41778         (__ASSUME_IN_NONBLOCK): Likewise.
41779         (__ASSUME_PIPE2): Likewise.
41780         (__ASSUME_EVENTFD2): Likewise.
41781         (__ASSUME_SIGNALFD4): Likewise.
41782         (__ASSUME_DUP3): Likewise.
41783         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41784         (__ASSUME_DUP3): Do not define.
41785         (__ASSUME_EVENTFD2): Likewise.
41786         (__ASSUME_IN_NONBLOCK): Likewise.
41787         (__ASSUME_O_CLOEXEC): Likewise.
41788         (__ASSUME_PIPE2): Likewise.
41789         (__ASSUME_SIGNALFD4): Likewise.
41790         (__ASSUME_SOCK_CLOEXEC): Likewise.
41791         (__ASSUME_UTIMES): Undefine.
41792         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41793         (__ASSUME_UTIMES): Do not define.
41794         (__ASSUME_O_CLOEXEC): Likewise.
41795         (__ASSUME_SOCK_CLOEXEC): Likewise.
41796         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41797         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41798         0x020621].
41799         (__ASSUME_PIPE2): Likewise.
41800         (__ASSUME_EVENTFD2): Likewise.
41801         (__ASSUME_SIGNALFD4): Likewise.
41802         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41803         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41804         Do not define.
41805         (__ASSUME_EVENTFD2): Likewise.
41806         (__ASSUME_SIGNALFD4): Likewise.
41807         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41808         (__ASSUME_32BITUIDS): Likewise.
41809         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41810         (__ASSUME_IPC64): Likewise.
41811         (__ASSUME_ST_INO_64_BIT): Likewise.
41812         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41813         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41814         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41815         (__ASSUME_UTIMES): Do not define.
41816         (__ASSUME_PSELECT): Likewise.
41817         (__ASSUME_PPOLL): Likewise.
41818         (__ASSUME_O_CLOEXEC): Likewise.
41819         (__ASSUME_SOCK_CLOEXEC): Likewise.
41820         (__ASSUME_IN_NONBLOCK): Likewise.
41821         (__ASSUME_PIPE2): Likewise.
41822         (__ASSUME_EVENTFD2): Likewise.
41823         (__ASSUME_SIGNALFD4): Likewise.
41824         (__ASSUME_DUP3): Likewise.
41825         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41826         (__ASSUME_UTIMES): Likewise.
41827         (__ASSUME_O_CLOEXEC): Likewise.
41828         (__ASSUME_SOCK_CLOEXEC): Likewise.
41829         (__ASSUME_IN_NONBLOCK): Likewise.
41830         (__ASSUME_PIPE2): Likewise.
41831         (__ASSUME_EVENTFD2): Likewise.
41832         (__ASSUME_SIGNALFD4): Likewise.
41833         (__ASSUME_DUP3): Likewise.
41834         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41835         (__ASSUME_UTIMES): Likewise.
41836         (__ASSUME_O_CLOEXEC): Likewise.
41837         (__ASSUME_SOCK_CLOEXEC): Likewise.
41838         (__ASSUME_IN_NONBLOCK): Likewise.
41839         (__ASSUME_PIPE2): Likewise.
41840         (__ASSUME_EVENTFD2): Likewise.
41841         (__ASSUME_SIGNALFD4): Likewise.
41842         (__ASSUME_DUP3): Likewise.
41843         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41844         Likewise.
41845         (__ASSUME_UTIMES): Likewise.
41846         (__ASSUME_EVENTFD2): Likewise.
41847         (__ASSUME_SIGNALFD4): Likewise.
41848         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41849         (__ASSUME_O_CLOEXEC): Likewise.
41850         (__ASSUME_SOCK_CLOEXEC): Likewise.
41851         (__ASSUME_IN_NONBLOCK): Likewise.
41852         (__ASSUME_PIPE2): Likewise.
41853         (__ASSUME_EVENTFD2): Likewise.
41854         (__ASSUME_SIGNALFD4): Likewise.
41855         (__ASSUME_DUP3): Likewise.
41856         (__ASSUME_UTIMES): Undefine.
41858         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41859         feclearexcept.  Remove symbol versioning code.
41860         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41861         symbol versioning code.
41862         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41863         symbol versioning code.
41864         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41865         feupdateenv.  Remove symbol versioning code.
41866         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41867         fegetexceptflag.  Remove symbol versioning code.
41868         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41869         fesetexceptflag.  Remove symbol versioning code.
41870         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41871         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41872         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41873         (__posix_fadvise64_l32): Remove prototype.
41874         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41875         code.
41877 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41879         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41880         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41881         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41882         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41884 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41886         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41887         current working directory
41889 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41891         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41892         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41893         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41894         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41895         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41896         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41897         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41898         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41899         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41900         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41901         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41902         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41904         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41905         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41906         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41907         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41908         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41909         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41910         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41911         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41912         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41913         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41914         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41915         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41916         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41917         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41918         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41919         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41920         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41921         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41922         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41923         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41924         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41925         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41926         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41927         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41928         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41929         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41930         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41931         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41932         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41934         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41935         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41937         * sysdeps/unix/sysv/linux/arm/Makefile
41938         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41939         Add rt-aeabi_unwind_cpp_pr1.
41940         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41941         Add nptl-aeabi_unwind_cpp_pr1.
41942         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41943         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41944         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41945         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41946         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41947         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41949         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41950         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41951         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41952         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41954         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41955         Deconditionalize the code that was previously under [RESET_PID].
41956         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41958         * sysdeps/generic/exit-thread.h: New file.
41959         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41960         * include/unistd.h (__exit_thread): Remove declaration.
41961         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41962         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41963         * csu/libc-start.c: Include <exit-thread.h>.
41964         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41965         * nptl/pthread_create.c: Include <exit-thread.h>.
41966         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41967         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41968         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41969         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41970         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41971         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41972         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41973         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41974         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41975         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41976         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41977         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41978         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41979         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41980         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41981         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41982         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41984 2014-05-13  Andreas Schwab  <schwab@suse.de>
41986         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41988 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41990         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41991         (__ASSUME_UTIMES): Do not condition on kernel version.
41992         (__ASSUME_PSELECT): Define unconditionally.
41993         (__ASSUME_PPOLL): Likewise.
41994         (__ASSUME_ATFCTS): Likewise.
41995         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41996         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41997         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41998         (__ASSUME_UTIMENSAT): Define unconditionally.
41999         (__ASSUME_PRIVATE_FUTEX): Likewise.
42000         (__ASSUME_FALLOCATE): Likewise.
42001         (__ASSUME_O_CLOEXEC): Likewise.
42002         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42003         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42004         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42005         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42006         (__ASSUME_IN_NONBLOCK): Likewise.
42007         (__ASSUME_PIPE2): Likewise.
42008         (__ASSUME_EVENTFD2): Likewise.
42009         (__ASSUME_SIGNALFD4): Likewise.
42010         (__ASSUME_DUP3): Likewise.
42011         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42012         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42013         (__ASSUME_AT_RANDOM): Likewise.
42014         (__ASSUME_PREADV): Likewise.
42015         (__ASSUME_PWRITEV): Likewise.
42016         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42017         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42018         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42019         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42020         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42021         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42022         (__ASSUME_O_CLOEXEC): Define unconditionally.
42023         (__ASSUME_PSELECT): Do not undefine conditionally.
42024         (__ASSUME_PPOLL): Likewise.
42025         (__ASSUME_ATFCTS): Likewise.
42026         (__ASSUME_SET_ROBUST_LIST): Likewise.
42027         (__ASSUME_UTIMENSAT): Likewise.
42028         (__ASSUME_FDATASYNC): Define unconditionally.
42029         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42030         (__ASSUME_SIGFRAME_V2): Likewise.
42031         )__ASSUME_EVENTFD2): Likewise.
42032         (__ASSUME_SIGNALFD4): Likewise.
42033         (__ASSUME_PSELECT): Do not undefine conditionally.
42034         (__ASSUME_PPOLL): Likewise.
42035         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42036         (__ASSUME_PSELECT): Define unconditionally.
42037         (__ASSUME_PPOLL): Likewise.
42038         (__ASSUME_O_CLOEXEC): Likewise.
42039         (__ASSUME_SOCK_CLOEXEC): Likewise.
42040         (__ASSUME_IN_NONBLOCK): Likewise.
42041         (__ASSUME_PIPE2): Likewise.
42042         (__ASSUME_EVENTFD2): Likewise.
42043         (__ASSUME_SIGNALFD4): Likewise.
42044         (__ASSUME_DUP3): Likewise.
42045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42046         (__ASSUME_O_CLOEXEC): Likewise.
42047         (__ASSUME_SOCK_CLOEXEC): Likewise.
42048         (__ASSUME_IN_NONBLOCK): Likewise.
42049         (__ASSUME_PIPE2): Likewise.
42050         (__ASSUME_EVENTFD2): Likewise.
42051         (__ASSUME_SIGNALFD4): Likewise.
42052         (__ASSUME_DUP3): Likewise.
42053         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42054         (__ASSUME_EVENTFD2): Likewise.
42055         (__ASSUME_SIGNALFD4): Likewise.
42056         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42058 2014-05-12  Andreas Schwab  <schwab@suse.de>
42060         [BZ #16932]
42061         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42062         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42063         than maximum RPC packet size.
42064         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42065         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42066         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42067         (_nss_nis_getservbyport_r): Likewise.
42069 2014-05-12  Will Newton  <will.newton@linaro.org>
42071         * malloc/Makefile (tests): Add tst-mallopt.
42072         * malloc/tst-mallopt.c: New file.
42074 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42076         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42077         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42079 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42081         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42082         (tst-tlsmod6.so): Likewise.
42084 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42086         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42088 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42090         [BZ #16064]
42091         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42092         and <dl-procinfo.h>.
42093         (__fegetenv): Save SSE state in envp->__eip if supported.
42094         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42095         envp->__eip if supported.
42096         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42097         and <dl-procinfo.h>.
42098         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42099         __data_offset and __data_selector in environment to 0.  Set SSE
42100         state if supported.
42101         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42102         test-fenv-sse.
42103         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42104         -mfpmath=sse.
42105         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42107 2014-05-09  Will Newton  <will.newton@linaro.org>
42109         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42110         and libc_relro_required for ARM.
42111         * sysdeps/arm/preconfigure: Regenerate.
42113 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42114             Stefan Liebler  <stli@linux.vnet.ibm.com>
42116         * config.make.in (enable-lock-elision): New Makefile variable.
42117         * configure.ac: Likewise.
42118         * configure: Regenerate.
42119         * sysdeps/s390/configure.ac:
42120         Add check for gcc transactions support.
42121         * sysdeps/s390/configure: Regenerate.
42122         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42123         Build elision files if enabled.
42124         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42125         Add lock elision support for s390.
42126         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42127         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42128         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42129         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42130         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42131         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42133         Likewise.
42134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42135         Likewise.
42136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42137         Likewise.
42138         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42139         Likewise.
42140         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42141         (__lll_timedlock_elision, __lll_lock_elision)
42142         (__lll_unlock_elision, __lll_trylock_elision)
42143         (lll_timedlock_elision, lll_lock_elision)
42144         (lll_unlock_elision, lll_trylock_elision): Add.
42145         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42146         (pthread_mutex_t): Add lock elision support for s390.
42148 2014-05-14  Wilco  <wdijkstr@arm.com>
42150         * sysdeps/arm/fclrexcpt.c: Cleanup.
42151         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42152         * sysdeps/arm/feenablxcpt.c: Cleanup.
42153         * sysdeps/arm/fegetenv.c: Cleanup.
42154         * sysdeps/arm/fegetexcept.c: Cleanup.
42155         * sysdeps/arm/fegetround.c: Cleanup.
42156         * sysdeps/arm/feholdexcpt.c: Cleanup.
42157         * sysdeps/arm/fesetenv.c: Cleanup.
42158         * sysdeps/arm/fesetround.c: Cleanup.
42159         * sysdeps/arm/feupdateenv.c: Cleanup.
42160         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42161         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42162         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42163         * sysdeps/arm/ftestexcept.c: Cleanup.
42164         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42165         * sysdeps/arm/setfpucw.c: Cleanup.
42167 2014-05-09  Will Newton  <will.newton@linaro.org>
42169         * sysdeps/arm/armv7/strcmp.S: New file.
42170         * NEWS: Mention addition of ARMv7 optimized strcmp.
42172 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42174         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42175         look for %.ac rather than %.in.
42177         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42178         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42179         * sysdeps/mach/hurd/configure: Regenerated.
42180         * sysdeps/unix/sysv/linux/configure: Regenerated.
42182         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42184 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42186         [BZ# 16922]
42187         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42188         (LONG_SUB): Ditto.
42189         (PTR_SUB): Ditto.
42191 2014-05-07  Andreas Schwab  <schwab@suse.de>
42193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42194         when skipping over non-matching result from nscd.
42196 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42198         [BZ #16876]
42199         * nptl/sockperf.c (client): Check socket return value.
42201         [BZ #16877]
42202         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42203         nscd security class.
42205 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42207         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42208         * sysdeps/arm/unwind.h: ... here.
42210 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42212         [BZ# 16916]
42213         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42214         Define.
42216 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42218         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42219         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42220         multiarch strncpy for PPC64.
42221         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42222         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42224         multiarch optimizations.
42225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42226         (__libc_ifunc_impl_list): Likewise.
42227         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42229         multiarch stpncpy for PPC64.
42230         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42233 2014-05-06  Andreas Schwab  <schwab@suse.de>
42235         [BZ #16912]
42236         * gmon/mcount.c (_MCOUNT_DECL): Use
42237         atomic_compare_and_exchange_bool_acq instead of
42238         catomic_compare_and_exchange_bool_acq.
42240 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42242         * elf/Makefile (others, install-bin): Remove pldd.
42243         (pldd-modules): Variable removed.
42244         ($(objpfx)pldd): Target removed.
42245         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42246         (others, install-bin): Append pldd here.
42247         ($(objpfx)pldd): New target.
42249         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42250         to 0, so the first #if test emitted later doesn't see it undefined.
42251         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42252         * sysdeps/gnu/errlist.c: Regenerated.
42254 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42257         [libc_hidden_builtin_def]: Define to empty value.
42258         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42259         [libc_hidden_builtin_def]: Likewise.
42260         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42261         [libc_hidden_builtin_def]: Likewise.
42262         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42263         [libc_hidden_builtin_def]: Likewise.
42264         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42265         __redirect_memcpy and define ifunc as default hidden symbol.
42266         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42267         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42269 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42271         * locale/iso-4217.def: Reintroduce XDR currency.
42273 2014-05-04  Allan McRae  <allan@archlinux.org>
42275         * po/eo.po: Update Esperanto translation from translation project.
42277 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42279         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42280         and FEATURE_INDEX_MAX to 1.
42281         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42283 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42285         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42286         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42287         * iconvdata/big5.c (ONE_DIRECTION): Define.
42288         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42289         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42290         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42291         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42292         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42293         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42294         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42295         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42296         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42297         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42298         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42299         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42300         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42301         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42302         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42303         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42304         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42305         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42306         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42307         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42308         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42309         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42310         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42311         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42312         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42313         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42314         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42315         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42316         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42317         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42318         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42319         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42320         * iconvdata/johab.c (ONE_DIRECTION): Define.
42321         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42322         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42323         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42324         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42325         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42326         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42327         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42328         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42329         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42330         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42332 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42334         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42335         (_IO_JUMPS_OFFSET): Define to 0.
42337         * nptl/sysdeps/pthread/bits/libc-lock.h
42338         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42339         (__libc_lock_define_initialized_recursive): Always define using
42340         initializer.  Modern compilers treat uninitialized (implicit zero) and
42341         explicit zero initializers the same (i.e. put the datum in bss).
42343 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42345         * nscd/nscd-client.h: Include <string.h>.
42347 2014-05-01  David S. Miller  <davem@davemloft.net>
42349         [BZ #16885]
42350         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42351         multiple zero bytes exist at the end of a string.
42352         Reported by Aurelien Jarno <aurelien@aurel32.net>
42354         * string/test-strcmp.c (check): Add explicit test for situations where
42355         there are multiple zero bytes after the first.
42357 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42359         [BZ #16890]
42360         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42361         when compiling wprintf.
42362         * stdio-common/tstdiomisc.c (t3): New function.
42363         (main): Call it.
42365 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42367         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42368         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42369         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42370         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42372 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42374         * stdlib/longlong.h: Updated from GCC.
42376 2014-05-01  Will Newton  <will.newton@linaro.org>
42377             Bernard Ogden  <bernie.ogden@linaro.org>
42379         * NEWS: Update fixed bug list.
42381         [BZ #15119]
42382         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42384 2014-04-30  David S. Miller  <davem@davemloft.net>
42386         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42387         (libc_feholdexcept_setround_sparc_ctx): New function.
42388         (libc_fesetenv_sparc_ctx): Likewise.
42389         (libc_feupdateenv_sparc_ctx): Likewise.
42390         (libc_feholdsetround_sparc_ctx): Likewise.
42391         (libc_feholdexcept_setround_ctx): Define.
42392         (libc_feholdexcept_setroundf_ctx): Likewise.
42393         (libc_feholdexcept_setroundl_ctx): Likewise.
42394         (libc_fesetenv_ctx): Likewise.
42395         (libc_fesetenvf_ctx): Likewise.
42396         (libc_fesetenvl_ctx): Likewise.
42397         (libc_feupdateenv_ctx): Likewise.
42398         (libc_feupdateenvf_ctx): Likewise.
42399         (libc_feupdateenvl_ctx): Likewise.
42400         (libc_feresetround_ctx): Likewise.
42401         (libc_feresetroundf_ctx): Likewise.
42402         (libc_feresetroundl_ctx): Likewise.
42403         (libc_feholdsetround_ctx): Likewise.
42404         (libc_feholdsetroundf_ctx): Likewise.
42405         (libc_feholdsetroundl_ctx): Likewise.
42407         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42408         with __USE_GNU instead of XOPEN cpp guards.
42410         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42411         0.
42413         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42414         with XOPEN cpp guards.
42416 2014-04-30  Julian Brown  <julian@codesourcery.com>
42418         [BZ #16888]
42419         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42420         handling.
42422 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42424         [BZ #9894]
42425         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42426         Change to 2.6.32.
42427         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42428         * sysdeps/unix/sysv/linux/configure: Regenerated.
42429         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42430         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42431         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42432         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42433         * README: Update reference to required Linux kernel version.
42434         * manual/install.texi (Linux): Update reference to required Linux
42435         kernel headers version.
42436         * INSTALL: Regenerated.
42438         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42439         header inclusion.
42440         [POSIX] (limits.h): Likewise.
42441         [POSIX] (math.h): Likewise.
42442         [POSIX] (sys/wait.h): Likewise.
42443         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42444         function.
42445         [POSIX] (stddef.h): Do not allow header inclusion.
42447 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42449         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42451 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42453         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42454         Return immediately after lll_futex_wake.
42456 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42458         [BZ #16791]
42459         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42460         structure.
42461         (datahead_init_pos): Call datahead_init_common early.
42462         (datahead_init_neg): Likewise.
42464         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42465         datahead_init_neg): New functions.
42466         * nscd/aicache.c (addhstaiX): Use them.
42467         * nscd/grpcache.c (cache_addgr): Likewise.
42468         * nscd/hstcache.c (cache_addhst): Likewise.
42469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42470         * nscd/netgroupcache.c (do_notfound): Likewise.
42471         (addgetnetgrentX): Likewise.
42472         (addinnetgrX): Likewise.
42473         * nscd/pwdcache.c (cache_addpw): Likewise.
42474         * nscd/servicescache.c (cache_addserv): Likewise.
42476 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42477             Atsushi Onoe  <atsushi@onoe.org>
42479         [BZ #14308]
42480         [BZ #12994]
42481         [BZ #13651]
42482         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42483         one response is valid.
42484         * resolv/res_send.c (send_dg): Check for validity of other
42485         response if the current response is a referral.
42487 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42489         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42491 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42493         [BZ #16823]
42494         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42495         Always divide by positive zero when computing -Inf result.
42496         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42497         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42499 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42501         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42502         FPSCR if value do not change.
42503         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42504         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42505         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42506         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42507         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42508         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42509         function.
42511 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42513         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42514         * sysdeps/unix/sysv/linux/hppa: Move directory from
42515         ports/systeps/unix/sysv/linux/hppa.
42516         * README: Update listing for hppa-*-linux-gnu.
42518 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42520         [BZ #16754]
42521         * manual/stdio.texi (Hook functions): Fix types of stream hook
42522         functions.
42523         [BZ #16854]
42524         * socket/sys/socket.h: Fix typo in comment.
42526 2014-04-28  Wilco  <wdijkstr@arm.com>
42528         * sysdeps/arm/fenv_private.h: New file.
42529         * sysdeps/arm/math_private.h: New file.
42530         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42532 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42534         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42535         with __int128_t.
42536         (La_x86_64_retval): Likewise.
42538 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42540         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42541         fpsr if value didn't change.
42542         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42543         to fpcr if value didn't change.
42544         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42545         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42546         fpsr or fpcr if value didn't change.
42547         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42548         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42549         fpcr if value didn't change.
42550         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42551         to fpsr if value didn't change.
42553 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42555         * nptl/tst-sem3.c: Use test-skeleton.c
42556         (main): Rename to do_test.  Use return instead of
42557         exit.
42558         * nptl/tst-sem4.c: Use test-skeleton.c
42559         (main): Rename to do_test.
42561 2014-04-22  David S. Miller  <davem@davemloft.net>
42563         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42564         (struct sigaction): New struct member __glibc_reserved0, change
42565         type of sa_flags to int.
42567 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42569         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42570         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42572 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42574         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42575         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42577 2014-04-22  Will Newton  <will.newton@linaro.org>
42578             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42580         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42581         (__longjmp): Add longjmp and longjmp_target SystemTap
42582         probes.
42583         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42584         (__sigsetjmp): Add setjmp SystemTap probe.
42586 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42588         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42589         match manual order.
42591 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42593         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42595         * sysdeps/powerpc/fpu/fenv_private.h
42596         (libc_feholdexcept_setroundl_ctx): Define to
42597         libc_feholdexcept_setround_ppc_ctx.
42598         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42599         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42600         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42601         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42603 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42605         * sysdeps/aarch64/math-tests.h: New file.
42607 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42609         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42610         New.
42611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42612         Check and set bit_AVX2_Usable.
42613         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42614         macro.
42615         (bit_AVX2): Likewise.
42616         (index_AVX2_Usable): Likewise.
42617         (CPUID_AVX2): Likewise.
42618         (HAS_AVX2): Likewise.
42620 2014-04-17  Will Newton  <will.newton@linaro.org>
42622         * manual/setjmp.texi (System V contexts): Add note that
42623         calling setcontext on a context created by a call to a
42624         signal handler is undefined.  Update text to note that
42625         setcontext from a signal handler is possible but not
42626         recommended.
42628         [BZ #16629]
42629         * stdlib/tst-setcontext.c: Include signal.h.
42630         (main): Check that the signal stack before and
42631         after swapcontext is the same.
42633         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42634         Re-implement to restore registers in user code and avoid
42635         rt_sigreturn system call.
42637 2014-04-17  Wilco  <wdijkstr@arm.com>
42639         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42640         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42641         * math/test-fenv.c: Skip exception trap tests on targets which only
42642         support non-stop mode.
42644 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42645             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42647         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42648         (libc_feholdsetround_aarch64_ctx)
42649         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42650         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42651         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42652         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42653         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42654         (libc_feresetround_noexl_ctx): Define.
42656 2014-04-16  Richard Henderson  <rth@redhat.com>
42658         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42660         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42661         unwind tables.
42663         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42664         const from the non-libc, non-ldso copy.
42666         * sysdeps/alpha/libm-test-ulps: Regenerate.
42668 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42669             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42671         * sysdeps/aarch64/fpu/math_private.h: New file.
42673 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42675         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42677 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42679         [BZ #16275]
42680         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42681         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42682         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42683         Intel MPX bound registers before _dl_profile_fixup.
42684         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42685         registers after _dl_profile_fixup.  Save and restore bound
42686         registers bnd0/bnd1 when calling _dl_call_pltexit.
42687         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42688         (LR_BND_OFFSET): Likewise.
42689         (LRV_BND0_OFFSET): Likewise.
42690         (LRV_BND1_OFFSET): Likewise.
42692 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42694         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42695         to...
42696         * sysdeps/mach/hurd/i386/tls.h: ... here.
42697         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42698         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42699         fields.
42701 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42703         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42705 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42707         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42709 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42711         [BZ #14770]
42712         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42713         * sysdeps/s390/configure: Regenerate.
42715         [BZ #16824]
42716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42717         Set round-to-nearest internally to reduce error accumulation.
42719 2014-04-16  Alan Modra  <amodra@gmail.com>
42721         [BZ #16740]
42722         [BZ #16619]
42723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42724         * math/libm-test.inc (frexp_test_data): Add tests.
42725         * NEWS: Update fixed bug list.
42727 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42729         * benchtests/Makefile: Depend on libraries in build directory.
42730         (bench-math): Separate out math tests.
42731         (bench-pthread): Separate out pthread tests.
42732         (bench): Include math and pthread tests.
42734 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42736         [BZ #16831]
42737         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42738         _dl_debug_initialize.
42740         * configure.ac: Remove SELinux header check.
42741         * configure: Regenerate.
42742         * nscd/selinux.c (perms): Array of const char* to permission names.
42743         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42744         default policy. Call string_to_security_class and string_to_av_perm to
42745         translate strings. Enforce default policy and call avs_has_perm with
42746         results of translated strings.
42748 2014-04-13  David S. Miller  <davem@davemloft.net>
42750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42752 2014-04-12  Allan McRae  <allan@archlinux.org>
42754         [BZ #16838]
42755         * manual/string.texi (Collation Functions): Fix qsort argument
42756         order in example.
42757         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42759 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42761         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42762         Make the test a no-op if there are no exceptions defined.
42764 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42766         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42767         enable-hardcoded-path-in-tests
42769 2014-04-11  Will Newton  <will.newton@linaro.org>
42771         * benchtests/Makefile (extra-objs): Add json-lib.o.
42772         (bench-func): Tidy up JSON output.
42773         * benchtests/bench-skeleton.c: Include json-lib.h.
42774         (main): Use JSON library functions to do output of
42775         benchmark results.
42776         * benchtests/bench-timing-type.c (main): Output the
42777         timing type simply, leaving formatting to the user.
42778         * benchtests/json-lib.c: New file.
42779         * benchtests/json-lib.h: Likewise.
42781 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42783         [BZ #15215]
42784         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42785         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42786         memory barriers.  Add comments.
42787         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42788         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42789         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42790         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42791         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42792         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42794 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42796         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42797         * sysdeps/s390/s390-64/configure.ac: ... this ...
42798         * sysdeps/s390/configure.ac: ... to here.
42799         * sysdeps/s390/s390-32/configure: Delete file.
42800         * sysdeps/s390/s390-64/configure: Delete file.
42801         * sysdeps/s390/configure: Regenerate.
42803 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42805         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42807 2014-04-11  Will Newton  <will.newton@linaro.org>
42809         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42810         to zero if it is not defined elsewhere.  (mtrim): Test
42811         the value of MALLOC_DEBUG with #if rather than #ifdef.
42813 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42815         * benchtests/pthread_once-inputs: New file.
42816         * benchtests/pthread_once-source.c: New file.
42817         * benchtests/README: Update documentation.
42819 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42820             H.J. Lu  <hongjiu.lu@intel.com>
42822         [BZ #16275]
42823         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42824         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42825         * sysdeps/x86_64/configure: Regenerated.
42826         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42827         macro.
42828         (REGISTER_SAVE_RAX): Likewise.
42829         (REGISTER_SAVE_RCX): Likewise.
42830         (REGISTER_SAVE_RDX): Likewise.
42831         (REGISTER_SAVE_RSI): Likewise.
42832         (REGISTER_SAVE_RDI): Likewise.
42833         (REGISTER_SAVE_R8): Likewise.
42834         (REGISTER_SAVE_R9): Likewise.
42835         (REGISTER_SAVE_BND0): Likewise.
42836         (REGISTER_SAVE_BND1): Likewise.
42837         (REGISTER_SAVE_BND2): Likewise.
42838         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42839         bound registers when calling _dl_fixup.
42841 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42843         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42844         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42845         of its definition.
42846         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42847         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42848         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42849         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42850         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42851         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42852         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42854 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42856         [BZ #15514]
42857         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42858         pathconf(_PC_NAME_MAX).
42860 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42862         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42863         Remove macro usage.
42864         (__PTHREAD_SPINS): Move definition to ...
42865         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42866         (__PTHREAD_SPINS): ... here.
42867         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42868         (__PTHREAD_SPIN): Likewise.
42869         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42870         (__PTHREAD_SPIN): Likewise.
42871         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42872         (__PTHREAD_SPIN): Likewise.
42873         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42874         (__PTHREAD_SPIN): Likewise.
42875         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42876         (__PTHREAD_SPIN): Likewise.
42877         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42878         (__PTHREAD_SPIN): Likewise.
42879         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42880         (__PTHREAD_SPIN): Likewise.
42881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42882         (__PTHREAD_SPIN): Likewise.
42883         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42884         (__PTHREAD_SPIN): Likewise.
42885         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42886         (__PTHREAD_SPIN): Likewise.
42887         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42888         (__PTHREAD_SPIN): Likewise.
42889         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42890         (__PTHREAD_SPIN): Likewise.
42892         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42893         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42894         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42895         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42896         imply folder.
42897         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42898         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42899         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42900         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42901         correct imply path.
42902         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42903         strlen symbol for non multi-arch builds.
42904         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42905         missing hidden_def and weak_alias.
42907 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42909         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42911 2014-04-07  Will Newton  <will.newton@linaro.org>
42913         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42914         and contents.  [!_LIBC] Remove #ifndef and contents.
42915         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42916         * string/memccpy.c (__memccpy): Use ANSI prototype.
42917         * string/memfrob.c (memfrob): Likewise.
42918         * string/strcoll.c (STRCOLL): Likewise.
42919         * string/strlen.c (strlen): Likewise.
42920         * string/strtok.c (STRTOK): Likewise.
42921         * string/strcat.c: Remove unused #include of memcopy.h.
42922         (strcat): Use ANSI prototype.
42923         * string/strchr.c: Remove unused #include of memcopy.h.
42924         (strchr): Use ANSI prototype.
42925         * string/strcmp.c: Remove unused #include of memcopy.h.
42926         (strcmp): Use ANSI prototype.
42927         * string/strcpy.c: Remove unused #include of memcopy.h.
42928         (strcpy): Use ANSI prototype.
42930 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42932         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42933         * config.make.in (config-extra-cppflags): Set it from
42934         libc_extra_cppflags.
42935         * configure.ac (libc_extra_cflags): Make it accumulate over
42936         configure fragments.
42937         (libc_extra_cppflags): New flag.
42938         * configure. Regenerate.
42939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42940         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42941         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42944         [BZ #16815]
42945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42946         result for FE_DOWNWARD rounding mode.
42947         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42948         Likewise.
42949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42951 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42953         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42954         in function argument name.
42956 2014-04-03  David Svoboda  <svoboda@cert.org>
42958         [BZ #5666]
42959         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42960         explicitly.
42962 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42964         * elf/dl-unmap-segments.h: New file.
42965         * sysdeps/generic/ldsodefs.h
42966         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42967         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42968         * elf/dl-fptr.c: Likewise.
42969         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42970         * sysdeps/aarch64/tlsdesc.c: Likewise.
42971         * sysdeps/arm/tlsdesc.c: Likewise.
42972         * sysdeps/i386/tlsdesc.c: Likewise.
42973         * sysdeps/tile/dl-runtime.c: Likewise.
42974         * sysdeps/x86_64/tlsdesc.c: Likewise.
42975         * elf/dl-load.h: New file.
42976         * elf/dl-load.c: Include it.
42977         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42978         Macros moved to dl-load.h.
42979         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42980         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42981         Use _dl_unmap_segments in place of __munmap.
42982         Break out segment-mapping loop into ...
42983         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42985 2014-04-03  Will Newton  <will.newton@linaro.org>
42987         * elf/dl-lookup.c (do_lookup_x): Remove comment
42988         referring to nested function and move variable
42989         declarations down to before first use.
42991 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42993         [BZ #16799]
42994         [BZ #16800]
42995         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42996         with 0 numerator.
42997         * math/s_catanf.c (__catanf): Likewise.
42998         * math/s_catanh.c (__catanh): Likewise.
42999         * math/s_catanhf.c (__catanhf): Likewise.
43000         * math/s_catanhl.c (__catanhl): Likewise.
43001         * math/s_catanl.c (__catanl): Likewise.
43002         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43003         by positive zero when computing -Inf result.
43004         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43005         (catanh_test): Likewise.
43006         * sysdeps/i386/fpu/libm-test-ulps: Update.
43007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43009         [BZ #16789]
43010         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43011         instead of using underflowing value in computing result.
43012         * math/s_clog10.c (__clog10): Likewise.
43013         * math/s_clog10f.c (__clog10f): Likewise.
43014         * math/s_clog10l.c (__clog10l): Likewise.
43015         * math/s_clogf.c (__clogf): Likewise.
43016         * math/s_clogl.c (__clogl): Likewise.
43017         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43018         (clog10_test): Likewise.
43019         * sysdeps/i386/fpu/libm-test-ulps: Update.
43020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43022 2014-04-02  Alan Modra  <amodra@gmail.com>
43024         [BZ #16739]
43025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43026         output when value is near a power of two.  Use int64_t for lx and
43027         remove casts.  Use decimal rather than hex exponent constants.
43028         Don't use long double multiplication when double will suffice.
43029         * math/libm-test.inc (nextafter_test_data): Add tests.
43030         * NEWS: Add 16739 and 16786 to bug list.
43032         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43034         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43036 2014-04-01  Will Newton  <will.newton@linaro.org>
43038         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43039         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43041 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43043         [BZ #13347]
43044         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43045         * nptl/tst-setuid2.c: New file.
43046         * nptl/Makefile (xtests): Add tst-setuid2.
43048 2014-04-01  Alan Modra  <amodra@gmail.com>
43050         [BZ #16786]
43051         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43053 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43055         [BZ #6803]
43056         [BZ #6804]
43057         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43058         set errno as appropriate.
43059         * math/w_scalbf.c (__scalbf): Likewise.
43060         * math/w_scalbl.c (__scalbl): Likewise.
43061         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43062         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43063         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43064         Add more NaN tests.
43066         [BZ #16349]
43067         * math/w_atan2.c: Include <errno.h>.
43068         (__atan2): Set errno for result underflowing to zero.
43069         * math/w_atan2f.c: Include <errno.h>.
43070         (__atan2f): Set errno for result underflowing to zero.
43071         * math/w_atan2l.c: Include <errno.h>.
43072         (__atan2l): Set errno for result underflowing to zero.
43073         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43074         tests.
43075         * math/auto-libm-test-out: Regenerated.
43077 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43079         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43080         Encode instruction correctly in little endian.
43081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43082         Likewise.
43083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43084         Likewise.
43085         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43086         Likewise.
43087         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43088         Likewise.
43090 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43092         [BZ #9894]
43093         * sysdeps/unix/sysv/linux/kernel-features.h
43094         [__sparc__ && !__arch64__ && !__sparc_v9__]
43095         (__ASSUME_SET_ROBUST_LIST): Do not define.
43096         [__sparc__ && !__arch64__ && !__sparc_v9__]
43097         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43098         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43099         Likewise.
43100         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43101         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43102         (__ASSUME_REQUEUE_PI): Likewise.
43103         (__ASSUME_SET_ROBUST_LIST): Likewise.
43104         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43105         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43106         Undefine.
43107         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43109         Likewise.
43110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43111         Likewise.
43112         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43113         Likewise.
43114         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43115         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43116         Undefine.
43117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43118         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43119         Likewise.
43121         [BZ #16648]
43122         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43123         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43124         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43126 2014-03-31  Will Newton  <will.newton@linaro.org>
43128         * benchtests/Makefile (bench): Add ffs and ffsll to list
43129         of tests.
43130         * benchtests/ffs-inputs: New file.
43131         * benchtests/ffsll-inputs: Likewise.
43133 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43135         [BZ #16770]
43136         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43137         too large before casting to int.
43138         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43139         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43140         * math/libm-test.inc (scalb_test_data): Add more tests.
43142 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43144         * benchtests/Makefile (DETAILED_OPT): New make option.
43145         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43146         set.
43147         * benchtests/bench-skeleton.c: Include stdbool.h.
43148         (main): Store and print timings per input.
43149         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43150         member to each argument value.
43151         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43152         (_print_arg_data): Initialize per-input timing to 0.
43154         * benchtests/Makefile (timing-type): New binary.
43155         (bench-clean): Also remove bench-timing-type.
43156         (bench): New target for timing-type.
43157         (bench-func): Print output in JSON format.
43158         * benchtests/bench-skeleton.c (main): Print output in JSON
43159         format.
43160         * benchtests/bench-timing-type.c: New file.
43161         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43162         (TIMING_PRINT_STATS): Remove.
43163         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43164         name separately.
43166         * benchtests/bench-modf.c: Remove.
43167         * benchtests/modf-inputs: New inputs file.
43169 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43171         [BZ #16362]
43172         * math/s_clog10.c (M_PI_LOG10E): New macro.
43173         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43174         imaginary parts are 0.
43175         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43176         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43177         imaginary parts are 0.
43178         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43179         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43180         imaginary parts are 0.
43181         * math/libm-test.inc (clog10_test_data): Update expected results
43182         for when real and imaginary parts are 0.
43184 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43186         * elf/dl-load.c: Finish conversion of __builtin_expect into
43187         __glibc_{un}likely.
43189 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43191         [BZ #16348]
43192         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43193         1+x for argument with exponent below -67.
43194         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43195         Likewise.
43196         * math/auto-libm-test-in: Add more tests of exp.
43197         * math/auto-libm-test-out: Regenerated.
43199 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43201         [BZ #16759]
43202         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43203         (nscd_getnetgrent): Use it.
43205         [BZ #16760]
43206         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43207         of stpcpy.
43209 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43211         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43212         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43213         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43214         (lll_robust_unlock): Remove out of line section. Use cfi
43215         intrinsics.
43216         (LLL_STUB_UNWIND_INFO*): Remove.
43217         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43218         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43219         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43220         (lll_robust_unlock): Remove out of line section. Use cfi
43221         intrinsics.
43222         (LLL_STUB_UNWIND_INFO*): Remove.
43224 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43226         [BZ #16758]
43227         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43228         blank values.
43230 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43232         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43234 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43236         [BZ #16198]
43237         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43238         fnstenv.
43239         * math/test-fenv-preserve.c: New file.
43240         * math/Makefile (tests): Add test-fenv-preserve.
43242 2014-03-26  Will Newton <will.newton@linaro.org>
43244         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43246 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43248         * scripts/versionlist.awk: Partition the version sets and emit all
43249         GLIBC_* (sorted) before all others (sorted).
43251 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43253         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43254         GLIBC_2.2.5 version.
43256 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43258         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43259         calls.
43261         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43262         previous change.
43264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43266 2014-03-25  Andreas Schwab  <schwab@suse.de>
43268         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43269         label to be used after in6ailist is initialized.
43271 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43273         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43274         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43276 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43278         [BZ #16357]
43279         [BZ #16599]
43280         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43281         min_plus_half.
43282         (fp_formats): Update initializers.
43283         (init_fp_formats): Initialize new field.
43284         (output_for_one_input_case): Allow underflow for results up to
43285         min_plus_half.
43286         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43287         * math/auto-libm-test-in: Don't mark some underflows from asin and
43288         atanh as spurious.
43289         * math/auto-libm-test-out: Regenerated.
43290         * sysdeps/i386/fpu/libm-test-ulps: Update.
43291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43293 2014-03-25  Andreas Schwab  <schwab@suse.de>
43295         * libio/Makefile (tst-ftell-partial-wide-ENV)
43296         (tst-ftell-active-handler-ENV): Define.
43298 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43300         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43302 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43304         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43306 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43308         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43309         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43310         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43312 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43314         [BZ #16634]
43315         * elf/dl-load.c (open_verify): Add mode parameter.
43316         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43317         (open_path): Change from boolean 'secure' to complete flag 'mode'
43318         (_dl_map_object): Adjust.
43319         * elf/Makefile (tests): Add tst-dlopen-aout.
43320         * elf/tst-dlopen-aout.c: New test.
43322 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43324         [BZ #16714]
43325         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43326         (struct stat): Rename member pad0 to __glibc_reserved0.
43328         [BZ #16712]
43329         * sysdeps/s390/s390-32/bits/wordsize.h
43330         (__WORDSIZE32_SIZE_ULONG): New define.
43331         * sysdeps/s390/s390-64/bits/wordsize.h
43332         (__WORDSIZE32_SIZE_ULONG): Likewise.
43333         * sysdeps/generic/stdint.h (SIZE_MAX):
43334         Define as UL if __WORDSIZE32_SIZE_ULONG.
43336         [BZ #16713]
43337         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43338         (__glibc_reserved0): New variable.
43339         (sa_flags): Change type to int.
43341         * posix/Makefile (before-compile): Use += before-compile instead
43342         of a :=.
43344         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43345         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43347 2014-03-20  Andreas Schwab  <schwab@suse.de>
43349         [BZ #16743]
43350         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43351         non-matching result from nscd.
43353 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43355         * scripts/bench.py: Moved to ...
43356         * benchtests/scripts/bench.py: ... here.
43357         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43359 2014-03-24  Andreas Schwab  <schwab@suse.de>
43361         [BZ #16002]
43362         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43363         alloca_account and account alloca use for struct in6ailist.
43365 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43367         [BZ #16284]
43368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43369         rounding mode to recompute results that overflow to infinity or
43370         underflow to zero.
43371         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43372         bug 16284.
43373         * math/auto-libm-test-out: Regenerated.
43374         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43375         (ccosh_test): Likewise.
43376         (csin_test_data): Use plus_oflow.
43377         (csin_test): Use ALL_RM_TEST.
43378         (csinh_test_data): Use plus_oflow.
43379         (csinh_test): Use ALL_RM_TEST.
43380         * sysdeps/i386/fpu/libm-test-ulps: Update.
43381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43383 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43385         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43386         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43387         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43389         [BZ #16731]
43390         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43391         when x - 1 is zero.
43392         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43393         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43394         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43395         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43396         argument is 1.
43397         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43398         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43399         zero.
43400         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43401         * sysdeps/i386/fpu/libm-test-ulps: Update.
43402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43404 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43406         * scripts/bench.pl: Remove file.
43407         * scripts/bench.py: New benchmark script.
43408         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43409         * benchtests/README: Mention python dependency.
43410         * scripts/pylintrc: New file.
43411         * scripts/pylint: New file.
43413         * bits/mathdef.h: Use #ifdef instead of #if.
43414         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43415         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43416         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43417         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43418         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43419         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43421 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43422             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43424         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43426         and strpbrk-ppc64 objects.
43427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43428         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43430         multiarch strpbrk for POWER7.
43431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43432         multiarch strpbrk for PPC64.
43433         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43434         ifunc selector.
43435         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43436         strpbrk for POWER7.
43438 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43440         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43441         (atan_test): Likewise.
43442         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43443         (atanh_test): Use ALL_RM_TEST.
43444         (atan2_test_data): Likewise.
43445         (cabs_test): Likewise.
43446         (cacosh_test): Likewise.
43447         (carg_test): Likewise.
43448         (casin_test): Likewise.
43449         (casinh_test): Likewise.
43450         (cbrt_test): Likewise.
43451         (csqrt_test): Likewise.
43452         (erf_test): Likewise.
43453         (erfc_test): Likewise.
43454         (pow10_test): Likewise.
43455         (exp2_test): Likewise.
43456         (hypot_test): Likewise.
43457         (j0_test): Likewise.
43458         (j1_test): Likewise.
43459         (lgamma_test): Likewise.
43460         (gamma_test): Likewise.
43461         (sincos_test): Likewise.
43462         (tanh_test): Likewise.
43463         (y0_test): Likewise.
43464         (y1_test): Likewise.
43465         * sysdeps/i386/fpu/libm-test-ulps: Update.
43466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43468 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43470         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43471         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43472         and strcspn-ppc64 objects.
43473         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43474         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43475         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43476         multiarch strcspn for POWER7.
43477         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43478         multiarch strcspn for PPC64.
43479         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43480         ifunc selector.
43481         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43482         strcspn for POWER7.
43484 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43486         * math/gen-libm-test.pl (generate_testfile): Expect only function
43487         name as argument to AUTO_TESTS_* and pass results for all rounding
43488         modes to parse_args.
43489         (parse_auto_input): Separate inputs of automatic tests from
43490         outputs before storing in %auto_tests.
43491         * math/libm-test.inc (acos_test_data): Update call to
43492         AUTO_TESTS_f_f.
43493         (acos_test): Use ALL_RM_TEST.
43494         (acos_tonearest_test_data): Remove.
43495         (acos_test_tonearest): Likewise.
43496         (acos_towardzero_test_data): Likewise.
43497         (acos_test_towardzero): Likewise.
43498         (acos_downward_test_data): Likewise.
43499         (acos_test_downward): Likewise.
43500         (acos_upward_test_data): Likewise.
43501         (acos_test_upward): Likewise.
43502         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43503         (asin_test_data): Likewise.
43504         (asin_test): Use ALL_RM_TEST.
43505         (asin_tonearest_test_data): Remove.
43506         (asin_test_tonearest): Likewise.
43507         (asin_towardzero_test_data): Likewise.
43508         (asin_test_towardzero): Likewise.
43509         (asin_downward_test_data): Likewise.
43510         (asin_test_downward): Likewise.
43511         (asin_upward_test_data): Likewise.
43512         (asin_test_upward): Likewise.
43513         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43514         (atan_test_data): Likewise.
43515         (atanh_test_data): Likewise.
43516         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43517         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43518         (carg_test_data): Likewise.
43519         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43520         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43521         (ccosh_test_data): Likewise.
43522         (cexp_test_data): Likewise.
43523         (clog_test_data): Likewise.
43524         (clog10_test_data): Likewise.
43525         (cos_test_data): Update call to AUTO_TESTS_f_f.
43526         (cos_test): Use ALL_RM_TEST.
43527         (cos_tonearest_test_data): Remove.
43528         (cos_test_tonearest): Likewise.
43529         (cos_towardzero_test_data): Likewise.
43530         (cos_test_towardzero): Likewise.
43531         (cos_downward_test_data): Likewise.
43532         (cos_test_downward): Likewise.
43533         (cos_upward_test_data): Likewise.
43534         (cos_test_upward): Likewise.
43535         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43536         (cosh_test): Use ALL_RM_TEST.
43537         (cosh_tonearest_test_data): Remove.
43538         (cosh_test_tonearest): Likewise.
43539         (cosh_towardzero_test_data): Likewise.
43540         (cosh_test_towardzero): Likewise.
43541         (cosh_downward_test_data): Likewise.
43542         (cosh_test_downward): Likewise.
43543         (cosh_upward_test_data): Likewise.
43544         (cosh_test_upward): Likewise.
43545         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43546         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43547         (ctan_test_data): Likewise.
43548         (ctan_test): Use ALL_RM_TEST.
43549         (ctan_tonearest_test_data): Remove.
43550         (ctan_test_tonearest): Likewise.
43551         (ctan_towardzero_test_data): Likewise.
43552         (ctan_test_towardzero): Likewise.
43553         (ctan_downward_test_data): Likewise.
43554         (ctan_test_downward): Likewise.
43555         (ctan_upward_test_data): Likewise.
43556         (ctan_test_upward): Likewise.
43557         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43558         (ctanh_test): Use ALL_RM_TEST.
43559         (ctanh_tonearest_test_data): Remove.
43560         (ctanh_test_tonearest): Likewise.
43561         (ctanh_towardzero_test_data): Likewise.
43562         (ctanh_test_towardzero): Likewise.
43563         (ctanh_downward_test_data): Likewise.
43564         (ctanh_test_downward): Likewise.
43565         (ctanh_upward_test_data): Likewise.
43566         (ctanh_test_upward): Likewise.
43567         (erf_test_data): Update call to AUTO_TESTS_f_f.
43568         (erfc_test_data): Likewise.
43569         (exp_test_data): Likewise.
43570         (exp_test): Use ALL_RM_TEST.
43571         (exp_tonearest_test_data): Remove.
43572         (exp_test_tonearest): Likewise.
43573         (exp_towardzero_test_data): Likewise.
43574         (exp_test_towardzero): Likewise.
43575         (exp_downward_test_data): Likewise.
43576         (exp_test_downward): Likewise.
43577         (exp_upward_test_data): Likewise.
43578         (exp_test_upward): Likewise.
43579         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43580         (exp10_test): Use ALL_RM_TEST.
43581         (exp10_tonearest_test_data): Remove.
43582         (exp10_test_tonearest): Likewise.
43583         (exp10_towardzero_test_data): Likewise.
43584         (exp10_test_towardzero): Likewise.
43585         (exp10_downward_test_data): Likewise.
43586         (exp10_test_downward): Likewise.
43587         (exp10_upward_test_data): Likewise.
43588         (exp10_test_upward): Likewise.
43589         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43590         (expm1_test_data): Likewise.
43591         (expm1_test): Use ALL_RM_TEST.
43592         (expm1_tonearest_test_data): Remove.
43593         (expm1_test_tonearest): Likewise.
43594         (expm1_towardzero_test_data): Likewise.
43595         (expm1_test_towardzero): Likewise.
43596         (expm1_downward_test_data): Likewise.
43597         (expm1_test_downward): Likewise.
43598         (expm1_upward_test_data): Likewise.
43599         (expm1_test_upward): Likewise.
43600         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43601         (fma_test): Use ALL_RM_TEST.
43602         (fma_towardzero_test_data): Remove.
43603         (fma_test_towardzero): Likewise.
43604         (fma_downward_test_data): Likewise.
43605         (fma_test_downward): Likewise.
43606         (fma_upward_test_data): Likewise.
43607         (fma_test_upward): Likewise.
43608         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43609         (j0_test_data): Update call to AUTO_TESTS_f_f.
43610         (j1_test_data): Likewise.
43611         (jn_test_data): Update call to AUTO_TESTS_if_f.
43612         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43613         (log_test_data): Update call to AUTO_TESTS_f_f.
43614         (log10_test_data): Likewise.
43615         (log1p_test_data): Likewise.
43616         (log2_test_data): Likewise.
43617         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43618         (pow_tonearest_test_data): Likewise.
43619         (sin_test_data): Update call to AUTO_TESTS_f_f.
43620         (sin_test): Use ALL_RM_TEST.
43621         (sin_tonearest_test_data): Remove.
43622         (sin_test_tonearest): Likewise.
43623         (sin_towardzero_test_data): Likewise.
43624         (sin_test_towardzero): Likewise.
43625         (sin_downward_test_data): Likewise.
43626         (sin_test_downward): Likewise.
43627         (sin_upward_test_data): Likewise.
43628         (sin_test_upward): Likewise.
43629         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43630         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43631         (sinh_test): Use ALL_RM_TEST.
43632         (sinh_tonearest_test_data): Remove.
43633         (sinh_test_tonearest): Likewise.
43634         (sinh_towardzero_test_data): Likewise.
43635         (sinh_test_towardzero): Likewise.
43636         (sinh_downward_test_data): Likewise.
43637         (sinh_test_downward): Likewise.
43638         (sinh_upward_test_data): Likewise.
43639         (sinh_test_upward): Likewise.
43640         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43641         (sqrt_test): Use ALL_RM_TEST.
43642         (sqrt_tonearest_test_data): Remove.
43643         (sqrt_test_tonearest): Likewise.
43644         (sqrt_towardzero_test_data): Likewise.
43645         (sqrt_test_towardzero): Likewise.
43646         (sqrt_downward_test_data): Likewise.
43647         (sqrt_test_downward): Likewise.
43648         (sqrt_upward_test_data): Likewise.
43649         (sqrt_test_upward): Likewise.
43650         (tan_test_data): Update call to AUTO_TESTS_f_f.
43651         (tan_test): Use ALL_RM_TEST.
43652         (tan_tonearest_test_data): Remove.
43653         (tan_test_tonearest): Likewise.
43654         (tan_towardzero_test_data): Likewise.
43655         (tan_test_towardzero): Likewise.
43656         (tan_downward_test_data): Likewise.
43657         (tan_test_downward): Likewise.
43658         (tan_upward_test_data): Likewise.
43659         (tan_test_upward): Likewise.
43660         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43661         (tgamma_test_data): Likewise.
43662         (y0_test_data): Likewise.
43663         (y1_test_data): Likewise.
43664         (yn_test_data): Update call to AUTO_TESTS_if_f.
43665         (main): Do not call removed functions.
43667 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43669         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43670         (ldexp_test_data): Remove.
43671         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43672         scalbn_test_data.
43673         (scalb_test): Use ALL_RM_TEST.
43675 2014-03-19  Andreas Schwab  <schwab@suse.de>
43677         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43679 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43681         [BZ #16649]
43682         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43683         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43684         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43685         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43686         (__ASSUME_PREADV): Undefine.
43687         (__ASSUME_PWRITEV): Likewise.
43689 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43691         * bits/mman-linux.h: Add comment about non-Linux use.
43692         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43693         bits/mman-linux.h resting place.
43695         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43696         * bits/mman-linux.h: ... here.
43698 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43700         * conform/conformtest.pl: Add standard definition when calling C
43701         preprocessor on data files.
43702         (checknamespace): Remove unused variable.
43704 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43706         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43707         minus_oflow, plus_uflow and minus_uflow in expected results.
43708         * math/libm-test.inc (scalbn_test_data): Add more tests of
43709         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43710         minus_uflow.
43711         (scalbn_test): Use ALL_RM_TEST.
43712         (scalbln_test_data): Add more tests of negative arguments.  Use
43713         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43714         (scalbln_test): Use ALL_RM_TEST.
43716 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43718         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43720 2014-03-18  Will Newton  <will.newton@linaro.org>
43722         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43723         inaccurate comment.
43725 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43727         * Makerules [!subdir] (check-abi): Exit with error status if a
43728         test failed.
43730 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43732         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43733         for rint.  Include results for all rounding modes.
43734         (nearbyint_test): Use ALL_RM_TEST.
43735         (rint_test_data): Include all tests used for nearbyint.
43737 2014-03-17  Will Newton  <will.newton@linaro.org>
43739         * nptl/sysdeps/pthread/pthread.h: Revert previous
43740         change.
43742         * sysdeps/generic/ldsodefs.h: Revert previous
43743         change.
43745         * libio/genops.c: Revert previous change.
43746         * libio/libioP.h: Likewise.
43747         * stdio-common/vfprintf.c: Likewise.
43749         * sysdeps/generic/math_private.h: Revert previous
43750         change.
43752         * sysdeps/generic/math_private.h: Check whether
43753         HAVE_RM_CTX is defined with #ifdef rather
43754         than #if.
43756         * argp/argp-fmtstream.h: Check whether
43757         __STRICT_ANSI__ is defined with #ifdef rather
43758         than #if.
43759         * argp/argp.h: Likewise.
43761         * libio/genops.c: Check whether
43762         _IO_JUMPS_OFFSET is defined with #ifdef rather
43763         than #if.
43764         * libio/libioP.h: Likewise.
43765         * stdio-common/vfprintf.c: Likewise.
43767         * sysdeps/generic/ldsodefs.h: Check whether
43768         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43769         than #if.
43771         * nptl/sysdeps/pthread/pthread.h: Check
43772         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43773         its value.
43775 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43777         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43778         setting O_APPEND.
43779         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43780         test case.
43782         [BZ #16680]
43783         * libio/fileops.c (_IO_file_open): Seek to end of file but
43784         don't cache the offset.
43785         (get_file_offset): Remove function.
43786         (do_ftell): Use cached offset when available.
43787         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43788         don't cache the offset.
43789         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43790         case.
43791         (do_one_test): Call it.
43792         (do_ftell_test): Fix up expected old offset for a+ mode.
43793         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43794         available.
43796         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43797         up test status with function return status.
43798         (do_write_test): Likewise.
43799         (do_append_test): Likewise.
43801         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43802         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43803         Remove.
43805 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43807         * math/gen-libm-test.pl (parse_args): Handle results specified for
43808         each rounding mode separately.
43809         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43810         tests and results from lrint_tonearest_test_data,
43811         lrint_towardzero_test_data, lrint_downward_test_data and
43812         lrint_upward_test_data.
43813         (lrint_test): Use ALL_RM_TEST.
43814         (lrint_tonearest_test_data): Remove.
43815         (lrint_test_tonearest): Likewise.
43816         (lrint_towardzero_test_data): Likewise.
43817         (lrint_test_towardzero): Likewise.
43818         (lrint_downward_test_data): Likewise.
43819         (lrint_test_downward): Likewise.
43820         (lrint_upward_test_data): Likewise.
43821         (lrint_test_upward): Likewise.
43822         (llrint_test_data): Merge in per-rounding-mode tests and results
43823         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43824         llrint_downward_test_data and llrint_upward_test_data.
43825         (llrint_test): Use ALL_RM_TEST.
43826         (llrint_tonearest_test_data): Remove.
43827         (llrint_test_tonearest): Likewise.
43828         (llrint_towardzero_test_data): Likewise.
43829         (llrint_test_towardzero): Likewise.
43830         (llrint_downward_test_data): Likewise.
43831         (llrint_test_downward): Likewise.
43832         (llrint_upward_test_data): Likewise.
43833         (llrint_test_upward): Likewise.
43834         (rint_test_data): Merge in per-rounding-mode tests and results
43835         from rint_tonearest_test_data, rint_towardzero_test_data,
43836         rint_downward_test_data and rint_upward_test_data.  Add
43837         per-rounding-mode results for tests not in those arrays.
43838         (rint_test): Use ALL_RM_TEST.
43839         (rint_tonearest_test_data): Remove.
43840         (rint_test_tonearest): Likewise.
43841         (rint_towardzero_test_data): Likewise.
43842         (rint_test_towardzero): Likewise.
43843         (rint_downward_test_data): Likewise.
43844         (rint_test_downward): Likewise.
43845         (rint_upward_test_data): Likewise.
43846         (rint_test_upward): Likewise.
43847         (main): Don't call removed functions.
43849 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43851         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43852         "Compiled on ..." crapola.  It is anti-useful.
43854 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43856         * scripts/evaluate-test.sh: Handle fourth argument to determine
43857         whether test run should stop on failure.
43858         * Makeconfig (stop-on-test-failure): New variable.
43859         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43860         $(stop-on-test-failure).
43861         * Makefile (tests): Give a summary of results from testing and
43862         exit with failure status if they include an ERROR or FAIL.
43863         (xtests): Likewise.
43864         * manual/install.texi (Configuring and compiling): Mention
43865         stop-on-test-failure=y.
43866         * INSTALL: Regenerated.
43868 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43870         * scripts/versionlist.awk: New file.
43871         * Makerules [$(build-shared) = yes]
43872         (postclean-generated): Add Versions.def, not Versions.def.v and
43873         Versions.def.v.i.
43874         ($(common-objpfx)Versions.def.v.i): Target removed.
43875         ($(common-objpfx)Versions.def): New target.
43876         ($(common-objpfx)Versions.all): Depend on that rather that
43877         $(common-objpfx)Versions.def.v.
43878         * Versions.def: File removed.
43880         * Makeconfig (+gccwarn): Add -Wundef.
43881         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43882         a dl-sysdep.h breaking its contract.
43883         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43884         * include/stackinfo.h: New file.
43885         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43886         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43887         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43888         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43889         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43890         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43891         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43892         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43893         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43894         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43895         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43896         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43897         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43898         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43899         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43901 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43903         [BZ #16707]
43904         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43905         implementation.
43906         * math/libm-test.inc (round_test_data): Add more tests.
43908         [BZ #16706]
43909         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43910         implementation.
43911         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43913         [BZ #16701]
43914         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43915         implementation.
43916         * math/libm-test.inc (ceil_test_data): Add more tests.
43918         * math/libm-test.inc (trunc_test_data): Add more tests related to
43919         BZ#16414.
43921 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43923         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43924         with #if rather than #ifdef.
43925         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43927 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43929         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43930         first.  Disable AVX-512 GCC support if assembler doesn't support
43931         it.
43932         * sysdeps/x86_64/configure: Regenerated.
43934 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43936         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43937         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43938         (__old_pthread_attr_setstack): Likewise.
43939         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43940         [!_STACK_GROWS_DOWN]: Likewise.
43942 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43944         * config.make.in (have-bash2): Delete.
43945         * configure.ac (libc_cv_have_bash2): Delete.
43946         * configure: Regenerate.
43947         * elf/Makefile (common-ldd-rewrite): Rename to ...
43948         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43949         (sh-ldd-rewrite): Delete.
43950         (bash-ldd-rewrite): Delete.
43951         (have-bash2): Delete checks.
43952         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43953         ldd-rewrite.
43955         * config.make.in (have-ksh): Delete.
43956         (KSH): Delete.
43957         * configure.ac (libc_cv_have_ksh): Delete.
43958         * configure: Regenerate.
43960         * elf/Makefile: Delete $(have-ksh) check.
43961         ($(objpfx)sotruss): Change KSH to BASH.
43962         * elf/sotruss.ksh: Rename to ...
43963         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43964         function style to match POSIX.  Drop ksh vim mode setting.
43966         * manual/time.texi (Specifying the Time Zone with TZ): Change
43967         Tuesday to Thursday.
43969         * debug/tst-longjmp_chk2.c: Update header comment.
43970         (stackoverflow_handler): Add comment.  Call assert on pass value.
43972 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43974         [BZ #16194]
43975         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43976         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43977         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43978         (La_x86_64_vector): Add zmm.
43979         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43980         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43981         ($(objpfx)tst-audit10): New target.
43982         ($(objpfx)tst-audit10.out): Likewise.
43983         (tst-audit10-ENV): New.
43984         (AVX512-CFLAGS): Likewise.
43985         (CFLAGS-tst-audit10.c): Likewise.
43986         (CFLAGS-tst-auditmod10a.c): Likewise.
43987         (CFLAGS-tst-auditmod10b.c): Likewise.
43988         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43989         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43990         * sysdeps/x86_64/configure: Regenerated.
43991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43992         AVX-512 zmm register support.
43993         (_dl_x86_64_save_sse): Likewise.
43994         (_dl_x86_64_restore_sse): Likewise.
43995         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43996         size vector registers.
43997         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43998         (ZMM_SIZE): Likewise.
43999         * sysdeps/x86_64/tst-audit10.c: New file.
44000         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44001         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44003 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44005         * configure.ac (HAVE_EHDR_START): New check.
44006         * configure: Regenerated.
44007         * config.h.in (HAVE_EHDR_START): New #undef.
44008         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44009         assuming the lowest-addressed segment maps the start of the file.
44011 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44013         * INSTALL: Regenerated.
44015 2014-03-13  Will Newton  <will.newton@linaro.org>
44017         * manual/setjmp.texi (System V contexts): Improve
44018         clarity and grammar of documentation.
44020 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44022         [BZ #16381]
44023         * elf/Makefile (tests): Add tst-pie2.
44024         (tests-pie): Add tst-pie2.
44025         * elf/tst-pie2.c: New file.
44026         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44027         for ET_EXEC.
44028         * elf/rtld.c (map_doit): Load executable as lt_executable.
44029         (dl_main): Likewise.
44031 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44033         [BZ #16642]
44034         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44035         (__ASSUME_PSELECT): Undefine.
44037 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44039         [BZ #16689]
44040         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44041         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44042         static build.
44043         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44044         selector for static builds.
44046 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44048         [BZ #16695]
44049         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44050         key in the buffer.
44052 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44054         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44055         IFUNC selector for static builds.
44057 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44059         * sysdeps/mips/math_private.h [__mips_hard_float]
44060         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44061         libc_feresetround_mips_ctx.
44062         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44063         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44064         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44066         [BZ #16677]
44067         * math/s_nextafter.c (__nextafter): Do not return value from
44068         overflowing computation.
44069         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44070         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44071         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44072         Likewise.
44073         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44074         Likewise.
44075         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44076         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44078 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44080         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44081         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44082         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44083         the new mov targetting sp.
44085 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44087         [BZ #16683]
44088         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44089         Define it for static builds as well.
44090         (NO_BZERO_IMPL): Likewise.
44092 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44094         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44095         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44096         multiarch strspn for PPC64.
44097         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44098         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44100         (__libc_ifunc_impl_list): Likewise.
44101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44102         multiarch optimizations
44103         * string/strspn.c (strspn): Using macro to redefine symbol name.
44105 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44106             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44108         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44109         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44110         multiarch strncat for PPC64.
44111         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44112         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44113         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44114         (__libc_ifunc_impl_list): Likewise.
44115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44116         multiarch optimizations
44118 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44120         [BZ #16639]
44121         * nscd/nscd.service: Make service type forking.
44123 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44125         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44126         sign in non default rounding modes.
44127         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44129 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44131         * math/libm-test.inc (ALL_RM_TEST): New macro.
44132         (ceil_test): Use ALL_RM_TEST.
44133         (cimag_test): Likewise.
44134         (conj_test): Likewise.
44135         (copysign_test): Likewise.
44136         (cproj_test): Likewise.
44137         (creal_test): Likewise.
44138         (fabs_test): Likewise.
44139         (floor_test): Likewise.
44140         (fmax_test): Likewise.
44141         (fmin_test): Likewise.
44142         (fmod_test): Likewise.
44143         (fpclassify_test): Likewise.
44144         (frexp_test): Likewise.
44145         (ilogb_test): Likewise.
44146         (isfinite_test): Likewise.
44147         (finite_test): Likewise.
44148         (isgreater_test): Likewise.
44149         (isgreaterequal_test): Likewise.
44150         (isinf_test): Likewise.
44151         (isless_test): Likewise.
44152         (islessequal_test): Likewise.
44153         (islessgreater_test): Likewise.
44154         (isnan_test): Likewise.
44155         (isnormal_test): Likewise.
44156         (issignaling_test): Likewise.
44157         (isunordered_test): Likewise.
44158         (logb_test): Likewise.
44159         (logb_downward_test_data): Remove.
44160         (logb_test_downward): Likewise.
44161         (lround_test): Use ALL_RM_TEST.
44162         (llround_test): Likewise.
44163         (modf_test): Likewise.
44164         (nexttoward_test): Likewise.
44165         (remainder_test): Likewise.
44166         (drem_test): Likewise.
44167         (remainder_tonearest_test_data): Likewise.
44168         (remainder_test_tonearest): Likewise.
44169         (drem_test_tonearest): Likewise.
44170         (remainder_towardzero_test_data): Likewise.
44171         (remainder_test_towardzero): Likewise.
44172         (drem_test_towardzero): Likewise.
44173         (remainder_downward_test_data): Likewise.
44174         (remainder_test_downward): Likewise.
44175         (drem_test_downward): Likewise.
44176         (remainder_upward_test_data): Likewise.
44177         (remainder_test_upward): Likewise.
44178         (drem_test_upward): Likewise.
44179         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44180         (round_test): Use ALL_RM_TEST.
44181         (signbit_test): Likewise.
44182         (trunc_test): Likewise.
44183         (significand_test): Likewise.
44184         (main): Don't call removed functions.
44186 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44188         [BZ #16674]
44189         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44190         || __USE_XOPEN2K8].
44191         (ILL_ILLOPN): Likewise.
44192         (ILL_ILLADR): Likewise.
44193         (ILL_ILLTRP): Likewise.
44194         (ILL_PRVOPC): Likewise.
44195         (ILL_PRVREG): Likewise.
44196         (ILL_COPROC): Likewise.
44197         (ILL_BADSTK): Likewise.
44198         (FPE_INTDIV): Likewise.
44199         (FPE_INTOVF): Likewise.
44200         (FPE_FLTDIV): Likewise.
44201         (FPE_FLTOVF): Likewise.
44202         (FPE_FLTUND): Likewise.
44203         (FPE_FLTRES): Likewise.
44204         (FPE_FLTINV): Likewise.
44205         (FPE_FLTSUB): Likewise.
44206         (SEGV_MAPERR): Likewise.
44207         (SEGV_ACCERR): Likewise.
44208         (BUS_ADRALN): Likewise.
44209         (BUS_ADRERR): Likewise.
44210         (BUS_OBJERR): Likewise.
44211         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44212         (TRAP_TRACE): Likewise.
44213         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44214         __USE_XOPEN2K8].
44215         (CLD_KILLED): Likewise.
44216         (CLD_DUMPED): Likewise.
44217         (CLD_TRAPPED): Likewise.
44218         (CLD_STOPPED): Likewise.
44219         (CLD_CONTINUED): Likewise.
44220         (POLL_IN): Likewise.
44221         (POLL_OUT): Likewise.
44222         (POLL_MSG): Likewise.
44223         (POLL_ERR): Likewise.
44224         (POLL_PRI): Likewise.
44225         (POLL_HUP): Likewise.
44226         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44227         Likewise.
44228         (ILL_ILLOPN): Likewise.
44229         (ILL_ILLADR): Likewise.
44230         (ILL_ILLTRP): Likewise.
44231         (ILL_PRVOPC): Likewise.
44232         (ILL_PRVREG): Likewise.
44233         (ILL_COPROC): Likewise.
44234         (ILL_BADSTK): Likewise.
44235         (FPE_INTDIV): Likewise.
44236         (FPE_INTOVF): Likewise.
44237         (FPE_FLTDIV): Likewise.
44238         (FPE_FLTOVF): Likewise.
44239         (FPE_FLTUND): Likewise.
44240         (FPE_FLTRES): Likewise.
44241         (FPE_FLTINV): Likewise.
44242         (FPE_FLTSUB): Likewise.
44243         (SEGV_MAPERR): Likewise.
44244         (SEGV_ACCERR): Likewise.
44245         (BUS_ADRALN): Likewise.
44246         (BUS_ADRERR): Likewise.
44247         (BUS_OBJERR): Likewise.
44248         (BUS_MCEERR_AR): Likewise.
44249         (BUS_MCEERR_AO): Likewise.
44250         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44251         (TRAP_TRACE): Likewise.
44252         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44253         __USE_XOPEN2K8].
44254         (CLD_KILLED): Likewise.
44255         (CLD_DUMPED): Likewise.
44256         (CLD_TRAPPED): Likewise.
44257         (CLD_STOPPED): Likewise.
44258         (CLD_CONTINUED): Likewise.
44259         (POLL_IN): Likewise.
44260         (POLL_OUT): Likewise.
44261         (POLL_MSG): Likewise.
44262         (POLL_ERR): Likewise.
44263         (POLL_PRI): Likewise.
44264         (POLL_HUP): Likewise.
44265         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44266         (ILL_ILLOPN): Likewise.
44267         (ILL_ILLADR): Likewise.
44268         (ILL_ILLTRP): Likewise.
44269         (ILL_PRVOPC): Likewise.
44270         (ILL_PRVREG): Likewise.
44271         (ILL_COPROC): Likewise.
44272         (ILL_BADSTK): Likewise.
44273         (FPE_INTDIV): Likewise.
44274         (FPE_INTOVF): Likewise.
44275         (FPE_FLTDIV): Likewise.
44276         (FPE_FLTOVF): Likewise.
44277         (FPE_FLTUND): Likewise.
44278         (FPE_FLTRES): Likewise.
44279         (FPE_FLTINV): Likewise.
44280         (FPE_FLTSUB): Likewise.
44281         (SEGV_MAPERR): Likewise.
44282         (SEGV_ACCERR): Likewise.
44283         (BUS_ADRALN): Likewise.
44284         (BUS_ADRERR): Likewise.
44285         (BUS_OBJERR): Likewise.
44286         (BUS_MCEERR_AR): Likewise.
44287         (BUS_MCEERR_AO): Likewise.
44288         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44289         (TRAP_TRACE): Likewise.
44290         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44291         __USE_XOPEN2K8].
44292         (CLD_KILLED): Likewise.
44293         (CLD_DUMPED): Likewise.
44294         (CLD_TRAPPED): Likewise.
44295         (CLD_STOPPED): Likewise.
44296         (CLD_CONTINUED): Likewise.
44297         (POLL_IN): Likewise.
44298         (POLL_OUT): Likewise.
44299         (POLL_MSG): Likewise.
44300         (POLL_ERR): Likewise.
44301         (POLL_PRI): Likewise.
44302         (POLL_HUP): Likewise.
44303         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44304         Likewise.
44305         (ILL_ILLOPN): Likewise.
44306         (ILL_ILLADR): Likewise.
44307         (ILL_ILLTRP): Likewise.
44308         (ILL_PRVOPC): Likewise.
44309         (ILL_PRVREG): Likewise.
44310         (ILL_COPROC): Likewise.
44311         (ILL_BADSTK): Likewise.
44312         (ILL_BADIADDR): Likewise.
44313         (ILL_BREAK): Likewise.
44314         (FPE_INTDIV): Likewise.
44315         (FPE_INTOVF): Likewise.
44316         (FPE_FLTDIV): Likewise.
44317         (FPE_FLTOVF): Likewise.
44318         (FPE_FLTUND): Likewise.
44319         (FPE_FLTRES): Likewise.
44320         (FPE_FLTINV): Likewise.
44321         (FPE_FLTSUB): Likewise.
44322         (FPE_DECOVF): Likewise.
44323         (FPE_DECDIV): Likewise.
44324         (FPE_DECERR): Likewise.
44325         (FPE_INVASC): Likewise.
44326         (FPE_INVDEC): Likewise.
44327         (SEGV_MAPERR): Likewise.
44328         (SEGV_ACCERR): Likewise.
44329         (SEGV_PSTKOVF): Likewise.
44330         (BUS_ADRALN): Likewise.
44331         (BUS_ADRERR): Likewise.
44332         (BUS_OBJERR): Likewise.
44333         (BUS_MCEERR_AR): Likewise.
44334         (BUS_MCEERR_AO): Likewise.
44335         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44336         (TRAP_TRACE): Likewise.
44337         (TRAP_BRANCH): Likewise.
44338         (TRAP_HWBKPT): Likewise.
44339         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44340         __USE_XOPEN2K8].
44341         (CLD_KILLED): Likewise.
44342         (CLD_DUMPED): Likewise.
44343         (CLD_TRAPPED): Likewise.
44344         (CLD_STOPPED): Likewise.
44345         (CLD_CONTINUED): Likewise.
44346         (POLL_IN): Likewise.
44347         (POLL_OUT): Likewise.
44348         (POLL_MSG): Likewise.
44349         (POLL_ERR): Likewise.
44350         (POLL_PRI): Likewise.
44351         (POLL_HUP): Likewise.
44352         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44353         (ILL_ILLOPN): Likewise.
44354         (ILL_ILLADR): Likewise.
44355         (ILL_ILLTRP): Likewise.
44356         (ILL_PRVOPC): Likewise.
44357         (ILL_PRVREG): Likewise.
44358         (ILL_COPROC): Likewise.
44359         (ILL_BADSTK): Likewise.
44360         (FPE_INTDIV): Likewise.
44361         (FPE_INTOVF): Likewise.
44362         (FPE_FLTDIV): Likewise.
44363         (FPE_FLTOVF): Likewise.
44364         (FPE_FLTUND): Likewise.
44365         (FPE_FLTRES): Likewise.
44366         (FPE_FLTINV): Likewise.
44367         (FPE_FLTSUB): Likewise.
44368         (SEGV_MAPERR): Likewise.
44369         (SEGV_ACCERR): Likewise.
44370         (BUS_ADRALN): Likewise.
44371         (BUS_ADRERR): Likewise.
44372         (BUS_OBJERR): Likewise.
44373         (BUS_MCEERR_AR): Likewise.
44374         (BUS_MCEERR_AO): Likewise.
44375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44376         (TRAP_TRACE): Likewise.
44377         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44378         __USE_XOPEN2K8].
44379         (CLD_KILLED): Likewise.
44380         (CLD_DUMPED): Likewise.
44381         (CLD_TRAPPED): Likewise.
44382         (CLD_STOPPED): Likewise.
44383         (CLD_CONTINUED): Likewise.
44384         (POLL_IN): Likewise.
44385         (POLL_OUT): Likewise.
44386         (POLL_MSG): Likewise.
44387         (POLL_ERR): Likewise.
44388         (POLL_PRI): Likewise.
44389         (POLL_HUP): Likewise.
44390         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44391         (ILL_ILLOPN): Likewise.
44392         (ILL_ILLADR): Likewise.
44393         (ILL_ILLTRP): Likewise.
44394         (ILL_PRVOPC): Likewise.
44395         (ILL_PRVREG): Likewise.
44396         (ILL_COPROC): Likewise.
44397         (ILL_BADSTK): Likewise.
44398         (FPE_INTDIV): Likewise.
44399         (FPE_INTOVF): Likewise.
44400         (FPE_FLTDIV): Likewise.
44401         (FPE_FLTOVF): Likewise.
44402         (FPE_FLTUND): Likewise.
44403         (FPE_FLTRES): Likewise.
44404         (FPE_FLTINV): Likewise.
44405         (FPE_FLTSUB): Likewise.
44406         (SEGV_MAPERR): Likewise.
44407         (SEGV_ACCERR): Likewise.
44408         (BUS_ADRALN): Likewise.
44409         (BUS_ADRERR): Likewise.
44410         (BUS_OBJERR): Likewise.
44411         (BUS_MCEERR_AR): Likewise.
44412         (BUS_MCEERR_AO): Likewise.
44413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44414         (TRAP_TRACE): Likewise.
44415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44416         __USE_XOPEN2K8].
44417         (CLD_KILLED): Likewise.
44418         (CLD_DUMPED): Likewise.
44419         (CLD_TRAPPED): Likewise.
44420         (CLD_STOPPED): Likewise.
44421         (CLD_CONTINUED): Likewise.
44422         (POLL_IN): Likewise.
44423         (POLL_OUT): Likewise.
44424         (POLL_MSG): Likewise.
44425         (POLL_ERR): Likewise.
44426         (POLL_PRI): Likewise.
44427         (POLL_HUP): Likewise.
44428         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44429         (ILL_ILLOPN): Likewise.
44430         (ILL_ILLADR): Likewise.
44431         (ILL_ILLTRP): Likewise.
44432         (ILL_PRVOPC): Likewise.
44433         (ILL_PRVREG): Likewise.
44434         (ILL_COPROC): Likewise.
44435         (ILL_BADSTK): Likewise.
44436         (FPE_INTDIV): Likewise.
44437         (FPE_INTOVF): Likewise.
44438         (FPE_FLTDIV): Likewise.
44439         (FPE_FLTOVF): Likewise.
44440         (FPE_FLTUND): Likewise.
44441         (FPE_FLTRES): Likewise.
44442         (FPE_FLTINV): Likewise.
44443         (FPE_FLTSUB): Likewise.
44444         (SEGV_MAPERR): Likewise.
44445         (SEGV_ACCERR): Likewise.
44446         (BUS_ADRALN): Likewise.
44447         (BUS_ADRERR): Likewise.
44448         (BUS_OBJERR): Likewise.
44449         (BUS_MCEERR_AR): Likewise.
44450         (BUS_MCEERR_AO): Likewise.
44451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44452         (TRAP_TRACE): Likewise.
44453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44454         __USE_XOPEN2K8].
44455         (CLD_KILLED): Likewise.
44456         (CLD_DUMPED): Likewise.
44457         (CLD_TRAPPED): Likewise.
44458         (CLD_STOPPED): Likewise.
44459         (CLD_CONTINUED): Likewise.
44460         (POLL_IN): Likewise.
44461         (POLL_OUT): Likewise.
44462         (POLL_MSG): Likewise.
44463         (POLL_ERR): Likewise.
44464         (POLL_PRI): Likewise.
44465         (POLL_HUP): Likewise.
44466         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
44467         (ILL_ILLOPN): Likewise.
44468         (ILL_ILLADR): Likewise.
44469         (ILL_ILLTRP): Likewise.
44470         (ILL_PRVOPC): Likewise.
44471         (ILL_PRVREG): Likewise.
44472         (ILL_COPROC): Likewise.
44473         (ILL_BADSTK): Likewise.
44474         (ILL_DBLFLT): Likewise.
44475         (ILL_HARDWALL): Likewise.
44476         (FPE_INTDIV): Likewise.
44477         (FPE_INTOVF): Likewise.
44478         (FPE_FLTDIV): Likewise.
44479         (FPE_FLTOVF): Likewise.
44480         (FPE_FLTUND): Likewise.
44481         (FPE_FLTRES): Likewise.
44482         (FPE_FLTINV): Likewise.
44483         (FPE_FLTSUB): Likewise.
44484         (SEGV_MAPERR): Likewise.
44485         (SEGV_ACCERR): Likewise.
44486         (BUS_ADRALN): Likewise.
44487         (BUS_ADRERR): Likewise.
44488         (BUS_OBJERR): Likewise.
44489         (BUS_MCEERR_AR): Likewise.
44490         (BUS_MCEERR_AO): Likewise.
44491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44492         (TRAP_TRACE): Likewise.
44493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44494         __USE_XOPEN2K8].
44495         (CLD_KILLED): Likewise.
44496         (CLD_DUMPED): Likewise.
44497         (CLD_TRAPPED): Likewise.
44498         (CLD_STOPPED): Likewise.
44499         (CLD_CONTINUED): Likewise.
44500         (POLL_IN): Likewise.
44501         (POLL_OUT): Likewise.
44502         (POLL_MSG): Likewise.
44503         (POLL_ERR): Likewise.
44504         (POLL_PRI): Likewise.
44505         (POLL_HUP): Likewise.
44506         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44507         (ILL_ILLOPN): Likewise.
44508         (ILL_ILLADR): Likewise.
44509         (ILL_ILLTRP): Likewise.
44510         (ILL_PRVOPC): Likewise.
44511         (ILL_PRVREG): Likewise.
44512         (ILL_COPROC): Likewise.
44513         (ILL_BADSTK): Likewise.
44514         (FPE_INTDIV): Likewise.
44515         (FPE_INTOVF): Likewise.
44516         (FPE_FLTDIV): Likewise.
44517         (FPE_FLTOVF): Likewise.
44518         (FPE_FLTUND): Likewise.
44519         (FPE_FLTRES): Likewise.
44520         (FPE_FLTINV): Likewise.
44521         (FPE_FLTSUB): Likewise.
44522         (SEGV_MAPERR): Likewise.
44523         (SEGV_ACCERR): Likewise.
44524         (BUS_ADRALN): Likewise.
44525         (BUS_ADRERR): Likewise.
44526         (BUS_OBJERR): Likewise.
44527         (BUS_MCEERR_AR): Likewise.
44528         (BUS_MCEERR_AO): Likewise.
44529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44530         (TRAP_TRACE): Likewise.
44531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44532         __USE_XOPEN2K8].
44533         (CLD_KILLED): Likewise.
44534         (CLD_DUMPED): Likewise.
44535         (CLD_TRAPPED): Likewise.
44536         (CLD_STOPPED): Likewise.
44537         (CLD_CONTINUED): Likewise.
44538         (POLL_IN): Likewise.
44539         (POLL_OUT): Likewise.
44540         (POLL_MSG): Likewise.
44541         (POLL_ERR): Likewise.
44542         (POLL_PRI): Likewise.
44543         (POLL_HUP): Likewise.
44544         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44545         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44547         [BZ #16670]
44548         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44549         before #include of <time.h>.
44550         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44551         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44552         (test-xfail-UNIX98/sched.h/conform): Likewise.
44554 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44556         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44557         error absence of trapping exception support.
44558         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44560 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44562         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44563         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44564         * timezone/Makefile (testdata): Move definition above include of
44565         Rules.
44566         (test-zones): New variable.
44567         (tests-special): Add zone files.
44568         (build-testdata): Use $(evaluate-test).
44570         * elf/Makefile (tests-special): Rename tests to end with .out.
44571         ($(objpfx)noload-mem): Likewise.
44572         ($(objpfx)tst-leaks1-mem): Likewise.
44573         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44574         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44575         $(objpfx)test-iconvconfig.out.
44576         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44577         set -e inside subshell and redirect output to file.
44578         * iconvdata/Makefile (generated): Rename tests to end with .out.
44579         Correct type.
44580         (tests-special): Rename tests to end with .out.
44581         ($(objpfx)mtrace-tst-loading): Likewise.
44582         * intl/Makefile (generated): Likewise.
44583         (tests-special): Likewise.
44584         ($(objpfx)mtrace-tst-gettext): Likewise.
44585         * misc/Makefile (generated): Likewise.
44586         (tests-special): Likewise.
44587         ($(objpfx)tst-error1-mem): Likewise.
44588         * nptl/Makefile (tests-special): Likewise.
44589         ($(objpfx)tst-stack3-mem): Likewise.
44590         (generated): Likewise.
44591         * posix/Makefile (generated): Likewise.
44592         (tests-special): Likewise.
44593         (xtests-special): Likewise.
44594         ($(objpfx)tst-fnmatch-mem): Likewise.
44595         ($(objpfx)bug-regex2-mem): Likewise.
44596         ($(objpfx)bug-regex14-mem): Likewise.
44597         ($(objpfx)bug-regex21-mem): Likewise.
44598         ($(objpfx)bug-regex31-mem): Likewise.
44599         ($(objpfx)tst-vfork3-mem): Likewise.
44600         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44601         ($(objpfx)tst-pcre-mem): Likewise.
44602         ($(objpfx)tst-boost-mem): Likewise.
44603         ($(objpfx)bug-ga2-mem): Likewise.
44604         ($(objpfx)bug-glob2-mem): Likewise.
44605         * resolv/Makefile (generate): Likewise.
44606         (tests-special): Likewise.
44607         (xtests-special): Likewise.
44608         (generated): Likewise.
44609         ($(objpfx)mtrace-tst-leaks): Likewise.
44610         ($(objpfx)mtrace-tst-leaks2): Likewise.
44612         * scripts/merge-test-results.sh: New file.
44613         * Makefile (tests-special-notdir): New variable.
44614         (tests): Run merge-test-results.sh.
44615         (xtests): Likewise.
44616         * Rules (tests-special-notdir): New variable.
44617         (xtests-special-notdir): Likewise.
44618         (tests): Run merge-test-results.sh
44619         (xtests): Likewise.
44621         * Makeconfig (test-xfail-name): New variable.
44622         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44623         compute variable name for expected failures.
44624         * conform/Makefile (conformtest-headers-data): New variable.
44625         (conformtest-standards): Likewise.
44626         (conformtest-headers-ISO): Likewise.
44627         (conformtest-headers-ISO99): Likewise.
44628         (conformtest-headers-ISO11): Likewise.
44629         (conformtest-headers-POSIX): Likewise.
44630         (conformtest-headers-XPG3): Likewise.
44631         (conformtest-headers-XPG4): Likewise.
44632         (conformtest-headers-UNIX98): Likewise.
44633         (conformtest-headers-XOPEN2K): Likewise.
44634         (conformtest-headers-POSIX2008): Likewise.
44635         (conformtest-headers-XOPEN2K8): Likewise.
44636         (conformtest-header-list-base): Likewise.
44637         (conformtest-header-list-tests): Likewise.
44638         (conformtest-header-base): Likewise.
44639         (conformtest-header-tests): Likewise.
44640         (tests-special): Add $(conformtest-header-list-tests).  If
44641         [$(fast-check) && !$(cross-compiling)], add
44642         $(conformtest-header-tests) instead of
44643         $(objpfx)run-conformtest.out.
44644         (generated): Add $(conformtest-header-list-base).  If
44645         [$(fast-check) && !$(cross-compiling)], add
44646         $(conformtest-header-base).  Remove previous setting.
44647         ($(conformtest-header-list-tests)): New target.
44648         (test-xfail-run-conformtest): Remove variable.
44649         ($(objpfx)run-conformtest.out): Remove target.
44650         (test-xfail-ISO11/complex.h/conform): New variable.
44651         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44652         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44653         (test-xfail-XPG3/varargs.h/conform): Likewise.
44654         (test-xfail-XPG4/varargs.h/conform): Likewise.
44655         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44656         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44657         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44658         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44659         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44660         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44661         (test-xfail-XPG3/ftw.h/conform): Likewise.
44662         (test-xfail-XPG3/grp.h/conform): Likewise.
44663         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44664         (test-xfail-XPG3/limits.h/conform): Likewise.
44665         (test-xfail-XPG3/pwd.h/conform): Likewise.
44666         (test-xfail-XPG3/search.h/conform): Likewise.
44667         (test-xfail-XPG3/signal.h/conform): Likewise.
44668         (test-xfail-XPG3/stdio.h/conform): Likewise.
44669         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44670         (test-xfail-XPG3/string.h/conform): Likewise.
44671         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44672         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44673         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44674         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44675         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44676         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44677         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44678         (test-xfail-XPG3/termios.h/conform): Likewise.
44679         (test-xfail-XPG3/time.h/conform): Likewise.
44680         (test-xfail-XPG3/unistd.h/conform): Likewise.
44681         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44682         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44683         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44684         (test-xfail-XPG4/netdb.h/conform): Likewise.
44685         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44686         (test-xfail-XPG4/signal.h/conform): Likewise.
44687         (test-xfail-XPG4/stdio.h/conform): Likewise.
44688         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44689         (test-xfail-XPG4/stropts.h/conform): Likewise.
44690         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44691         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44692         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44693         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44694         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44695         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44696         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44697         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44698         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44699         (test-xfail-XPG4/termios.h/conform): Likewise.
44700         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44701         (test-xfail-XPG4/unistd.h/conform): Likewise.
44702         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44703         (test-xfail-POSIX/sched.h/conform): Likewise.
44704         (test-xfail-POSIX/signal.h/conform): Likewise.
44705         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44706         (test-xfail-POSIX/tar.h/conform): Likewise.
44707         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44708         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44709         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44710         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44711         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44712         (test-xfail-UNIX98/sched.h/conform): Likewise.
44713         (test-xfail-UNIX98/signal.h/conform): Likewise.
44714         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44715         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44716         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44717         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44718         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44719         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44720         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44721         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44722         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44723         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44724         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44725         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44726         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44727         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44728         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44729         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44730         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44731         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44732         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44733         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44734         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44735         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44736         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44737         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44738         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44739         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44740         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44741         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44742         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44743         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44744         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44745         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44746         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44747         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44748         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44749         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44750         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44751         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44752         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44753         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44754         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44755         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44756         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44757         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44758         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44759         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44760         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44761         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44762         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44763         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44764         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44765         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44766         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44767         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44768         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44769         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44770         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44771         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44772         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44773         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44774         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44775         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44776         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44777         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44778         (conformtest-cc-flags): Likewise.
44779         ($(conformtest-header-tests): New target.
44780         * conform/check-header-lists.sh: New file.
44781         * conform/run-conformtest.sh: Remove.
44783         * conform/conformtest.pl: Allow ' and \ in values given for
44784         constants.
44785         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44786         inclusion.
44787         [POSIX] (sys/types.h): Likewise.
44788         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44789         inclusion.
44790         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44791         inclusion.
44792         * conform/data/signal.h-data (SIGIO): Remove expectation.
44793         [XPG3] (SIGBUS): Do not expect.
44794         [POSIX || XPG3] (SIGPOLL): Likewise.
44795         [POSIX || XPG3] (SIGPROF): Likewise.
44796         [POSIX || XPG3] (SIGSYS): Likewise.
44797         [XPG3] (SIGTRAP): Likewise.
44798         [POSIX || XPG3] (SIGURG): Likewise.
44799         [POSIX || XPG3] (SIGVTALRM): Likewise.
44800         [POSIX || XPG3] (SIGXCPU): Likewise.
44801         [POSIX || XPG3] (SIGXFSZ): Likewise.
44802         [POSIX] (SA_SIGINFO): Expect.
44803         [XPG3] (siginfo_t): Do not expect type or contents.
44804         [POSIX] (si_pid): Do not expect element.
44805         [POSIX] (si_uid): Likewise.
44806         [POSIX] (si_addr): Likewise.
44807         [POSIX] (si_status): Likewise.
44808         [POSIX] (si_band): Likewise.
44809         [XPG4] (si_value): Likewise.
44810         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44811         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44812         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44813         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44814         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44815         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44816         [POSIX || XPG3] (ILL_COPROC): Likewise.
44817         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44818         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44819         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44820         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44821         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44822         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44823         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44824         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44825         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44826         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44827         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44828         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44829         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44830         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44831         [POSIX || XPG3] (CLD_EXITED): Likewise.
44832         [POSIX || XPG3] (CLD_KILLED): Likewise.
44833         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44834         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44835         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44836         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44837         [POSIX || XPG3] (POLL_IN): Likewise.
44838         [POSIX || XPG3] (POLL_OUT): Likewise.
44839         [POSIX || XPG3] (POLL_MSG): Likewise.
44840         [POSIX || XPG3] (POLL_ERR): Likewise.
44841         [POSIX || XPG3] (POLL_PRI): Likewise.
44842         [POSIX || XPG3] (POLL_HUP): Likewise.
44843         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44844         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44845         (SIG*): Do not allow.
44846         [XPG3] (si_*): Likewise.
44847         [XPG3] (SI_*): Likewise.
44848         [XPG3 || XPG4] (sigev_*): Likewise.
44849         [XPG3 || XPG4] (SIGEV_*): Likewise.
44850         [XPG3 || XPG4] (sival_*): Likewise.
44851         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44852         [POSIX || XPG3] (BUS_*): Likewise.
44853         [POSIX || XPG3] (CLD_*): Likewise.
44854         [POSIX || XPG3] (FPE_*): Likewise.
44855         [POSIX || XPG3] (ILL_*): Likewise.
44856         [POSIX || XPG3] (POLL_*): Likewise.
44857         [POSIX || XPG3] (SEGV_*): Likewise.
44858         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44859         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44860         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44861         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44862         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44863         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44864         Specify type and value.
44865         (TVERSLEN): Likewise.
44866         (REGTYPE): Likewise.
44867         (AREGTYPE): Likewise.
44868         (LNKTYPE): Likewise.
44869         (SYMTYPE): Likewise.
44870         (CHRTYPE): Likewise.
44871         (BLKTYPE): Likewise.
44872         (DIRTYPE): Likewise.
44873         (FIFOTYPE): Likewise.
44874         (CONTTYPE): Likewise.
44875         (TSUID): Likewise.
44876         (TSGID): Likewise.
44877         (TSVTX): Likewise.
44878         (TUREAD): Likewise.
44879         (TUWRITE): Likewise.
44880         (TUEXEC): Likewise.
44881         (TGREAD): Likewise.
44882         (TGWRITE): Likewise.
44883         (TGEXEC): Likewise.
44884         (TOREAD): Likewise.
44885         (TOWRITE): Likewise.
44886         (TOEXEC): Likewise.
44887         [POSIX] (TSVTX): Expect constant.
44889 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44891         * Makefile (tests): Change dependencies to ....
44892         (tests-special): ... additions to this variable.
44893         (tests): Depend on $(tests-special).
44894         * Makerules (check-abi-list): New variable.
44895         (check-abi): Depend on $(check-abi-list).
44896         [$(subdir) = elf] (tests-special): Add
44897         $(objpfx)check-abi-libc.out.
44898         [$(build-shared) = yes && subdir] (tests-special): Add
44899         $(check-abi-list).
44900         [$(build-shared) = yes && subdir] (tests): Do not depend on
44901         check-abi.
44902         * Rules (tests): Depend on $(tests-special).
44903         (xtests): Depend on $(xtests-special).
44904         * catgets/Makefile (tests): Change dependencies to ....
44905         (tests-special): ... additions to this variable.
44906         * conform/Makefile (tests): Change dependencies to ....
44907         (tests-special): ... additions to this variable.
44908         * elf/Makefile (tests): Change dependencies to ....
44909         (tests-special): ... additions to this variable.
44910         * grp/Makefile (tests): Change dependencies to ....
44911         (tests-special): ... additions to this variable.
44912         * iconv/Makefile (xtests): Change dependencies to ....
44913         (xtests-special): ... additions to this variable.
44914         * iconvdata/Makefile (tests): Change dependencies to ....
44915         (tests-special): ... additions to this variable.
44916         * intl/Makefile (tests): Change dependencies to ....
44917         (tests-special): ... additions to this variable.  Also add
44918         $(objpfx)tst-gettext.out.
44919         * io/Makefile (tests): Change dependencies to ....
44920         (tests-special): ... additions to this variable.
44921         * libio/Makefile (tests): Change dependencies to ....
44922         (tests-special): ... additions to this variable.
44923         * malloc/Makefile (tests): Change dependencies to ....
44924         (tests-special): ... additions to this variable.
44925         * misc/Makefile (tests): Change dependencies to ....
44926         (tests-special): ... additions to this variable.
44927         * nptl/Makefile (tests): Change dependencies to ....
44928         (tests-special): ... additions to this variable.
44929         * nptl_db/Makefile (tests): Change dependencies to ....
44930         (tests-special): ... additions to this variable.
44931         * posix/Makefile (tests): Change dependencies to ....
44932         (tests-special): ... additions to this variable.
44933         (xtests): Change dependencies to ....
44934         (xtests-special): ... additions to this variable.
44935         * resolv/Makefile (tests): Change dependencies to ....
44936         (tests-special): ... additions to this variable.
44937         (xtests): Change dependencies to ....
44938         (xtests-special): ... additions to this variable.
44939         * stdio-common/Makefile (tests): Change dependencies to ....
44940         (tests-special): ... additions to this variable.
44941         (do-tst-unbputc): Remove target.
44942         (do-tst-printf): Likewise.
44943         * stdlib/Makefile (tests): Change dependencies to ....
44944         (tests-special): ... additions to this variable.
44945         * string/Makefile (tests): Change dependencies to ....
44946         (tests-special): ... additions to this variable.
44947         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44948         (tests-special): ... additions to this variable.
44950         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44951         whole file.
44952         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44953         whole file.
44954         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44955         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44957         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44958         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44959         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44960         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44961         * conform/data/libgen.h-data [XPG3]: Likewise.
44962         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44963         * conform/data/ndbm.h-data [XPG3]: Likewise.
44964         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44965         * conform/data/netdb.h-data [XPG3]: Likewise.
44966         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44967         * conform/data/poll.h-data [XPG3]: Likewise.
44968         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44969         * conform/data/strings.h-data [XPG3]: Likewise.
44970         * conform/data/stropts.h-data [XPG3]: Likewise.
44971         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44972         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44973         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44974         Likewise.
44975         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44976         * conform/data/sys/time.h-data [XPG3]: Likewise.
44977         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44978         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44979         * conform/data/sys/un.h-data [XPG3]: Likewise.
44980         * conform/data/syslog.h-data [XPG3]: Likewise.
44981         * conform/data/ucontext.h-data [XPG3]: Likewise.
44982         * conform/data/utmpx.h-data [XPG3]: Likewise.
44983         * conform/data/varargs.h-data [UNIX98]: Enable file.
44985         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44987         * math/libm-test.inc (struct test_f_f_data): Move expected results
44988         into structure for each rounding mode.
44989         (struct test_ff_f_data): Likewise.
44990         (struct test_ff_f_data_nexttoward): Likewise.
44991         (struct test_fi_f_data): Likewise.
44992         (struct test_fl_f_data): Likewise.
44993         (struct test_if_f_data): Likewise.
44994         (struct test_fff_f_data): Likewise.
44995         (struct test_c_f_data): Likewise.
44996         (struct test_f_f1_data): Likewise.
44997         (struct test_fF_f1_data): Likewise.
44998         (struct test_ffI_f1_data): Likewise.
44999         (struct test_c_c_data): Likewise.
45000         (struct test_cc_c_data): Likewise.
45001         (struct test_f_i_data): Likewise.
45002         (struct test_ff_i_data): Likewise.
45003         (struct test_f_l_data): Likewise.
45004         (struct test_f_L_data): Likewise.
45005         (struct test_fFF_11_data): Likewise.
45006         (RM_): New macro.
45007         (RM_FE_DOWNWARD): Likewise.
45008         (RM_FE_TONEAREST): Likewise.
45009         (RM_FE_TOWARDZERO): Likewise.
45010         (RM_FE_UPWARD): Likewise.
45011         (RUN_TEST_LOOP_f_f): Update references to expected results.
45012         (RUN_TEST_LOOP_2_f): Likewise.
45013         (RUN_TEST_LOOP_fff_f): Likewise.
45014         (RUN_TEST_LOOP_c_f): Likewise.
45015         (RUN_TEST_LOOP_f_f1): Likewise.
45016         (RUN_TEST_LOOP_fF_f1): Likewise.
45017         (RUN_TEST_LOOP_fI_f1): Likewise.
45018         (RUN_TEST_LOOP_ffI_f1): Likewise.
45019         (RUN_TEST_LOOP_c_c): Likewise.
45020         (RUN_TEST_LOOP_cc_c): Likewise.
45021         (RUN_TEST_LOOP_f_i): Likewise.
45022         (RUN_TEST_LOOP_f_i_tg): Likewise.
45023         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45024         (RUN_TEST_LOOP_f_b): Likewise.
45025         (RUN_TEST_LOOP_f_b_tg): Likewise.
45026         (RUN_TEST_LOOP_f_l): Likewise.
45027         (RUN_TEST_LOOP_f_L): Likewise.
45028         (RUN_TEST_LOOP_fFF_11): Likewise.
45029         * math/gen-libm-test.pl (parse_args): Output four copies of
45030         expected results for each test.
45032         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45033         (__ASSUME_UTIMES): Remove.
45034         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45035         (__ASSUME_UTIMES): Likewise.
45037         * math/gen-auto-libm-tests.c: Update comment on output format.
45038         (output_for_one_input_case): Generate before-rounding and
45039         after-rounding information as conditions on output flags not
45040         floating-point format.
45041         * math/auto-libm-test-out: Regenerated.
45042         * math/gen-libm-test.pl (cond_value): New function.
45043         (or_cond_value): Use cond_value.
45044         (generate_testfile): Handle conditional exceptions.
45046 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45048         * math/libm-test.inc (max_valid_error): New variable.
45049         (init_max_error): Take new argument specifying whether function
45050         results are exactly determined.  Set max_valid_error and bound
45051         other variables for errors based on this argument.
45052         (set_max_error): Do not record results above max_valid_error.
45053         (check_float_internal): Only accept errors of up to 0.5ulps if
45054         also at most max_valid_error.
45055         (START): Take new argument EXACT and pass it to init_max_error.
45056         (acos_test): Update call to START.
45057         (acos_test_tonearest): Likewise.
45058         (acos_test_towardzero): Likewise.
45059         (acos_test_downward): Likewise.
45060         (acos_test_upward): Likewise.
45061         (acosh_test): Likewise.
45062         (asin_test): Likewise.
45063         (asin_test_tonearest): Likewise.
45064         (asin_test_towardzero): Likewise.
45065         (asin_test_downward): Likewise.
45066         (asin_test_upward): Likewise.
45067         (asinh_test): Likewise.
45068         (atan_test): Likewise.
45069         (atanh_test): Likewise.
45070         (atan2_test): Likewise.
45071         (cabs_test): Likewise.
45072         (cacos_test): Likewise.
45073         (cacosh_test): Likewise.
45074         (carg_test): Likewise.
45075         (casin_test): Likewise.
45076         (casinh_test): Likewise.
45077         (catan_test): Likewise.
45078         (catanh_test): Likewise.
45079         (cbrt_test): Likewise.
45080         (ccos_test): Likewise.
45081         (ccosh_test): Likewise.
45082         (ceil_test): Likewise.
45083         (cexp_test): Likewise.
45084         (cimag_test): Likewise.
45085         (clog_test): Likewise.
45086         (clog10_test): Likewise.
45087         (conj_test): Likewise.
45088         (copysign_test): Likewise.
45089         (cos_test): Likewise.
45090         (cos_test_tonearest): Likewise.
45091         (cos_test_towardzero): Likewise.
45092         (cos_test_downward): Likewise.
45093         (cos_test_upward): Likewise.
45094         (cosh_test): Likewise.
45095         (cosh_test_tonearest): Likewise.
45096         (cosh_test_towardzero): Likewise.
45097         (cosh_test_downward): Likewise.
45098         (cosh_test_upward): Likewise.
45099         (cpow_test): Likewise.
45100         (cproj_test): Likewise.
45101         (creal_test): Likewise.
45102         (csin_test): Likewise.
45103         (csinh_test): Likewise.
45104         (csqrt_test): Likewise.
45105         (ctan_test): Likewise.
45106         (ctan_test_tonearest): Likewise.
45107         (ctan_test_towardzero): Likewise.
45108         (ctan_test_downward): Likewise.
45109         (ctan_test_upward): Likewise.
45110         (ctanh_test): Likewise.
45111         (ctanh_test_tonearest): Likewise.
45112         (ctanh_test_towardzero): Likewise.
45113         (ctanh_test_downward): Likewise.
45114         (ctanh_test_upward): Likewise.
45115         (erf_test): Likewise.
45116         (erfc_test): Likewise.
45117         (exp_test): Likewise.
45118         (exp_test_tonearest): Likewise.
45119         (exp_test_towardzero): Likewise.
45120         (exp_test_downward): Likewise.
45121         (exp_test_upward): Likewise.
45122         (exp10_test): Likewise.
45123         (exp10_test_tonearest): Likewise.
45124         (exp10_test_towardzero): Likewise.
45125         (exp10_test_downward): Likewise.
45126         (exp10_test_upward): Likewise.
45127         (pow10_test): Likewise.
45128         (exp2_test): Likewise.
45129         (expm1_test): Likewise.
45130         (expm1_test_tonearest): Likewise.
45131         (expm1_test_towardzero): Likewise.
45132         (expm1_test_downward): Likewise.
45133         (expm1_test_upward): Likewise.
45134         (fabs_test): Likewise.
45135         (fdim_test): Likewise.
45136         (floor_test): Likewise.
45137         (fma_test): Likewise.
45138         (fma_test_towardzero): Likewise.
45139         (fma_test_downward): Likewise.
45140         (fma_test_upward): Likewise.
45141         (fmax_test): Likewise.
45142         (fmin_test): Likewise.
45143         (fmod_test): Likewise.
45144         (fpclassify_test): Likewise.
45145         (frexp_test): Likewise.
45146         (hypot_test): Likewise.
45147         (ilogb_test): Likewise.
45148         (isfinite_test): Likewise.
45149         (finite_test): Likewise.
45150         (isgreater_test): Likewise.
45151         (isgreaterequal_test): Likewise.
45152         (isinf_test): Likewise.
45153         (isless_test): Likewise.
45154         (islessequal_test): Likewise.
45155         (islessgreater_test): Likewise.
45156         (isnan_test): Likewise.
45157         (isnormal_test): Likewise.
45158         (issignaling_test): Likewise.
45159         (isunordered_test): Likewise.
45160         (j0_test): Likewise.
45161         (j1_test): Likewise.
45162         (jn_test): Likewise.
45163         (ldexp_test): Likewise.
45164         (lgamma_test): Likewise.
45165         (gamma_test): Likewise.
45166         (lrint_test): Likewise.
45167         (lrint_test_tonearest): Likewise.
45168         (lrint_test_towardzero): Likewise.
45169         (lrint_test_downward): Likewise.
45170         (lrint_test_upward): Likewise.
45171         (llrint_test): Likewise.
45172         (llrint_test_tonearest): Likewise.
45173         (llrint_test_towardzero): Likewise.
45174         (llrint_test_downward): Likewise.
45175         (llrint_test_upward): Likewise.
45176         (log_test): Likewise.
45177         (log10_test): Likewise.
45178         (log1p_test): Likewise.
45179         (log2_test): Likewise.
45180         (logb_test): Likewise.
45181         (logb_test_downward): Likewise.
45182         (lround_test): Likewise.
45183         (llround_test): Likewise.
45184         (modf_test): Likewise.
45185         (nearbyint_test): Likewise.
45186         (nextafter_test): Likewise.
45187         (nexttoward_test): Likewise.
45188         (pow_test): Likewise.
45189         (pow_test_tonearest): Likewise.
45190         (pow_test_towardzero): Likewise.
45191         (pow_test_downward): Likewise.
45192         (pow_test_upward): Likewise.
45193         (remainder_test): Likewise.
45194         (drem_test): Likewise.
45195         (remainder_test_tonearest): Likewise.
45196         (drem_test_tonearest): Likewise.
45197         (remainder_test_towardzero): Likewise.
45198         (drem_test_towardzero): Likewise.
45199         (remainder_test_downward): Likewise.
45200         (drem_test_downward): Likewise.
45201         (remainder_test_upward): Likewise.
45202         (drem_test_upward): Likewise.
45203         (remquo_test): Likewise.
45204         (rint_test): Likewise.
45205         (rint_test_tonearest): Likewise.
45206         (rint_test_towardzero): Likewise.
45207         (rint_test_downward): Likewise.
45208         (rint_test_upward): Likewise.
45209         (round_test): Likewise.
45210         (scalb_test): Likewise.
45211         (scalbn_test): Likewise.
45212         (scalbln_test): Likewise.
45213         (signbit_test): Likewise.
45214         (sin_test): Likewise.
45215         (sin_test_tonearest): Likewise.
45216         (sin_test_towardzero): Likewise.
45217         (sin_test_downward): Likewise.
45218         (sin_test_upward): Likewise.
45219         (sincos_test): Likewise.
45220         (sinh_test): Likewise.
45221         (sinh_test_tonearest): Likewise.
45222         (sinh_test_towardzero): Likewise.
45223         (sinh_test_downward): Likewise.
45224         (sinh_test_upward): Likewise.
45225         (sqrt_test): Likewise.
45226         (sqrt_test_tonearest): Likewise.
45227         (sqrt_test_towardzero): Likewise.
45228         (sqrt_test_downward): Likewise.
45229         (sqrt_test_upward): Likewise.
45230         (tan_test): Likewise.
45231         (tan_test_tonearest): Likewise.
45232         (tan_test_towardzero): Likewise.
45233         (tan_test_downward): Likewise.
45234         (tan_test_upward): Likewise.
45235         (tanh_test): Likewise.
45236         (tgamma_test): Likewise.
45237         (trunc_test): Likewise.
45238         (y0_test): Likewise.
45239         (y1_test): Likewise.
45240         (yn_test): Likewise.
45241         (significand_test): Likewise.
45243         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45244         individual tests in comment.
45245         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45246         (prev_max_error): New variable.
45247         (prev_real_max_error): Likewise.
45248         (prev_imag_max_error): Likewise.
45249         (compare_ulp_data): Don't refer to test names in comment.
45250         (find_test_ulps): Remove function.
45251         (find_function_ulps): Likewise.
45252         (find_complex_function_ulps): Likewise.
45253         (init_max_error): Take function name as argument.  Look up ulps
45254         for that function.
45255         (print_ulps): Remove function.
45256         (print_max_error): Use prev_max_error instead of calling
45257         find_function_ulps.
45258         (print_complex_max_error): Use prev_real_max_error and
45259         prev_imag_max_error instead of calling find_complex_function_ulps.
45260         (check_float_internal): Take max_ulp parameter instead of calling
45261         find_test_ulps.  Don't call print_ulps.
45262         (check_float): Update call to check_float_internal.
45263         (check_complex): Update calls to check_float_internal.
45264         (START): Pass argument to init_max_error.
45265         * math/gen-libm-test.pl (%results): Don't include "kind"
45266         information.
45267         (parse_ulps): Don't handle ulps of individual tests.
45268         (print_ulps_file): Likewise.
45269         (output_ulps): Likewise.
45270         * math/README.libm-test: Update.
45271         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45272         individual tests.
45273         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45274         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45275         * sysdeps/arm/libm-test-ulps: Likewise.
45276         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45277         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45278         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45279         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45280         * sysdeps/microblaze/libm-test-ulps: Likewise.
45281         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45282         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45283         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45284         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45285         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45286         * sysdeps/sh/libm-test-ulps: Likewise.
45287         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45288         * sysdeps/tile/libm-test-ulps: Likewise.
45289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45291 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45293         * math/libm-test.inc (print_complex_max_error): Check separately
45294         whether real and imaginary errors are within allowed range and
45295         pass 0 to print_complex_function_ulps instead of value within
45296         allowed range.
45298 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45301         formatting.
45302         (get_handles_fopen): Likewise.
45303         (do_write_test): Likewise.
45305         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45307         * libio/fileops.c (do_ftell): Use cached offset when
45308         available.
45309         * libio/iofwide.c (do_ftell_wide): Likewise.
45310         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45311         _IO_file_attach.
45312         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45314         [BZ #16532]
45315         * libio/libioP.h (get_file_offset): New function.
45316         * libio/fileops.c (get_file_offset): Likewise.
45317         (do_ftell): Likewise.
45318         (_IO_new_file_seekoff): Split out ftell logic.
45319         * libio/wfileops.c (do_ftell_wide): Likewise.
45320         (_IO_wfile_seekoff): Split out ftell logic.
45321         * libio/tst-ftell-active-handler.c: New test case.
45322         * libio/Makefile (tests): Add it.
45324 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45326         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45327         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45329 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45331         [BZ #16639]
45332         * nscd/connections.c (nscd_init): Call do_exit.
45333         (start_threads): Call do_exit and notify_parent.
45334         (begin_drop_privileges): Call do_exit.
45335         (finish_drop_privileges): Likewise.
45336         * nscd/selinux.c (preserve_capabilities): Likewise.
45337         (install_real_capabilities): Likewise.
45338         (nscd_selinux_enabled): Likewise.
45339         (avc_create_thread): Likewise.
45340         (avc_alloc_lock): Likewise.
45341         (nscd_avc_init): Likewise.
45342         * nscd/nscd.c (parent_fd): New static variable.
45343         (main): Create a pipe between parent and child processes.
45344         Skip closing parent_fd.
45345         (monitor_child): New function.
45346         (do_exit): Likewise.
45347         (notify_parent): Likewise.
45348         * nscd/nscd.h (notify_parent): Likewise.
45349         (do_exit): Likewise.
45351 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45353         * malloc/malloc.c (__libc_calloc): Revert last change.
45355 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45359 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45361         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45362         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45363         implementation.
45364         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45365         (__libc_ifunc_impl_list): Likewise.
45366         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45367         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45368         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45369         * string/strrchr.c: Define STRRCHR.
45371 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45373         * benchtest/bench-strtok.c (simple_strtok): Delete.
45374         (strtok_string): Use as benchmark.
45375         * string/strtok (STRTOK): New macro.
45377 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45379         * manual/threads.texi: Add header and standard comments to all
45380         functions.
45382         * elf/dl-lookup.c (check_match): New function.
45383         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45384         (do_lookup_x): Remove nested function check_match. Use non-nested
45385         function check_match.
45387 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45389         * csu/Makefile (generated, before-compile): Use += rather than =.
45390         * catgets/Makefile (generated, generated-dirs): Likewise.
45391         * debug/Makefile (generated): Likewise.
45392         * dlfcn/Makefile (generated): Likewise.
45393         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45394         * iconvdata/Makefile (before-compile, generated): Likewise.
45395         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45396         * libio/Makefile (generated): Likewise.
45397         * malloc/Makefile (generated): Likewise.
45398         * manual/Makefile (generated, generated-dirs): Likewise.
45399         * misc/Makefile (generated): Likewise.
45400         * posix/Makefile (generated): Likewise.
45401         * resolv/Makefile (generated): Likewise.
45402         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45403         * timezone/Makefile (generated, generated-dirs): Likewise.
45405         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45407 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45409         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45410         power8 implementation.
45411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45412         file: POWER8 llround ifunc implementation.
45413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45414         (__lllround): Add POWER8 implementation.
45415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45416         POWER8 llround implementation.
45418         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45419         power8 implementation.
45420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45421         file: POWER8 llrint ifunc implementation.
45422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45423         Add POWER8 implementation.
45424         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45425         POWER8 llrint implementation.
45427         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45428         power8 implementation.
45429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45430         file: POWER8 finite ifunc implementation.
45431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45432         Add POWER8 implementation.
45433         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45434         Likewise.
45435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45436         POWER8 finite implementation.
45437         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45440         power8 implementation.
45441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45442         file: POWER8 isinf ifunc implementation.
45443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45444         POWER8 implementation.
45445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45446         Likewise.
45447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45448         isinf implementation.
45449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45451         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45452         (INIT_ARCH): Add hwcap2 initialization.
45453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45454         power8 implementation.
45455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45456         file: POWER8 isnan ifunc implementation.
45457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45458         POWER8 implementation.
45459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45460         Likewise.
45461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45462         isnan implementation.
45463         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45465 2014-02-27  Joey Ye  <joey.ye@arm.com>
45467         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45468         (_FP_NANFRAC_Q): Set to zero.
45470 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45472         [BZ #16623]
45473         * math/auto-libm-test-in: New test inputs.
45474         * math/auto-libm-test-out: Regenerate.
45475         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45476         and DA.
45477         (__cos): Likewise.
45478         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45480 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45482         * scripts/evaluate-test.sh: Take new argument indicating whether
45483         failure is expected.
45484         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45485         indicating whether failure is expected.
45486         * conform/Makefile (test-xfail-run-conformtest): New variable.
45487         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45488         level.
45489         * posix/Makefile (test-xfail-annexc): New variable.
45490         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45492 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45494         * argp/Makefile: Include Makeconfig immediately after defining
45495         subdir.
45496         * assert/Makefile: Likewise.
45497         * benchtests/Makefile: Likewise.
45498         * catgets/Makefile: Likewise.
45499         * conform/Makefile: Likewise.
45500         * crypt/Makefile: Likewise.
45501         * csu/Makefile: Likewise.
45502         (all): Remove target.
45503         * ctype/Makefile: Include Makeconfig immediately after defining
45504         subdir.
45505         * debug/Makefile: Likewise.
45506         * dirent/Makefile: Likewise.
45507         * dlfcn/Makefile: Likewise.
45508         * gmon/Makefile: Likewise.
45509         * gnulib/Makefile: Likewise.
45510         * grp/Makefile: Likewise.
45511         * gshadow/Makefile: Likewise.
45512         * hesiod/Makefile: Likewise.
45513         * hurd/Makefile: Likewise.
45514         (all): Remove target.
45515         * iconvdata/Makefile: Include Makeconfig immediately after
45516         defining subdir.
45517         * inet/Makefile: Likewise.
45518         * intl/Makefile: Likewise.
45519         * io/Makefile: Likewise.
45520         * libio/Makefile: Likewise.
45521         (all): Remove target.
45522         * locale/Makefile: Include Makeconfig immediately after defining
45523         subdir.
45524         * login/Makefile: Likewise.
45525         * mach/Makefile: Likewise.
45526         (all): Remove target.
45527         * malloc/Makefile: Include Makeconfig immediately after defining
45528         subdir.
45529         (all): Remove target.
45530         * manual/Makefile: Include Makeconfig immediately after defining
45531         subdir.
45532         * math/Makefile: Likewise.
45533         * misc/Makefile: Likewise.
45534         * nis/Makefile: Likewise.
45535         * nss/Makefile: Likewise.
45536         * po/Makefile: Likewise.
45537         (all): Remove target.
45538         * posix/Makefile: Include Makeconfig immediately after defining
45539         subdir.
45540         * pwd/Makefile: Likewise.
45541         * resolv/Makefile: Likewise.
45542         * resource/Makefile: Likewise.
45543         * rt/Makefile: Likewise.
45544         * setjmp/Makefile: Likewise.
45545         * shadow/Makefile: Likewise.
45546         * signal/Makefile: Likewise.
45547         * socket/Makefile: Likewise.
45548         * soft-fp/Makefile: Likewise.
45549         * stdio-common/Makefile: Likewise.
45550         * stdlib/Makefile: Likewise.
45551         * streams/Makefile: Likewise.
45552         * string/Makefile: Likewise.
45553         * sunrpc/Makefile: Likewise.
45554         (all): Remove target.
45555         * sysvipc/Makefile: Include Makeconfig immediately after defining
45556         subdir.
45557         * termios/Makefile: Likewise.
45558         * time/Makefile: Likewise.
45559         * timezone/Makefile: Likewise.
45560         (all): Remove target.
45561         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45562         subdir.
45563         * wctype/Makefile: Likewise.
45565 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45567         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45568         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45569         (libc_feholdexcept_setround_mips): Ditto.
45570         (libc_feholdsetround): New.
45571         (libc_feholdsetroundf): New.
45572         (libc_feholdsetroundl): New.
45573         (libc_feupdateenv_test_mips): New.
45574         (libc_feupdateenv_test): New.
45575         (libc_feupdateenv_testf): New.
45576         (libc_feupdateenv_testl): New.
45577         (libc_feresetround): New.
45578         (libc_feresetroundf): New.
45579         (libc_feresetroundl): New.
45580         (libc_fetestexcept_mips): New.
45581         (libc_fetestexcept): New.
45582         (libc_fetestexceptf): New.
45583         (libc_fetestexceptl): New.
45584         (HAVE_RM_CTX): New.
45585         (libc_feholdexcept_setround_mips_ctx): New.
45586         (libc_feholdexcept_setround_ctx): New.
45587         (libc_feholdexcept_setroundf_ctx): New.
45588         (libc_feholdexcept_setroundl_ctx): New.
45589         (libc_fesetenv_mips_ctx): New.
45590         (libc_fesetenv_ctx): New.
45591         (libc_fesetenv_ctxf): New.
45592         (libc_fesetenv_ctxl): New.
45593         (libc_feupdateenv_mips_ctx): New.
45594         (libc_feupdateenv_ctx): New.
45595         (libc_feupdateenvf_ctx): New.
45596         (libc_feupdateenvl_ctx): New.
45597         (libc_feholdsetround_mips_ctx): New.
45598         (libc_feholdsetround_ctx): New.
45599         (libc_feholdsetroundf_ctx): New.
45600         (libc_feholdsetroundl_ctx): New.
45601         (libc_feresetround_mips_ctx): New.
45602         (libc_feresetround_ctx): New.
45603         (libc_feresetroundf_ctx): New.
45604         (libc_feresetroundl_ctx): New.
45606 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45608         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45610         * manual/ipc.texi: New file.
45611         * manual/Makefile (chapters): Add ipc.
45612         * manual/job.texi: Add "Inter-Process Communication" to next.
45613         * manual/process.texi: Add "Inter-Process Communication" to prev.
45615 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45619 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45621         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45623         * manual/arith.texi: Fix spaces after sentences.
45624         * manual/charset.texi: Likewise.
45625         * manual/errno.texi: Likewise.
45626         * manual/install.texi: Likewise.
45627         * manual/llio.texi: Likewise.
45628         * manual/locale.texi: Likewise.
45629         * manual/maint.texi: Likewise.
45630         * manual/math.texi: Likewise.
45631         * manual/memory.texi: Likewise.
45632         * manual/message.texi: Likewise.
45633         * manual/probes.texi: Likewise.
45634         * manual/resource.texi: Likewise.
45635         * manual/signal.texi: Likewise.
45636         * manual/socket.texi: Likewise.
45637         * manual/stdio.texi: Likewise.
45638         * manual/string.texi: Likewise.
45639         * manual/time.texi: Likewise.
45640         * manual/users.texi: Likewise.
45642 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45644         [BZ #16632]
45645         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45646         _DEFAULT_SOURCE is defined.
45648 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45649             Carlos O'Donell  <carlos@redhat.com>
45651         [BZ #16613]
45652         * elf/dl-tls.c (_dl_count_modids): New function.
45653         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45654         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45655         audit library and increment generation counter.
45656         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45657         * elf/tst-audit9.c: New file.
45658         * elf/tst-auditmod9a.c: New file.
45659         * elf/tst-auditmod9b.c: New file.
45660         * elf/Makefile: Add rules to build and run tst-audit9.
45662 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45664         [BZ #15347]
45665         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45667 2014-02-25  Will Newton  <will.newton@linaro.org>
45669         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45670         (__longjmp): Restore sp and lr before restoring callee
45671         saved registers.  Add longjmp and longjmp_target
45672         SystemTap probe point.
45673         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45674         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45675         Define to zero to match jmpbuf layout.
45676         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45677         (__sigsetjmp): Save sp and lr before saving callee
45678         saved registers.  Add setjmp SystemTap probe point.
45680 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45682         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45684 2014-02-24  Andreas Schwab  <schwab@suse.de>
45686         [BZ #15804]
45687         * elf/pldd.c (wait_for_ptrace_stop): New function.
45688         (main): Call it after attaching.
45690 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45692         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45693         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45694         Versions files is now verboten.
45695         * hurd/Versions (libc: GLIBC_2.0):
45696         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45697         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45698         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45699         * mach/Versions: Likewise.
45701         * csu/Versions: Remove unused %include.
45702         * resolv/Versions: Likewise.
45704 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45706         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45707         ($(objpfx)check-local-headers.out): Likewise.
45708         ($(objpfx)begin-end-check.out): Likewise.
45709         * Makerules (check-abi-%.out): Likewise.
45710         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45711         ($(objpfx)test2.cat): Likewise.
45712         ($(objpfx)de/libc.cat): Likewise.
45713         ($(objpfx)test-gencat.out): Likewise.
45714         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45715         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45716         ($(objpfx)noload-mem): Likewise.
45717         ($(objpfx)tst-pathopt.out): Likewise.
45718         ($(objpfx)tst-rtld-load-self.out): Likewise.
45719         ($(objpfx)tst-array1-cmp.out): Likewise.
45720         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45721         ($(objpfx)tst-array2-cmp.out): Likewise.
45722         ($(objpfx)tst-array3-cmp.out): Likewise.
45723         ($(objpfx)tst-array4-cmp.out): Likewise.
45724         ($(objpfx)tst-array5-cmp.out): Likewise.
45725         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45726         ($(objpfx)check-textrel.out): Likewise.
45727         ($(objpfx)check-execstack.out): Likewise.
45728         ($(objpfx)check-localplt.out): Likewise.
45729         ($(objpfx)order2-cmp.out): Likewise.
45730         ($(objpfx)tst-leaks1-mem): Likewise.
45731         ($(objpfx)tst-leaks1-static-mem): Likewise.
45732         ($(objpfx)tst-initorder-cmp.out): Likewise.
45733         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45734         ($(objpfx)tst-unused-dep.out): Likewise.
45735         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45736         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45737         * iconv/Makefile (test-iconvconfig): Likewise.
45738         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45739         ($(objpfx)iconv-test.out): Likewise.
45740         ($(objpfx)tst-tables.out): Likewise.
45741         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45742         ($(objpfx)tst-gettext.out): Likewise.
45743         ($(objpfx)tst-translit.out): Likewise.
45744         ($(objpfx)tst-gettext2.out): Likewise.
45745         ($(objpfx)tst-gettext4.out): Likewise.
45746         ($(objpfx)tst-gettext6.out): Likewise.
45747         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45748         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45749         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45750         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45751         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45752         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45753         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45754         ($(objpfx)wordexp-tst.out): Likewise.
45755         ($(objpfx)annexc.out): Likewise.
45756         ($(objpfx)tst-fnmatch-mem): Likewise.
45757         ($(objpfx)bug-regex2-mem): Likewise.
45758         ($(objpfx)bug-regex14-mem): Likewise.
45759         ($(objpfx)bug-regex21-mem): Likewise.
45760         ($(objpfx)bug-regex31-mem): Likewise.
45761         ($(objpfx)tst-vfork3-mem): Likewise.
45762         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45763         ($(objpfx)tst-pcre-mem): Likewise.
45764         ($(objpfx)tst-boost-mem): Likewise.
45765         ($(objpfx)tst-getconf.out): Likewise.
45766         ($(objpfx)bug-ga2-mem): Likewise.
45767         ($(objpfx)bug-glob2-mem): Likewise.
45768         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45769         ($(objpfx)mtrace-tst-leaks2): Likewise.
45770         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45771         ($(objpfx)tst-printf.out): Likewise.
45772         ($(objpfx)tst-setvbuf1.out): Likewise.
45773         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45774         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45775         ($(objpfx)tst-fmtmsg.out): Likewise.
45776         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45777         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45779         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45780         * bits/sigaction.h [__USE_MISC]: Likewise.
45781         * bits/waitstatus.h: Update #endif comments.
45782         * ctype/ctype.h: Likewise.
45783         * dirent/dirent.h: Likewise.
45784         [__USE_MISC]: Remove redundant conditionals.
45785         * grp/grp.h: Update #endif comments.
45786         [__USE_GNU]: Remove redundant conditionals.
45787         [__USE_MISC]: Likewise.
45788         * inet/netinet/in.h [__USE_GNU]: Likewise.
45789         * io/sys/stat.h [__USE_MISC]: Likewise.
45790         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45791         * libio/bits/stdio.h: Update #endif comments.
45792         [__USE_MISC]: Remove redundant conditionals.
45793         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45794         * libio/stdio.h: Update #endif comments.
45795         [__USE_MISC]: Remove redundant conditionals.
45796         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45797         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45798         * math/math.h: Update #else and #endif comments.
45799         [__USE_MISC]: Remove redundant conditionals.
45800         * misc/sys/uio.h: Update #endif comments.
45801         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45802         * posix/glob.h [__USE_MISC]: Likewise.
45803         * posix/sys/types.h: Update #endif comments.
45804         [__USE_MISC]: Remove redundant conditionals.
45805         * posix/sys/wait.h: Update #endif comments.
45806         [__USE_MISC]: Remove redundant conditionals.
45807         * posix/unistd.h: Update #endif comments.
45808         [__USE_MISC]: Remove redundant conditionals.
45809         * pwd/pwd.h [__USE_GNU]: Likewise.
45810         [__USE_MISC]: Likewise.
45811         * resolv/netdb.h [__USE_GNU]: Likewise.
45812         * signal/signal.h: Update #endif comments.
45813         [__USE_MISC]: Remove redundant conditionals.
45814         * stdlib/stdlib.h: Update #else and #endif comments.
45815         [__USE_MISC]: Remove redundant conditionals.
45816         [__USE_GNU]: Likewise.
45817         * string/bits/string2.h [__USE_MISC]: Likewise.
45818         * string/string.h: Update #endif comments.
45819         [__USE_MISC]: Remove redundant conditionals.
45820         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45821         Likewise.
45822         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45823         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45824         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45825         Likewise.
45826         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45827         Likewise.
45828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45829         comments.
45830         [__USE_MISC]: Remove redundant conditionals.
45831         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45832         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45833         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45834         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45835         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45836         Likewise.
45837         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45838         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45839         Likewise.
45840         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45841         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45842         Likewise.
45843         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45844         Likewise.
45845         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45846         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45847         Likewise.
45848         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45849         Likewise.
45850         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45851         * sysdeps/x86/bits/string.h: Update #endif comments.
45852         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45853         conditionals.
45854         * time/sys/time.h: Update #endif comments.
45855         * time/time.h: Likewise.
45856         [__USE_MISC]: Remove redundant conditionals.
45858 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45860         [BZ #16600]
45861         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45863 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45865         * Versions.def (librt): Add GLIBC_2.17.
45867 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45869         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45870         synonym for _SYS_AUXV_H to allow direct inclusion.
45871         * sysdeps/sparc/bits/hwcap.h: Likewise.
45872         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45873         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45874         * sysdeps/sparc/sysdep.h: Likewise.
45876 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45878         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45880 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45882         * benchtests/bench-strrchr.c: Print length instead of position.
45884 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45886         [BZ #16611]
45887         * sysdeps/unix/sysv/linux/kernel-features.h
45888         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45889         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45890         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45891         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45892         Likewise.
45893         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45894         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45895         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45896         (__ASSUME_SENDMMSG): Define instead of using previous
45897         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45898         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45899         (__ASSUME_SENDMMSG_SYSCALL): Define.
45900         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45901         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45902         Likewise.
45903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45904         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45905         Likewise.
45906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45907         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45908         Likewise.
45909         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45910         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45911         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45912         [__ASSUME_SENDMMSG]: Change conditionals to
45913         [__ASSUME_SENDMMSG_SOCKETCALL].
45914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45915         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45916         Define.
45917         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45918         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45919         Likewise.
45920         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45921         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45922         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45923         [!__ASSUME_SENDMMSG]: Change conditional to
45924         [!__ASSUME_SENDMMSG_SOCKETCALL].
45925         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45926         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45927         Define.
45929         [BZ #16610]
45930         * sysdeps/unix/sysv/linux/kernel-features.h
45931         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45932         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45933         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45934         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45935         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45936         [__i386__ || __sparc__]
45937         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45938         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45939         (__ASSUME_RECVMMSG): Define instead of using previous
45940         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45941         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45942         (__ASSUME_RECVMMSG_SYSCALL): Define.
45943         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45944         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45945         Likewise.
45946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45948         Likewise.
45949         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45951         Likewise.
45952         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45953         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45954         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45955         [__ASSUME_RECVMMSG]: Change condition to
45956         [__ASSUME_RECVMMSG_SOCKETCALL].
45957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45958         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45959         Define.
45960         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45961         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45962         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45963         Likewise.
45964         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45965         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45966         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45967         [!__ASSUME_RECVMMSG]: Change condition to
45968         [!__ASSUME_RECVMMSG_SOCKETCALL].
45969         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45970         (__ASSUME_RECVMMSG_SYSCALL): Define.
45972         [BZ #16609]
45973         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45974         __powerpc__ || __s390__ || __sh__ || __sparc__]
45975         (__ASSUME_SOCKETCALL): Define.
45976         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45977         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45978         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45979         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45980         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45981         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45982         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45983         (__ASSUME_ACCEPT4): Define instead of using previous
45984         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45985         __powerpc__ || __sparc__ || __s390__)] condition.
45986         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45987         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45988         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45989         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45990         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45991         [!__ASSUME_ACCEPT4]: Change condition to
45992         [!__ASSUME_ACCEPT4_SOCKETCALL].
45993         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45994         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45995         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45996         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45997         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45998         __ASSUME_ACCEPT4_SYSCALL.
45999         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46000         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46001         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46002         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46003         __ASSUME_ACCEPT4_SYSCALL.
46004         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46005         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46006         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46007         [__ASSUME_ACCEPT4]: Change condition to
46008         [__ASSUME_ACCEPT4_SOCKETCALL].
46009         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46010         (__ASSUME_SOCKETCALL): Define.
46011         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46012         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46013         (__ASSUME_SOCKETCALL): Define.
46014         (__ASSUME_ACCEPT4): Remove.
46015         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46016         Define.
46017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46018         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46019         Likewise.
46020         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46021         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46023         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46024         macro.
46025         (HWCAP_ARM_LPAE): Likewise.
46026         (HWCAP_ARM_EVTSTRM): Likewise.
46027         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46028         Add vpfd32, lpae and evtstrm.
46029         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46030         Increase to 22.
46032 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46034         * math/auto-libm-test-in: Add tests of clog10.
46035         * math/auto-libm-test-out: Regenerated.
46036         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46037         * sysdeps/i386/fpu/libm-test-ulps: Update.
46038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46040 2014-02-18  Andreas Schwab  <schwab@suse.de>
46042         [BZ #16574]
46043         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46044         Store non-zero if the second buffer was newly allocated.
46045         (send_dg): Likewise.
46046         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46047         to send_vc and send_dg.
46048         (res_nsend): Pass NULL for ansp2_malloced.
46049         * resolv/res_query.c (__libc_res_nquery): Add parameter
46050         answerp2_malloced and pass it down to __libc_res_nsend.
46051         (res_nquery): Pass additional NULL to __libc_res_nquery.
46052         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46053         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46054         second answer buffer if answerp2_malloced was set.
46055         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46056         (__libc_res_nquerydomain): Add parameter
46057         answerp2_malloced and pass it down to __libc_res_nquery.
46058         (res_nquerydomain): Pass additional NULL to
46059         __libc_res_nquerydomain.
46060         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46061         additional NULL to __libc_res_nsend and __libc_res_nquery.
46062         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46063         additional NULL to __libc_res_nsearch.
46064         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46065         parameter of __libc_res_nsearch to check for separately allocated
46066         second buffer.
46067         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46068         __libc_res_nquery.
46069         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46070         additional NULL to __libc_res_nquery.
46071         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46072         __libc_res_nsearch.
46073         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46074         * include/resolv.h: Update prototypes of __libc_res_nquery,
46075         __libc_res_nsearch, __libc_res_nsend.
46077 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46079         * math/auto-libm-test-in: Add tests of fma.
46080         * math/auto-libm-test-out: Regenerated.
46081         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46082         (fma_towardzero_test_data): Likewise.
46083         (fma_downward_test_data): Likewise.
46084         (fma_upward_test_data): Likewise.
46085         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46086         mpc_mode.
46087         (rounding_modes): Add values for new field.
46088         (func_calc_method): Add value mpfr_fff_f.
46089         (func_calc_desc): Add mpfr_fff_f union field.
46090         (test_function): Add field exact_args.
46091         (FUNC): Add macro argument EXACT_ARGS.
46092         (FUNC_mpfr_f_f): Update call to FUNC.
46093         (FUNC_mpfr_f_f): Likewise.
46094         (FUNC_mpfr_ff_f): Likewise.
46095         (FUNC_mpfr_if_f): Likewise.
46096         (FUNC_mpc_c_f): Likewise.
46097         (FUNC_mpc_c_c): Likewise.
46098         (test_functions): Add fma.  Update calls to FUNC.
46099         (handle_input_arg): Add argument exact_args.
46100         (add_test): Update call to handle_input_arg.
46101         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46102         (output_for_one_input_case): Update call to calc_generic_results.
46103         Recalculate exact zero results in each rounding mode.
46105         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46106         non-negative before setting low bit.
46107         * math/auto-libm-test-in: Mark one asin test possibly having
46108         spurious underflow.
46109         * math/auto-libm-test-out: Regenerated.
46110         * sysdeps/i386/fpu/libm-test-ulps: Update.
46111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46113 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46115         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46116         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46117         ports/sysdeps/unix/sysv/linux/microblaze.
46118         * README: Add missing listing for microblaze*-*-linux-gnu.
46120 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46122         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46123         duplicate code
46125 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46127         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46128         * sysdeps/unix/sysv/linux/ia64: Move directory from
46129         ports/sysdeps/unix/sysv/linux/ia64.
46130         * README: Update listing for ia64-*-linux-gnu.
46132 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46133             Joseph Myers  <joseph@codesourcery.com>
46135         * Makeconfig (test-name): New variable.
46136         (evaluate-test): Likewise.
46137         * Makerules (do-test-clean): Remove .test-result files.
46138         (common-mostlyclean): Likewise.
46139         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46140         * scripts/evaluate-test.sh: New file.
46142 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46144         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46145         separate $(objpfx)tst-fopenloc-cmp.out and
46146         $(objpfx)tst-fopenloc-mem.out targets.
46147         (tests): Update dependencies.
46148         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46149         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46150         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46151         (tst-rxspencer-no-utf8-ARGS): New variable.
46152         (tst-rxspencer-no-utf8-ENV): Likewise.
46153         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46154         instead of $(objpfx)tst-rxspencer-mem.
46155         ($(objpfx)tst-rxspencer-mem): Change target to
46156         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46157         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46158         * posix/tst-rxspencer-no-utf8.c: New file.
46160         * elf/Makefile ($(objpfx)order.out): Remove rule.
46161         [$(run-built-tests) = yes] (tests): Depend on
46162         $(objpfx)order-cmp.out.
46163         ($(objpfx)order-cmp.out): New rule.
46164         [$(run-built-tests) = yes] (tests): Depend on
46165         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46166         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46167         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46168         $(objpfx)tst-array5-static-cmp.out.
46169         ($(objpfx)tst-array1.out): Remove rule.
46170         ($(objpfx)tst-array1-cmp.out): New rule.
46171         ($(objpfx)tst-array1-static.out): Remove rule.
46172         ($(objpfx)tst-array1-static-cmp.out): New rule.
46173         ($(objpfx)tst-array2.out): Remove rule.
46174         ($(objpfx)tst-array2-cmp.out): New rule.
46175         ($(objpfx)tst-array3.out): Remove rule.
46176         ($(objpfx)tst-array3-cmp.out): New rule.
46177         ($(objpfx)tst-array4.out): Remove rule.
46178         ($(objpfx)tst-array4-cmp.out): New rule.
46179         ($(objpfx)tst-array5.out): Remove rule.
46180         ($(objpfx)tst-array5-cmp.out): New rule.
46181         ($(objpfx)tst-array5-static.out): Remove rule.
46182         ($(objpfx)tst-array5-static-cmp.out): New rule.
46183         [$(run-built-tests) = yes] (tests): Depend on
46184         $(objpfx)order2-cmp.out.
46185         ($(objpfx)order2.out): Remove rule.
46186         ($(objpfx)order2-cmp.out): New rule.
46187         ($(objpfx)tst-initorder.out): Remove rule.
46188         [$(run-built-tests) = yes] (tests): Depend on
46189         $(objpfx)tst-initorder-cmp.out.
46190         ($(objpfx)tst-initorder-cmp.out): New rule.
46191         ($(objpfx)tst-initorder2.out): Remove rule.
46192         [$(run-built-tests) = yes] (tests): Depend on
46193         $(objpfx)tst-initorder2-cmp.out.
46194         ($(objpfx)tst-initorder2-cmp.out): New rule.
46195         [$(run-built-tests) = yes] (tests): Depend on
46196         $(objpfx)tst-unused-dep-cmp.out.
46197         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46198         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46199         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46200         on $(objpfx)tst-setvbuf1-cmp.out.
46201         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46202         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46203         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46204         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46205         ($(objpfx)tst-svc.out): Remove rule.
46206         ($(objpfx)tst-svc-cmp.out): New rule.
46208 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46210         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46211         * ctype/ctype.h [__USE_MISC]: Likewise.
46212         * dirent/dirent.h [__USE_MISC]: Likewise.
46213         * grp/grp.h [__USE_MISC]: Likewise.
46214         * io/fcntl.h [__USE_MISC]: Likewise.
46215         * io/sys/stat.h [__USE_MISC]: Likewise.
46216         * libio/stdio.h [__USE_MISC]: Likewise.
46217         * posix/unistd.h [__USE_MISC]: Likewise.
46218         * pwd/pwd.h [__USE_MISC]: Likewise.
46219         * stdlib.h [__USE_MISC]: Likewise.
46220         * string/bits/string2.h [__USE_MISC]: Likewise.
46221         * string/string.h [__USE_MISC]: Likewise.
46222         * time/time.h [__USE_MISC]: Likewise.
46224 2014-02-13  Andreas Schwab  <schwab@suse.de>
46226         [BZ #16574]
46227         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46228         second answer buffer if it was separately allocated.
46230 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46232         * sysdeps/mips/math-tests.h: Include <features.h>.
46233         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46234         (ROUNDING_TESTS_long_double): Do not define.
46235         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46236         (EXCEPTION_TESTS_long_double): Likewise.
46237         * sysdeps/mips/mips64/libm-test-ulps: Update.
46239         * include/features.h (__USE_BSD): Remove macro definitions.
46240         (__USE_SVID): Likewise.
46241         (_BSD_SOURCE): Likewise.
46242         (_SVID_SOURCE): Likewise.
46243         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46244         from definition of _DEFAULT_SOURCE.
46245         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46246         [_DEFAULT_SOURCE].
46247         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46248         * bits/mman.h [__USE_BSD]: Likewise.
46249         * bits/termios.h [__USE_BSD]: Likewise.
46250         * bits/waitstatus.h [__USE_BSD]: Likewise.
46251         * ctype/ctype.h [__USE_SVID]: Likewise.
46252         * dirent/dirent.h [__USE_BSD]: Likewise.
46253         * grp/grp.h [__USE_SVID]: Likewise.
46254         [__USE_BSD]: Likewise.
46255         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46256         * io/fcntl.h [__USE_BSD]: Likewise.
46257         * io/ftw.h [__USE_BSD]: Likewise.
46258         * io/sys/stat.h [__USE_BSD]: Likewise.
46259         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46260         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46261         * libio/stdio.h [__USE_SVID]: Likewise.
46262         [__USE_BSD]: Likewise.
46263         * math/math.h [__USE_SVID]: Likewise.
46264         [__USE_BSD]: Likewise.
46265         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46266         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46267         * misc/search.h [__USE_SVID]: Likewise.
46268         * misc/sys/mman.h [__USE_BSD]: Likewise.
46269         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46270         * misc/sys/uio.h [__USE_BSD]: Likewise.
46271         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46272         * posix/glob.h [__USE_BSD]: Likewise.
46273         * posix/regex.h [__USE_BSD]: Likewise.
46274         * posix/sys/types.h [__USE_BSD]: Likewise.
46275         [__USE_SVID]: Likewise.
46276         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46277         * posix/sys/wait.h [__USE_BSD]: Likewise.
46278         [__USE_SVID]: Likewise.
46279         * posix/unistd.h [__USE_BSD]: Likewise.
46280         [__USE_SVID]: Likewise.
46281         * pwd/pwd.h [__USE_SVID]: Likewise.
46282         * resolv/netdb.h [__USE_BSD]: Likewise.
46283         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46284         * signal/signal.h [__USE_BSD]: Likewise.
46285         [__USE_SVID]: Likewise.
46286         * socket/sys/socket.h [__USE_BSD]: Likewise.
46287         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46288         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46289         [__USE_SVID]: Likewise.
46290         * string/bits/string2.h [__USE_BSD]: Likewise.
46291         [__USE_SVID]: Likewise.
46292         * string/bits/string3.h [__USE_BSD]: Likewise.
46293         * string/endian.h [__USE_BSD]: Likewise.
46294         * string/string.h [__USE_SVID]: Likewise.
46295         [__USE_BSD]: Likewise.
46296         * string/strings.h [__USE_BSD]: Likewise.
46297         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46298         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46299         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46300         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46301         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46302         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46303         Likewise.
46304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46305         Likewise.
46306         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46307         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46308         Likewise.
46309         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46310         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46311         Likewise.
46312         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46313         Likewise.
46314         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46315         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46316         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46317         Likewise.
46318         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46319         Likewise.
46320         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46321         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46322         * termios/termios.h [__USE_BSD]: Likewise.
46323         * time/sys/time.h [__USE_BSD]: Likewise.
46324         * time/time.h [__USE_BSD]: Likewise.
46325         [__USE_SVID]: Likewise.
46327         * Makefile (subdir_targets): Remove subdir_lint.out.
46329         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46330         (do-tst-printf): Likewise.
46331         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46332         $(objpfx)tst-printf.out.
46334         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46336         * Makerules (check-abi-%): Change target to
46337         $(objpfx)check-abi-%.out.
46338         (check-abi target): Update dependencies.
46339         (check-abi-pattern variable): Redirect output of diff to $@.
46340         (check-abi variable): Likewise.
46341         * elf/Makefile (check-abi): Update dependencies.
46343         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46344         unused.
46345         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46346         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46347         subnormal range.
46348         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46349         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46350         value has largest subnormal exponent.
46351         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46352         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46353         * sysdeps/aarch64/soft-fp/sfp-machine.h
46354         (_FP_TININESS_AFTER_ROUNDING): New macro.
46355         * sysdeps/alpha/soft-fp/sfp-machine.h
46356         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46357         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46358         Likewise.
46359         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46360         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46361         * sysdeps/mips/soft-fp/sfp-machine.h
46362         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46363         * sysdeps/powerpc/soft-fp/sfp-machine.h
46364         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46365         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46366         Likewise.
46367         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46368         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46370         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46371         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46372         Likewise.
46374 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46376         [BZ #16545]
46377         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46378         model 1.
46380 2014-02-12  Richard Henderson  <rth@redhat.com>
46382         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46383         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46384         * sysdeps/unix/sysv/linux/alpha: Move directory from
46385         ports/sysdeps/unix/sysv/linux/alpha.
46386         * README: Update listing for alpha-*-linux-gnu.
46388 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46390         * include/features.h: Update comment documenting feature test
46391         macros.
46392         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46393         _DEFAULT_SOURCE.
46394         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46395         (_SVID_SOURCE): Likewise.
46396         (_DEFAULT_SOURCE): Update description of default features.
46397         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46398         with _GNU_SOURCE.
46399         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46400         (S_ISVTX): Likewise.
46401         * manual/math.texi (Mathematical Constants): Likewise.
46402         * manual/signal.texi (Interrupted Primitives): Likewise.
46403         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46404         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46405         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46406         Don't refer to _SVID_SOURCE in warning text.
46408         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46410         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46411         already defined.
46412         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46413         * sysdeps/mips/dl-lookup.c: Remove.
46414         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46416 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46418         [BZ #16447]
46419         * math/auto-libm-test-in: Add testcase for expl.
46420         * math/auto-libm-test-out: Regenerate.
46421         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46422         calculation of unsafe.
46423         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46425 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46427         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46428         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46429         ports/sysdeps/unix/sysv/linux/aarch64.
46430         * README: Update listing for aarch64*-*-linux-gnu.
46432 2014-02-11  Will Newton  <will.newton@linaro.org>
46434         * manual/probes.texi (Mathematical Function Probes): Use
46435         "triggered" instead of "hit".
46437         * manual/probes.texi (Internal Probes): Add documentation
46438         of setjmp, longjmp and longjmp_target probes.
46440         * include/stap-probe.h: Add comment about probe argument
46441         format.
46443         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46444         definition.  (tr_where, tr_freehook, tr_mallochook,
46445         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46447 2014-02-11  David S. Miller  <davem@davemloft.net>
46449         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46450         processing int_tests.
46452 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46454         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46455         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46456         * sysdeps/unix/sysv/linux/mips: Move directory from
46457         ports/sysdeps/unix/sysv/linux/mips.
46458         * README: Update listing for mips-*-linux-gnu and
46459         mips64-*-linux-gnu.
46461 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46463         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46464         * sysdeps/unix/sysv/linux/m68k: Move directory from
46465         ports/sysdeps/unix/sysv/linux/m68k.
46466         * README: Update listing for m68k-*-linux-gnu.
46468 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46470         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46471         * sysdeps/unix/sysv/linux/generic: Move directory from
46472         ports/sysdeps/unix/sysv/linux/generic.
46473         * sysdeps/unix/sysv/linux/tile: Move directory from
46474         ports/sysdeps/unix/sysv/linux/tile.
46475         * README: Update listing for tile*-*-linux-gnu.
46477 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46479         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46480         __builtin_expect.
46481         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46482         * catgets/open_catalog.c (__open_catalog): Likewise.
46483         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46484         * debug/confstr_chk.c: Likewise.
46485         * debug/fread_chk.c (__fread_chk): Likewise.
46486         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46487         * debug/getgroups_chk.c: Likewise.
46488         * debug/mbsnrtowcs_chk.c: Likewise.
46489         * debug/mbsrtowcs_chk.c: Likewise.
46490         * debug/mbstowcs_chk.c: Likewise.
46491         * debug/memcpy_chk.c: Likewise.
46492         * debug/memmove_chk.c: Likewise.
46493         * debug/mempcpy_chk.c: Likewise.
46494         * debug/memset_chk.c: Likewise.
46495         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46496         * debug/strcat_chk.c (__strcat_chk): Likewise.
46497         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46498         * debug/strncat_chk.c (__strncat_chk): Likewise.
46499         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46500         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46501         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46502         * debug/wcpncpy_chk.c: Likewise.
46503         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46504         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46505         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46506         * debug/wcsncpy_chk.c: Likewise.
46507         * debug/wcsnrtombs_chk.c: Likewise.
46508         * debug/wcsrtombs_chk.c: Likewise.
46509         * debug/wcstombs_chk.c: Likewise.
46510         * debug/wmemcpy_chk.c: Likewise.
46511         * debug/wmemmove_chk.c: Likewise.
46512         * debug/wmempcpy_chk.c: Likewise.
46513         * debug/wmemset_chk.c: Likewise.
46514         * dirent/scandirat.c (SCANDIRAT): Likewise.
46515         * dlfcn/dladdr1.c (dladdr1): Likewise.
46516         * dlfcn/dladdr.c (dladdr): Likewise.
46517         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46518         * dlfcn/dlerror.c (__dlerror): Likewise.
46519         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46520         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46521         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46522         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46523         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46524         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46525         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46526         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46527         Likewise.
46528         * elf/dl-conflict.c: Likewise.
46529         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46530         * elf/dl-dst.h: Likewise.
46531         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46532         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46533         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46534         * elf/dl-init.c (call_init, _dl_init): Likewise.
46535         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46536         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46537         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46538         Likewise.
46539         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46540         Likewise.
46541         * elf/dl-minimal.c (__libc_memalign): Likewise.
46542         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46543         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46544         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46545         * elf/dl-sym.c (do_sym): Likewise.
46546         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46547         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46548         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46549         * elf/dl-writev.h (_dl_writev): Likewise.
46550         * elf/ldconfig.c (search_dir): Likewise.
46551         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46552         (dl_main): Likewise.
46553         * elf/setup-vdso.h (setup_vdso): Likewise.
46554         * grp/compat-initgroups.c (compat_call): Likewise.
46555         * grp/fgetgrent.c (fgetgrent): Likewise.
46556         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46557         * grp/putgrent.c (putgrent): Likewise.
46558         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46559         Likewise.
46560         * hurd/hurdinit.c: Likewise.
46561         * iconvdata/8bit-gap.c (struct): Likewise.
46562         * iconvdata/ansi_x3.110.c : Likewise.
46563         * iconvdata/big5.c : Likewise.
46564         * iconvdata/big5hkscs.c : Likewise.
46565         * iconvdata/cp1255.c: Likewise.
46566         * iconvdata/cp1258.c : Likewise.
46567         * iconvdata/cp932.c : Likewise.
46568         * iconvdata/euc-cn.c: Likewise.
46569         * iconvdata/euc-jisx0213.c : Likewise.
46570         * iconvdata/euc-jp.c: Likewise.
46571         * iconvdata/euc-jp-ms.c : Likewise.
46572         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46573         * iconvdata/gb18030.c : Likewise.
46574         * iconvdata/gbbig5.c (const): Likewise.
46575         * iconvdata/gbgbk.c: Likewise.
46576         * iconvdata/gbk.c : Likewise.
46577         * iconvdata/ibm1364.c : Likewise.
46578         * iconvdata/ibm930.c : Likewise.
46579         * iconvdata/ibm932.c: Likewise.
46580         * iconvdata/ibm933.c : Likewise.
46581         * iconvdata/ibm935.c : Likewise.
46582         * iconvdata/ibm937.c : Likewise.
46583         * iconvdata/ibm939.c : Likewise.
46584         * iconvdata/ibm943.c: Likewise.
46585         * iconvdata/iso_11548-1.c: Likewise.
46586         * iconvdata/iso-2022-cn.c : Likewise.
46587         * iconvdata/iso-2022-cn-ext.c : Likewise.
46588         * iconvdata/iso-2022-jp-3.c: Likewise.
46589         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46590         * iconvdata/iso-2022-kr.c : Likewise.
46591         * iconvdata/iso646.c (gconv_end): Likewise.
46592         * iconvdata/iso_6937-2.c : Likewise.
46593         * iconvdata/iso_6937.c : Likewise.
46594         * iconvdata/iso8859-1.c: Likewise.
46595         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46596         * iconvdata/shift_jisx0213.c : Likewise.
46597         * iconvdata/sjis.c : Likewise.
46598         * iconvdata/t.61.c : Likewise.
46599         * iconvdata/tcvn5712-1.c : Likewise.
46600         * iconvdata/tscii.c: Likewise.
46601         * iconvdata/uhc.c : Likewise.
46602         * iconvdata/unicode.c (gconv_end): Likewise.
46603         * iconvdata/utf-16.c (gconv_end): Likewise.
46604         * iconvdata/utf-32.c (gconv_end): Likewise.
46605         * iconvdata/utf-7.c (base64): Likewise.
46606         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46607         * iconv/gconv_close.c (__gconv_close): Likewise.
46608         * iconv/gconv_open.c (__gconv_open): Likewise.
46609         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46610         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46611         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46612         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46613         (ucs4le_internal_loop_single): Likewise.
46614         * iconv/iconv.c (iconv): Likewise.
46615         * iconv/iconv_close.c: Likewise.
46616         * iconv/loop.c (SINGLE): Likewise.
46617         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46618         * include/atomic.h: Likewise.
46619         * inet/inet6_option.c (option_alloc): Likewise.
46620         * intl/bindtextdom.c (set_binding_values): Likewise.
46621         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46622         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46623         * intl/localealias.c (read_alias_file): Likewise.
46624         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46625         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46626         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46627         * libio/fmemopen.c (fmemopen): Likewise.
46628         * libio/iofgets.c (_IO_fgets): Likewise.
46629         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46630         * libio/iofgetws.c (fgetws): Likewise.
46631         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46632         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46633         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46634         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46635         * locale/findlocale.c (_nl_find_locale): Likewise.
46636         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46637         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46638         Likewise.
46639         * locale/setlocale.c (setlocale): Likewise.
46640         * login/programs/pt_chown.c (main): Likewise.
46641         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46642         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46643         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46644         (mmap, mmap64, mremap, munmap): Likewise.
46645         * math/e_exp2l.c: Likewise.
46646         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46647         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46648         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46649         * math/s_catan.c (__catan): Likewise.
46650         * math/s_catanf.c (__catanf): Likewise.
46651         * math/s_catanh.c (__catanh): Likewise.
46652         * math/s_catanhf.c (__catanhf): Likewise.
46653         * math/s_catanhl.c (__catanhl): Likewise.
46654         * math/s_catanl.c (__catanl): Likewise.
46655         * math/s_ccosh.c (__ccosh): Likewise.
46656         * math/s_ccoshf.c (__ccoshf): Likewise.
46657         * math/s_ccoshl.c (__ccoshl): Likewise.
46658         * math/s_cexp.c (__cexp): Likewise.
46659         * math/s_cexpf.c (__cexpf): Likewise.
46660         * math/s_cexpl.c (__cexpl): Likewise.
46661         * math/s_clog10.c (__clog10): Likewise.
46662         * math/s_clog10f.c (__clog10f): Likewise.
46663         * math/s_clog10l.c (__clog10l): Likewise.
46664         * math/s_clog.c (__clog): Likewise.
46665         * math/s_clogf.c (__clogf): Likewise.
46666         * math/s_clogl.c (__clogl): Likewise.
46667         * math/s_csin.c (__csin): Likewise.
46668         * math/s_csinf.c (__csinf): Likewise.
46669         * math/s_csinh.c (__csinh): Likewise.
46670         * math/s_csinhf.c (__csinhf): Likewise.
46671         * math/s_csinhl.c (__csinhl): Likewise.
46672         * math/s_csinl.c (__csinl): Likewise.
46673         * math/s_csqrt.c (__csqrt): Likewise.
46674         * math/s_csqrtf.c (__csqrtf): Likewise.
46675         * math/s_csqrtl.c (__csqrtl): Likewise.
46676         * math/s_ctan.c (__ctan): Likewise.
46677         * math/s_ctanf.c (__ctanf): Likewise.
46678         * math/s_ctanh.c (__ctanh): Likewise.
46679         * math/s_ctanhf.c (__ctanhf): Likewise.
46680         * math/s_ctanhl.c (__ctanhl): Likewise.
46681         * math/s_ctanl.c (__ctanl): Likewise.
46682         * math/w_pow.c: Likewise.
46683         * math/w_powf.c: Likewise.
46684         * math/w_powl.c: Likewise.
46685         * math/w_scalb.c (sysv_scalb): Likewise.
46686         * math/w_scalbf.c (sysv_scalbf): Likewise.
46687         * math/w_scalbl.c (sysv_scalbl): Likewise.
46688         * misc/error.c (error_tail): Likewise.
46689         * misc/pselect.c (__pselect): Likewise.
46690         * nis/nis_callback.c (__nis_create_callback): Likewise.
46691         * nis/nis_call.c (__nisfind_server): Likewise.
46692         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46693         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46694         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46695         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46696         * nis/nis_lookup.c (nis_lookup): Likewise.
46697         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46698         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46699         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46700         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46701         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46702         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46703         * nis/nss_compat/compat-initgroups.c (add_group)
46704         (internal_getgrent_r): Likewise.
46705         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46706         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46707         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46708         (internal_getspnam_r): Likewise.
46709         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46710         (_nss_nis_getaliasbyname_r): Likewise.
46711         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46712         (_nss_nis_getntohost_r): Likewise.
46713         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46714         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46715         (_nss_nis_getgrgid_r): Likewise.
46716         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46717         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46718         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46719         (_nss_nis_gethostbyname4_r): Likewise.
46720         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46721         (initgroups_netid): Likewise.
46722         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46723         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46724         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46725         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46726         (_nss_nis_getprotobynumber_r): Likewise.
46727         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46728         (_nss_nis_getsecretkey): Likewise.
46729         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46730         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46731         (_nss_nis_getpwuid_r): Likewise.
46732         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46733         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46734         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46735         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46736         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46737         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46738         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46739         Likewise.
46740         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46741         (_nss_nisplus_getntohost_r): Likewise.
46742         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46743         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46744         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46745         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46746         Likewise.
46747         * nis/nss_nisplus/nisplus-initgroups.c
46748         (_nss_nisplus_initgroups_dyn): Likewise.
46749         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46750         (_nss_nisplus_getnetbyaddr_r): Likewise.
46751         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46752         (_nss_nisplus_getprotobynumber_r): Likewise.
46753         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46754         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46755         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46756         Likewise.
46757         * nis/nss_nisplus/nisplus-service.c
46758         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46759         (_nss_nisplus_getservbyport_r): Likewise.
46760         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46761         (_nss_nisplus_getspnam_r): Likewise.
46762         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46763         Likewise.
46764         * nscd/aicache.c (addhstaiX): Likewise.
46765         * nscd/cache.c (cache_search, prune_cache): Likewise.
46766         * nscd/connections.c (register_traced_file, send_ro_fd)
46767         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46768         (main_loop_epoll): Likewise.
46769         * nscd/grpcache.c (addgrbyX): Likewise.
46770         * nscd/hstcache.c (addhstbyX): Likewise.
46771         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46772         * nscd/mem.c (gc, mempool_alloc): Likewise.
46773         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46774         (addinnetgrX): Likewise.
46775         * nscd/nscd-client.h (__nscd_acquire_maplock)
46776         (__nscd_drop_map_ref): Likewise.
46777         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46778         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46779         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46780         Likewise.
46781         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46782         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46783         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46784         (__nscd_get_map_ref): Likewise.
46785         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46786         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46787         Likewise.
46788         * nscd/pwdcache.c (addpwbyX): Likewise.
46789         * nscd/selinux.c (preserve_capabilities): Likewise.
46790         * nscd/servicescache.c (addservbyX): Likewise.
46791         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46792         * posix/fnmatch.c (fnmatch): Likewise.
46793         * posix/getopt.c (_getopt_internal_r): Likewise.
46794         * posix/glob.c (glob, glob_in_dir): Likewise.
46795         * posix/wordexp.c (exec_comm_child): Likewise.
46796         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46797         (getanswer_r, gaih_getanswer_slice): Likewise.
46798         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46799         * resolv/res_init.c: Likewise.
46800         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46801         * resolv/res_query.c (__libc_res_nquery): Likewise.
46802         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46803         Likewise.
46804         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46805         * stdio-common/perror.c (perror): Likewise.
46806         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46807         * stdio-common/tmpnam.c (tmpnam): Likewise.
46808         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46809         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46810         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46811         Likewise.
46812         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46813         * stdlib/putenv.c (putenv): Likewise.
46814         * stdlib/setenv.c (__add_to_environ): Likewise.
46815         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46816         * stdlib/strtol_l.c (INTERNAL): Likewise.
46817         * string/memmem.c (memmem): Likewise.
46818         * string/strerror.c (strerror): Likewise.
46819         * string/strnlen.c (__strnlen): Likewise.
46820         * string/test-memmem.c (simple_memmem): Likewise.
46821         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46822         * sunrpc/pm_getport.c (__get_socket): Likewise.
46823         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46824         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46825         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46826         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46827         Likewise.
46828         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46829         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46830         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46831         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46832         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46833         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46834         Likewise.
46835         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46836         Likewise.
46837         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46838         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46839         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46840         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46841         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46843         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46844         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46845         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46846         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46847         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46848         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46849         Likewise.
46850         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46851         Likewise.
46852         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46853         Likewise.
46854         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46855         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46857         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46858         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46859         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46860         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46862         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46863         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46864         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46865         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46866         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46867         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46869         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46870         Likewise.
46871         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46872         Likewise.
46873         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46874         Likewise.
46875         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46876         Likewise.
46877         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46878         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46879         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46880         Likewise.
46881         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46882         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46883         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46884         * sysdeps/posix/sleep.c: Likewise.
46885         * sysdeps/posix/tempname.c: Likewise.
46886         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46887         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46888         Likewise.
46889         * sysdeps/powerpc/powerpc32/dl-machine.h
46890         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46891         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46892         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46893         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46894         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46895         Likewise.
46896         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46897         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46898         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46899         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46900         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46901         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46902         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46903         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46904         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46905         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46906         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46907         (elf_machine_lazy_rel): Likewise.
46908         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46909         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46910         (elf_machine_lazy_rel): Likewise.
46911         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46912         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46913         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46914         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46915         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46916         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46917         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46919         Likewise.
46920         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46921         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46922         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46923         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46924         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46925         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46926         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46927         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46928         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46929         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46930         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46931         Likewise.
46932         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46933         (__posix_fallocate64_l64): Likewise.
46934         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46935         (posix_fallocate): Likewise.
46936         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46937         Likewise.
46938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46939         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46940         (getifaddrs_internal): Likewise.
46941         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46942         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46943         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46944         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46945         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46946         (__posix_fallocate64_l64): Likewise.
46947         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46948         Likewise.
46949         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46950         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46951         (__get_clockfreq): Likewise.
46952         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46953         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46954         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46956         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46957         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46958         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46959         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46960         Likewise.
46961         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46962         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46963         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46964         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46965         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46966         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46967         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46968         Likewise.
46969         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46970         (posix_fallocate): Likewise.
46971         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46972         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46973         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46974         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46975         (elf_machine_rela, elf_machine_rela_relative)
46976         (elf_machine_lazy_rel): Likewise.
46977         * time/asctime.c (asctime_internal): Likewise.
46978         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46979         * time/tzset.c (__tzset_parse_tz): Likewise.
46980         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46981         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46982         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46983         * wcsmbs/wcsmbsload.h: Likewise.
46985         [BZ #15894]
46986         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46988         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46989         (arena_get2): Remove THREAD_STATS conditionals.
46990         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46991         (__malloc_stats, int): Likewise.
46993 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46995         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46996         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46998         * manual/setjmp.texi: Fix typos/grammar errors.
47000         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47001         Only return early when n is <= 0.  Delete unused return statement.
47003         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47004         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47005         * debug/tst-longjmp_chk3.c: New file.
47007         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47008         (test_main): Replace code with set_fortify_handler call.
47009         * debug/test-strcpy_chk.c: Likewise.
47010         * debug/tst-chk1.c: Likewise.
47011         * debug/tst-longjmp_chk.c: Likewise.
47012         * test-skeleton.c: Include fcntl.h & paths.h
47013         (set_fortify_handler): Define.
47015         * debug/tst-longjmp_chk.c: Add header comment and include
47016         ../test-skeleton.c.
47017         (do_test): Mark static.
47018         (TEST_FUNCTION): Define.
47020         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47021         (IP_PMTUDISC_INTERFACE): Likewise.
47022         (IP_MULTICAST_IF): Likewise.
47023         (IP_MULTICAST_TTL): Likewise.
47024         (IP_MULTICAST_LOOP): Likewise.
47025         (IP_ADD_MEMBERSHIP): Likewise.
47026         (IP_DROP_MEMBERSHIP): Likewise.
47027         (IP_UNBLOCK_SOURCE): Likewise.
47028         (IP_BLOCK_SOURCE): Likewise.
47029         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47030         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47031         (IP_MSFILTER): Likewise.
47032         (MCAST_JOIN_GROUP): Likewise.
47033         (MCAST_BLOCK_SOURCE): Likewise.
47034         (MCAST_UNBLOCK_SOURCE): Likewise.
47035         (MCAST_LEAVE_GROUP): Likewise.
47036         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47037         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47038         (MCAST_MSFILTER): Likewise.
47039         (IP_MULTICAST_ALL): Likewise.
47040         (IP_UNICAST_IF): Likewise.
47042         * timezone/Makefile: Delete $(have-ksh) check.
47043         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47044         * timezone/tzselect.ksh: Add +x mode bits.
47046         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47047         (ANON_INODE_FS_MAGIC): Likewise.
47048         (BDEVFS_MAGIC): Likewise.
47049         (BINFMTFS_MAGIC): Likewise.
47050         (BTRFS_TEST_MAGIC): Likewise.
47051         (CRAMFS_MAGIC_WEND): Likewise.
47052         (DEBUGFS_MAGIC): Likewise.
47053         (ECRYPTFS_SUPER_MAGIC): Likewise.
47054         (EXT3_SUPER_MAGIC): Likewise.
47055         (EXT4_SUPER_MAGIC): Likewise.
47056         (FUTEXFS_SUPER_MAGIC): Likewise.
47057         (HOSTFS_SUPER_MAGIC): Likewise.
47058         (HUGETLBFS_MAGIC): Likewise.
47059         (MINIX3_SUPER_MAGIC): Likewise.
47060         (MTD_INODE_FS_MAGIC): Likewise.
47061         (NILFS_SUPER_MAGIC): Likewise.
47062         (OPENPROM_SUPER_MAGIC): Likewise.
47063         (PIPEFS_MAGIC): Likewise.
47064         (PSTOREFS_MAGIC): Likewise.
47065         (QNX6_SUPER_MAGIC): Likewise.
47066         (RAMFS_MAGIC): Likewise.
47067         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47068         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47069         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47070         (SECURITYFS_MAGIC): Likewise.
47071         (SELINUX_MAGIC): Likewise.
47072         (SMACK_MAGIC): Likewise.
47073         (SOCKFS_MAGIC): Likewise.
47074         (SQUASHFS_MAGIC): Likewise.
47075         (STACK_END_MAGIC): Likewise.
47076         (TMPFS_MAGIC): Likewise.
47077         (USBDEVICE_SUPER_MAGIC): Likewise.
47078         (V9FS_MAGIC): Likewise.
47079         (XENFS_SUPER_MAGIC): Likewise.
47080         (CRAMFS_MAGIC): Fix typo in comment.
47081         (EXT2_SUPER_MAGIC): Update comment.
47082         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47084 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47086         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47087         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47088         * sysdeps/unix/sysv/linux/arm: Move directory from
47089         ports/sysdeps/unix/sysv/linux/arm.
47090         * README: Update listing for arm-*-linux-gnueabi.
47092         * README: Remove mention of am33.
47094 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47096         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47097         than the comma operator, to avoid "rhs of comma has no effect"
47098         compiler warnings.
47099         (__sigfillset, __sigandset, __sigorset): Likewise.
47100         * include/signal.h (__sigemptyset): Likewise.
47101         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47103 2014-02-07  Allan McRae  <allan@archlinux.org>
47105         * version.h (RELEASE): Set to "development".
47106         (VERSION): Set to "2.19.90"
47107         * NEWS: Add 2.20 section.
47109 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47111         [BZ #16529]
47112         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47114 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47116         * manual/contrib.texi: Update entry for Carlos O'Donell,
47117         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47119 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47121         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47123         * sysdeps/unix/sysv/linux/kernel-features.h
47124         [__LINUX_KERNEL_VERSION >= 0x020621]
47125         (__ASSUME_PROC_PID_TASK_COMM): Define.
47127 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47129         [BZ #16398]
47130         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47131         conversion when destination buffer does not have enough space.
47132         * libio/tst-ftell-partial-wide.c: New test case.
47133         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47135         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47136         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47137         Leonard and Allan McRae.
47139 2014-02-04  David S. Miller  <davem@davemloft.net>
47141         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47142         32-bit.
47144 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47147         New file
47148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47149         New file
47150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47151         New file.
47152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47153         New file.
47154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47155         New file.
47156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47157         New file.
47158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47159         New file.
47160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47161         New file.
47162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47163         New file.
47164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47165         New file.
47166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47167         New file.
47168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47169         New file.
47170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47171         New file.
47173 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47175         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47176         * shlib-versions: Likewise.
47178 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47179             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47181         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47182         (abilist-pattern): New variable, set to %-le.abilist.
47184         * Makerules (abilist-pattern): New variable.
47185         (vpath): Use $(abilist-pattern) in place of %.abilist.
47186         (check-abi-% pattern rule): Likewise.
47187         (check-abi, update-abi): Likewise.
47189 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47193 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47195         * manual/startup.texi: Add next, previous, and top entries for
47196         the `Program Arguments' and `Environment Variables' nodes.
47198 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47200         * manual/macros.texi: Add comments before MTASC-safety macros.
47202         * manual/users.texi: Document MTASC-safety properties.
47204         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47205         (pthread_getspecific, pthread_setspecific): Format with
47206         @deftypefun, and add @safety note.
47207         * manual/signal.texi: Move comments that analyze the above
47208         functions to their home place.
47210 2014-02-03  Allan McRae  <allan@archlinux.org>
47212         * po/sl.po: Update Slovenian translation from translation project.
47214 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47216         * manual/time.texi (timegm): Add missing blank after @c.
47217         Reported by Joseph Myers <joseph@codesourcery.com>.
47219 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47221         * manual/check-safety.sh: New.
47222         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47224         * manual/terminal.texi: Document MTASC-safety properties.
47226         * manual/filesys.texi: Document MTASC-safety properties.
47228         * manual/errno.texi: Document MTASC-safety properties.
47230         * manual/intro.texi: Document safety identifiers and
47231         conditionals.
47233         * manual/string.texi (wcstok): Fix prototype.
47234         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47236         * manual/time.texi: Document MTASC-safety properties.
47238         * manual/string.texi: Document MTASC-safety properties.
47240         * manual/threads.texi: Document MTASC-safety properties.
47242         * manual/stdio.texi: Document MTASC-safety properties.
47244         * manual/syslog.texi: Document MTASC-safety properties.
47246         * manual/sysinfo.texi: Document MTASC-safety properties.
47248         * manual/startup.texi: Document MTASC-safety properties.
47250         * manual/socket.texi: Document MTASC-safety properties.
47252         * manual/signal.texi: Document MTASC-safety properties.
47254 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47256         * manual/setjmp.texi: Document MTASC-safety properties.
47258         * manual/search.texi: Document MTASC-safety properties.
47260         * manual/resource.texi: Document MTASC-safety properties.
47262         * manual/process.texi: Document MTASC-safety properties.
47264         * manual/platform.texi: Document MTASC-safety properties.
47266         * manual/pipe.texi: Document MTASC-safety properties.
47268         * manual/pattern.texi: Document MTASC-safety properties.
47270         * manual/message.texi: Document MTASC-safety properties.
47272         [BZ #12751]
47273         * manual/memory.texi: Document MTASC-safety properties.
47275         * manual/math.texi: Document MTASC-safety properties.
47277         * manual/locale.texi: Document MTASC-safety properties.
47279         * manual/llio.texi: Document MTASC-safety properties.
47281         * manual/libdl.texi: New.
47283         * manual/lang.texi: Document MTASC-safety properties.
47285         * manual/job.texi: Document MTASC-safety properties.
47287         * manual/getopt.texi: Document MTASC-safety properties.
47289         * manual/ctype.texi: Document MTASC-safety properties.
47291 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47293         [BZ #16046]
47294         * csu/libc-tls.c (static_map): Remove variable.
47295         (__libc_setup_tls): Use main executable's link map for TLS data.
47296         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47297         casing for LM_ID_BASE and GL(dl_nns).
47298         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47299         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47300         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47301         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47302         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47303         member.
47304         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47305         l_phnum members.
47307 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47309         * manual/debug.texi: Document MTASC-safety properties.
47311 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47313         [BZ #16510]
47314         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47315         of __x86_64__ when disabling x87 inline functions.
47317 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47319         * manual/charset.texi: Document MTASC-safety properties.
47321         * manual/crypt.texi: Document MTASC-safety properties.
47323         * manual/conf.texi: Document MTASC-safety properties.
47325         * manual/arith.texi: Document MTASC-safety properties.
47327         * manual/argp.texi: Document MTASC-safety properties.
47329         * manual/macros.texi: Introduce macros to document multi
47330         thread, asynchronous signal and asynchronous cancellation
47331         safety properties.
47332         * manual/intro.texi: Introduce the properties themselves.
47334 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47336         * sysdeps/sh/sh4/Makefile: New file.
47338 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47340         * math/gen-libm-test.pl ($srcdir): New variable.
47341         ($auto_input): Use it.
47343 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47345         [BZ #16506]
47346         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47347         access beyond array bounds when parsing netgroups file.
47349         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47350         the old buffer before realloc.
47352 2014-01-27  Allan McRae  <allan@archlinux.org>
47354         * po/fr.po: Update French translation from translation project.
47356 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47358         * sysdeps/sh/libm-test-ulps: Regenerate.
47360 2014-01-24  David S. Miller  <davem@davemloft.net>
47362         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47364 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47366         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47367         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47369 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47371         [BZ #16474]
47372         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47373         string pointers after reallocation.
47375 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47377         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47378         __SH4A__ instead of __SH_FPU_ANY__.
47380 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47382         * sysdeps/sh/fpu_control.h: New file.
47383         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47384         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47385         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47386         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47387         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47388         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47389         * sysdeps/sh/sys/ucontext.h: Remove.
47390         * sysdeps/sh/sys: Remove directory.
47392 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47394         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47395         s390/sys/ucontext.h.
47396         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47397         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47399 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47401         [BZ #15605]
47402         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47404 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47406         [BZ#16431]
47407         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47408         Adjust the vDSO correctly for internal calls.
47409         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47411 2014-01-20  Allan McRae  <allan@archlinux.org>
47413         * po/ca.po: Update Catalan translation from translation project.
47415 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47417         * sysdeps/s390/sotruss-lib.c: New file.
47419 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47421         [BZ#16430]
47422         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47423         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47424         local calls issues by not having a PLT stub required for IFUNC calls.
47425         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47427 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47429         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47430         * math/test-fpucw-static.c: Likewise.
47432 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47434         [BZ #16453]
47435         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47437 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47439         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47440         implementation for powerpc.
47442 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47444         [BZ #14782]
47445         * sysdeps/posix/system.c (__libc_system): Do not enable
47446         asynchronous cancellation.
47448 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47450         [BZ #16427]
47451         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47452         handling only for numbers special also in the IEEE case.
47454 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47456         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47458 2014-01-11  Allan McRae  <allan@archlinux.org>
47460         * po/bg.po: Update Bulgarian translation from translation project.
47462         * po/de.po: Update German translation from translation project.
47464 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47466         * sysdeps/generic/gcc-compat.h: New file.
47468 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47470         * benchtests/asin-inputs: Correct slow inputs.
47471         * benchtests/acos-inputs: Likewise.
47473 2014-01-10  Allan McRae  <allan@archlinux.org>
47475         * po:sv.po: Update Swedish translation from translation project.
47477         * po/vi.po: Update Vietnamese translation from translation project.
47479         * po/eo.po: Update Esperanto translation from translation project.
47481         * po/cs.po: Update Czech translation from translation project.
47483         * po/nl.po: Update Dutch translation from translation project.
47485         * po/pl.po: Update Polish translation from translation project.
47487         * po/ru.po: Update Russian translation from translation project.
47489         * po/uk.po: Update Ukrainian translation from translation project.
47491 2014-01-08  Brooks Moses  <bmoses@google.com>
47493         * elf/dl-load.c: Fix comment typo.
47495 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47497         * po/header.pot: Rename to...
47498         * po/pot.header: ... this.
47499         * po/Makefile: Use pot.header.
47501 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47502             Maxim Kuvyrkov  <maxim@kugelworks.com>
47504         [BZ #16394]
47505         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47506         SRC and DEST against LEN.
47508 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47510         [BZ #16414]
47511         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47512         implementation.
47513         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47515 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47519 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47521         [BZ #16408]
47522         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47523         for large positive arguments.
47525 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47527         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47529         * math/auto-libm-test-in: Mark various tests with
47530         xfail-rounding:ldbl-128ibm.
47531         * math/auto-libm-test-out: Regenerated.
47533         [BZ #16407]
47534         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47535         Increase overflow threshold.
47537 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47539         [BZ #14286]
47540         * stdio-common/vfprintf.c: Check for integer overflow.
47542 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47544         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47545         the first argument and return value of __tls_get_addr_internal.
47547 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47549         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47550         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47552 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47554         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47555         * sysdeps/s390/rtld-global-offsets.sym: New file.
47556         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47557         GLIBC_2.19 symbol.
47558         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47561         ... this.
47562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47564         ... this.
47565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47566         Regenerate.
47567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47568         Regenerate.
47569         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47570         halfs of GPRs for high_gprs contexts.
47571         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47572         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47573         field.
47574         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47575         uc_flags field.
47576         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47577         64 bit versions:
47578         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47579         for high GPRs (uc_high_gprs) and for future extensions
47580         (__reserved).
47581         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47582         for future extensions (__reserved).
47583         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47584         64 bit versions:
47585         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47586         SC_HIGHGPRS offset definition.
47587         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47588         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47590         * Versions.def: Add GLIBC_2.19 for libpthread.
47591         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47592         siglongjmp for libpthread with GLIBC_2.19 symver.
47593         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47594         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47595         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47596         * sysdeps/s390/__longjmp.c: New file.
47597         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47598         * sysdeps/s390/longjmp.c: New file.
47599         * sysdeps/s390/setjmp.S: New file.
47600         * sysdeps/s390/sigjmp.S: New file.
47601         * sysdeps/s390/v1-longjmp.c: New file.
47602         * sysdeps/s390/v1-setjmp.h: New file.
47603         * sysdeps/s390/v1-sigjmp.c: New file.
47604         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47605         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47606         GLIBC_2.19 version.
47607         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47608         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47609         versioned symbols for ____longjmp_chk.
47610         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47611         Likewise.
47612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47613         Regenerate.
47614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47615         Regenerate.
47616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47617         Regenerate.
47618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47619         Regenerate.
47620         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47621         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47622         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47623         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47624         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47625         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47626         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47627         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47628         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47629         * sysdeps/s390/rtld-__longjmp.c: New file.
47630         * sysdeps/s390/rtld-setjmp.S: New file.
47632 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47634         [BZ #16400]
47635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47636         Return -__logl (x) for small positive arguments without evaluating
47637         a polynomial.
47639 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47641         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47642         Rename to ...
47643         (__ptrace_peeksiginfo_args): ... this.
47644         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47645         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47646         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47648 2014-01-06  Allan McRae  <allan@archlinux.org>
47650         * inet/netinet/in.h: Fix typo in comment.
47652 2014-01-05  Andreas Jaeger  <aj@suse.de>
47654         * sysdeps/i386/fpu/libm-test-ulps: Update.
47656 2014-01-05  Allan McRae  <allan@archlinux.org>
47658         * po/libc.pot: Regenerated.
47660         * malloc/memusagestat.c: Fix gettext call formatting.
47662 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47664         * nscd/nscd.c: Improve usage() output.
47666 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47668         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47669         * sysdeps/unix/sysv/linux/configure: Regenerated.
47670         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47671         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47673 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47675         [BZ #16390]
47676         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47677         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47679 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47682         extra tokens at end of #undef directive.
47683         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47684         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47685         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47687 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47689         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47691         * math/auto-libm-test-in: Mark various tests with
47692         xfail-rounding:ldbl-128ibm.
47693         * math/auto-libm-test-out: Regenerated.
47695 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47697         [BZ #16386]
47698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47699         numbers with subnormal high part when calculating exponent.
47701         [BZ #16385]
47702         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47703         fabs.
47705         [BZ #16384]
47706         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47707         M_LN2l.
47708         (__ieee754_acoshl): Use __log1pl not __log1p.
47710 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47712         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47713         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47714         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47715         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47716         (reused_arena, arena_get2): Convert to GNU style.
47717         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47718         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47719         (memalign_check, __malloc_set_state): Likewise.
47720         * malloc/mallocbug.c (main): Likewise.
47721         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47722         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47723         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47724         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47725         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47726         (__posix_memalign, malloc_info): Likewise.
47727         * malloc/malloc.h: Likewise.
47728         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47729         (mallochook, memalignhook, reallochook, mabort): Likewise.
47730         * malloc/mcheck.h: Likewise.
47731         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47732         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47733         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47734         * malloc/morecore.c (__default_morecore): Likewise.
47735         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47736         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47737         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47738         (print_and_abort): Likewise.
47739         * malloc/obstack.h: Likewise.
47740         * malloc/set-freeres.c (__libc_freeres): Likewise.
47741         * malloc/tst-mallocstate.c (main): Likewise.
47742         * malloc/tst-mtrace.c (main): Likewise.
47743         * malloc/tst-realloc.c (do_test): Likewise.
47745 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         [BZ #16366]
47748         * nscd/netgroupcache.c (do_notfound): New function.
47749         (addgetnetgrentX): Use it.
47751         [BZ # 16365]
47752         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47753         NSS_STATUS_NOTFOUND.
47755 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47757         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47760 2014-01-01  Allan McRae  <allan@archlinux.org>
47762         * scripts/update-copyrights: Update configure input file suffix.
47764         * NEWS: Update copyright year.
47765         * catgets/gencat.c: Likewise.
47766         * csu/version.c: Likewise.
47767         * debug/catchsegv.sh: Likewise.
47768         * debug/pcprofiledump.c: Likewise.
47769         * debug/xtrace.sh: Likewise.
47770         * elf/ldconfig.c: Likewise.
47771         * elf/ldd.bash.in: Likewise.
47772         * elf/pldd.c: Likewise.
47773         * elf/sotruss.ksh: Likewise.
47774         * elf/sprof.c: Likewise.
47775         * iconv/iconv_prog.c: Likewise.
47776         * iconv/iconvconfig.c: Likewise.
47777         * locale/programs/locale.c: Likewise.
47778         * locale/programs/localedef.c: Likewise.
47779         * login/programs/pt_chown.c: Likewise.
47780         * malloc/memusage.sh: Likewise.
47781         * malloc/memusagestat.c: Likewise.
47782         * malloc/mtrace.pl: Likewise.
47783         * manual/libc.texinfo: Likewise.
47784         * nscd/nscd.c: Likewise.
47785         * nss/getent.c: Likewise.
47786         * nss/makedb.c: Likewise.
47787         * posix/getconf.c: Likewise.
47788         * scripts/test-installation.pl: Likewise.
47790         * All files with FSF copyright notices: Update copyright dates
47791         using scripts/update-copyrights.
47792         * intl/plural.c: Regenerated.
47793         * locale/programs/charmap-kw.h: Likewise.
47794         * locale/programs/locfile-kw.h: Likewise.
47796 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47798         * sysdeps/unix/sysv/linux/configure: Regenerated.
47799         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47800         the linux/fanotify.h header.
47801         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47802         HAVE_LINUX_FANOTIFY_H is defined.
47804 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47806         * benchtests/cos-inputs: New inputs.
47807         * benchtests/sin-inputs: Likewise.
47809         * benchtests/atan-inputs: New inputs. Fix name of multiple
47810         precision fallback inputs.
47812         * benchtests/atanh-inputs: New inputs.
47813         * benchtests/tanh-inputs: Likewise.
47815         * benchtests/acosh-inputs: New inputs.
47816         * benchtests/asinh-inputs: Likewise.
47818         * benchtests/cosh-inputs: New inputs.
47819         * benchtests/sinh-inputs: Likewise.
47821         * benchtests/acos-inputs: Add more inputs.
47822         * benchtests/asin-inputs: Likewise.
47824 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47826         [BZ #16375]
47827         * manual/arith.texi: Fix spelling.
47828         * manual/charset.texi: Likewise.
47829         * manual/errno.texi: Likewise.
47830         * manual/filesys.texi: Likewise.
47831         * manual/lang.texi: Likewise.
47832         * manual/llio.texi: Likewise.
47833         * manual/locale.texi: Likewise.
47834         * manual/message.texi: Likewise.
47835         * manual/resource.texi: Likewise.
47836         * manual/search.texi: Likewise.
47837         * manual/setjmp.texi: Likewise.
47838         * manual/stdio.texi: Likewise.
47839         * manual/string.texi: Likewise.
47840         * manual/sysinfo.texi: Likewise.
47841         * manual/time.texi: Likewise.
47843 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47845         * po/sl.po: New file.
47847 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47849         * .gitignore: Add core/.gdbinit/.gdb_history.
47851 2013-12-27  Allan McRae  <allan@archlinux.org>
47853         [BZ #16369]
47854         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47855         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47857 2013-12-24  Brooks Moses  <bmoses@google.com>
47859         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47860         all compilers that claim C++98 compliance, not just GCC.
47861         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47862         Likewise.
47864 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47866         * NEWS: Restore accidentally deleted bug-fix entries.
47868 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47869             Ondřej Bílka  <neleai@seznam.cz>
47871         [BZ #15073]
47872         * malloc/malloc.c (_int_free): Perform sanity check only if we
47873         have_lock.
47875 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47877         [BZ #12986]
47878         * manual/stdio.texi (String Input Conversions): Clarify that character
47879         classes are not supported.
47881 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47885 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47887         [BZ #16337]
47888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47889         Calculate results for small negative arguments directly rather
47890         than using reflection formula with special underflow handling.
47892         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47893         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47894         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47895         (fchflags): Likewise.
47896         (revoke): Likewise.
47897         (setlogin): Likewise.
47898         (sigaltstack): Likewise.
47899         (wait4): Likewise.
47900         (sigblock): Remove.
47901         (sigsetmask): Likewise.
47902         (wait3): Likewise.
47903         (waitpid): Likewise.
47904         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47905         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47906         file.
47907         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47908         * sysdeps/unix/bsd/Makefile: ... here.
47909         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47910         * sysdeps/unix/bsd/Versions: ... here.
47911         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47912         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47913         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47914         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47915         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47916         * sysdeps/unix/bsd/sigblock.c: ... here.
47917         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47918         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47919         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47920         * sysdeps/unix/bsd/sigvec.c: ... here.
47921         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47922         * sysdeps/unix/bsd/tcdrain.c: ... here.
47923         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47924         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47925         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47926         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47927         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47928         * sysdeps/unix/bsd/wait.c: ... here.
47929         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47930         * sysdeps/unix/bsd/wait3.c: ... here.
47931         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47932         * sysdeps/unix/bsd/waitpid.c: ... here.
47934 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47936         [BZ #16356]
47937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47938         round-to-nearest for [!USE_AS_EXPM1L].
47939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47940         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47941         more tests of exp and exp10.  Expect some exp10 tests to miss
47942         exceptions or fail in directed rounding modes.
47943         * math/auto-libm-test-out: Regenerated.
47944         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47945         (exp10_test_tonearest): New function.
47946         (exp10_towardzero_test_data): New array.
47947         (exp10_test_towardzero): New function.
47948         (exp10_downward_test_data): New array.
47949         (exp10_test_downward): New function.
47950         (exp10_upward_test_data): New array.
47951         (exp10_test_upward): New function.
47952         (main): Call the new functions.
47953         * sysdeps/i386/fpu/libm-test-ulps: Update.
47954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47956 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47958         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47959         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47960         * math/auto-libm-test-out: Regenerated.
47961         * math/libm-test.inc (acosh_test_data): Add more tests.
47962         (atanh_test_data): Likewise.
47963         (ceil_test_data): Likewise.
47964         (copysign_test_data): Likewise.
47965         * sysdeps/i386/fpu/libm-test-ulps: Update.
47966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47968         * timezone/checktab.awk: Update from tzcode 2013i.
47969         * timezone/private.h: Likewise.
47970         * timezone/scheck.c: Likewise.
47971         * timezone/tzfile.h: Likewise.
47972         * timezone/tzselect.ksh: Likewise.
47973         * timezone/zdump.c: Likewise.
47974         * timezone/zic.c: Likewise.
47976         * math/auto-libm-test-in: Add tests of cpow.
47977         * math/auto-libm-test-out: Regenerated.
47978         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47979         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47980         mpc_cc_c.
47981         (func_calc_desc): Add mpc_cc_c union field.
47982         (test_functions): Add cpow.
47983         (special_fill_2pi): New function.
47984         (special_real_inputs): Add 2pi.
47985         (calc_generic_results): Handle mpc_cc_c.
47986         * sysdeps/i386/fpu/libm-test-ulps: Update.
47987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47989         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47990         csqrt, ctan and ctanh.
47991         * math/auto-libm-test-out: Regenerated.
47992         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47993         (TEST_COND_x86): Likewise.
47994         (ccos_test_data): Use AUTO_TESTS_c_c.
47995         (ccosh_test_data): Likewise.
47996         (cexp_test_data): Likewise.
47997         (clog_test_data): Likewise.
47998         (csqrt_test_data): Likewise.
47999         (ctan_test_data): Likewise.
48000         (ctan_tonearest_test_data): Likewise.
48001         (ctan_towardzero_test_data): Likewise.
48002         (ctan_downward_test_data): Likewise.
48003         (ctan_upward_test_data): Likewise.
48004         (ctanh_test_data): Likewise.
48005         (ctanh_tonearest_test_data): Likewise.
48006         (ctanh_towardzero_test_data): Likewise.
48007         (ctanh_downward_test_data): Likewise.
48008         (ctanh_upward_test_data): Likewise.
48009         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48010         mpc_c_c.
48011         (func_calc_desc): Add mpc_c_c union field.
48012         (FUNC_mpc_c_c): New macro.
48013         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48014         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48015         ctanh.
48016         (special_fill_min_subnorm_p120): New function.
48017         (special_real_inputs): Add min_subnorm_p120.
48018         (calc_generic_results): Handle mpc_c_c.
48019         * sysdeps/i386/fpu/libm-test-ulps: Update.
48020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48022 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48024         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48025         (do_sin_slow): New functions.
48026         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48027         (cslow2, csloww1, csloww2): Use the new functions.
48029         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48030         Use M to change sign of result instead of X.  Assume X is
48031         positive.
48032         (csloww1): Likewise.
48033         (__sin): Adjust.
48034         (__cos): Adjust.
48036         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48037         arguments A and DA.
48038         (__sin): Adjust.
48039         (__cos): Likewise.
48041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48042         (__cos): Likewise.
48043         (sloww1): Don't adjust sign of DX.
48044         (csloww1): Likewise.
48045         (sloww2): Use X directly and don't adjust sign of DX.
48046         (csloww2): Likewise.
48048 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48050         * math/auto-libm-test-in: Add tests of cabs and carg.
48051         * math/auto-libm-test-out: Regenerated.
48052         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48053         (carg_test_data): Likewise.
48054         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48055         mpc_c_f.
48056         (func_calc_desc): Add mpc_c_f union field.
48057         (test_functions): Add cabs and carg.
48058         (calc_generic_results): Handle mpc_c_f.
48060         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48061         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48062         as a macro and a compat symbol.
48063         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48064         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48065         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48066         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48067         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48069         not use .hidden.
48070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48071         Likewise.
48072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48073         Likewise.
48074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48075         Likewise.
48076         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48077         Likewise.
48078         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48079         Likewise.
48080         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48081         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48082         from GLIBC_2.3.2.
48084 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48088 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48090         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48091         trailing whitespace removed.
48092         * scripts/config.guess: Update to version 2013-11-29.
48093         * scripts/config.sub: Update to version 2013-10-01.
48095         * math/auto-libm-test-in: Add tests of sincos.
48096         * math/auto-libm-test-out: Regenerated.
48097         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48098         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48099         mpfr_f_11.
48100         (func_calc_desc): Add mpfr_f_11 union field.
48101         (test_functions): Add sincos.
48102         (calc_generic_results): Handle mpfr_f_11.
48103         * sysdeps/i386/fpu/libm-test-ulps: Update.
48104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48106 2013-12-19  Andreas Schwab  <schwab@suse.de>
48108         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48109         CALL_MCOUNT.
48110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48111         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48112         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48114 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48116         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48117         * sysdeps/i386/fpu/libm-test-ulps: Update.
48118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48120         [BZ #16293]
48121         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48122         round-to-nearest mode when using frndint.
48123         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48124         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48125         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48126         Likewise.
48127         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48128         sinh test to fail.
48129         * math/auto-libm-test-out: Regenerated.
48130         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48131         (TEST_COND_x86): Likewise.
48132         (expm1_tonearest_test_data): New array.
48133         (expm1_test_tonearest): New function.
48134         (expm1_towardzero_test_data): New array.
48135         (expm1_test_towardzero): New function.
48136         (expm1_downward_test_data): New array.
48137         (expm1_test_downward): New function.
48138         (expm1_upward_test_data): New array.
48139         (expm1_test_upward): New function.
48140         (main): Run the new test functions.
48141         * sysdeps/i386/fpu/libm-test-ulps: Update.
48142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48144         * include/features.h: Update comment documenting feature test
48145         macros.  Mention _DEFAULT_SOURCE in comment.
48146         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48147         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48148         _BSD_SOURCE and _SVID_SOURCE.
48149         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48150         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48151         !_SVID_SOURCE]: Likewise.
48152         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48153         (__USE_POSIX_IMPLICITLY): Define.
48154         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48155         (_POSIX_SOURCE): Undefine and redefine.
48156         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48157         (_POSIX_C_SOURCE): Likewise.
48158         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48159         (Feature Test Macros): Update documentation of default features.
48161 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48163         * benchtests/Makefile: Add bench-strtok.
48164         * benchtests/bench-strtok.c: New file: strtok benchtest.
48166 2013-12-19  Allan McRae  <allan@archlinux.org>
48168         * manual/install.texi: Suppress menu for plain text output.
48169         * INSTALL: Regenerated.
48171 2013-12-18  Brooks Moses  <bmoses@google.com>
48173         [BZ #15846]
48174         * misc/getauxval.c: Include errno.h.
48175         (__getauxval): Set errno to ENOENT if the requested type is not
48176         found.
48177         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48178         don't declare with __attribute_const__.
48179         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48180         * manual/startup.texi: Document that getauxval sets errno.
48182 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48184         * math/auto-libm-test-in: Add tests of jn and yn.
48185         * math/auto-libm-test-out: Regenerated.
48186         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48187         (yn_test_data): Likewise.
48188         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48189         mpfr_if_f.
48190         (func_calc_desc): Add mpfr_if_f union field.
48191         (FUNC_mpfr_if_f): New macro.
48192         (test_functions): Add jn and yn.
48193         (calc_generic_results): Assert type of second input for
48194         mpfr_ff_f.  Handle mpfr_if_f.
48195         (output_for_one_input_case): Disable all checking for arguments
48196         fitting floating-point types in case of an integer argument.
48197         * sysdeps/i386/fpu/libm-test-ulps: Update.
48198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48201         Don't expect fegetround reference in libm.so.
48203 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48205         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48206         $(config-cflags-nofma).
48208 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48210         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48211         * math/auto-libm-test-out: Regenerated.
48213         [BZ #16338]
48214         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48215         to determine exponent and adjust argument to have exponent of -1.
48216         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48217         log2.
48218         * math/auto-libm-test-out: Regenerated.
48219         * sysdeps/i386/fpu/libm-test-ulps: Update.
48220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48222 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48224         * manual/probes.texi: Remove cases when per-thread arenas are
48225         disabled.
48227 2013-12-18  Andreas Schwab  <schwab@suse.de>
48229         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48230         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48231         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48232         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48233         * sysdeps/i386/i686/multiarch/Makefile: Update.
48234         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48236 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48238         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48239         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48241 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48243         [BZ #15968]
48244         Support TZ transition times < 00:00:00.
48245         This is needed for version-3 tz-format files; it supports time
48246         stamps past 2037 for America/Godthab (the only entry in the tz
48247         database for which this change is relevant).
48248         * manual/time.texi (TZ Variable): Document transition times
48249         from -167:59:59 through -00:00:01.
48250         * time/tzset.c (tz_rule): Time of day is now signed.
48251         (__tzset_parse_tz): Parse negative time of day.
48253         Document TZ transition times >= 25:00:00.
48254         * manual/time.texi (TZ Variable): Document transition times from
48255         25:00:00 through 167:59:59.  These are already supported, and this
48256         support will help with version-3 tz-format files.
48258         * manual/time.texi (TZ Variable): Modernize North America example
48259         to reflect current (i.e., 2007-and-later) daylight saving rules.
48261         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48263 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48265         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48266         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48269         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48270         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48271         * sysdeps/unix/bsd/clock.c: Likewise.
48272         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48273         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48274         * sysdeps/unix/bsd/init-posix.c: Likewise.
48275         * sysdeps/unix/bsd/poll.c: Likewise.
48276         * sysdeps/unix/bsd/ptsname.c: Likewise.
48277         * sysdeps/unix/bsd/seekdir.c: Likewise.
48278         * sysdeps/unix/bsd/setegid.c: Likewise.
48279         * sysdeps/unix/bsd/seteuid.c: Likewise.
48280         * sysdeps/unix/bsd/setgid.c: Likewise.
48281         * sysdeps/unix/bsd/setrgid.c: Likewise.
48282         * sysdeps/unix/bsd/setruid.c: Likewise.
48283         * sysdeps/unix/bsd/setsid.c: Likewise.
48284         * sysdeps/unix/bsd/setuid.c: Likewise.
48285         * sysdeps/unix/bsd/sigaction.c: Likewise.
48286         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48287         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48288         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48289         * sysdeps/unix/bsd/telldir.c: Likewise.
48290         * sysdeps/unix/bsd/times.c: Likewise.
48291         * sysdeps/unix/bsd/usleep.c: Likewise.
48293         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48294         ($(objpfx)libbsd-compat.a): Remove rule.
48296         * include/features.h (__FAVOR_BSD): Do not define.
48297         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48298         features conflicting with POSIX.
48299         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48300         (_BSD_SOURCE): Remove description of not being a subset of other
48301         feature test macros.
48302         * manual/job.texi (getpgrp): Do not document BSD version.
48303         (getpgid): Do not document by reference to BSD getpgrp.
48304         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48305         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48306         * signal/signal.h [__FAVOR_BSD]: Likewise.
48307         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48308         instead of making contents conditional on [__FAVOR_BSD].
48309         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48311 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48315 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48317         [BZ #16314]
48318         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48319         values below 2**-450, not 2**-500.
48320         * math/auto-libm-test-in: Don't allow spurious underflow from
48321         hypot.
48322         * math/auto-libm-test-out: Regenerated.
48324         [BZ #16316]
48325         [BZ #16330]
48326         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48327         values of ha and hb and sort them after adjusting subnormal
48328         arguments.
48329         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48330         Likewise.
48331         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48332         values of ea and eb and sort them after adjusting subnormal
48333         arguments.
48334         * math/auto-libm-test-in: Do not expect some hypot tests of
48335         subnormals to fail.  Add more hypot tests.
48336         * math/auto-libm-test-out: Regenerated.
48338 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48340         [BZ #13304]
48341         * sysdeps/sh/s_fma.c: New file.
48342         * sysdeps/sh/s_fmaf.c: New file.
48343         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48344         version.
48345         * sysdeps/sh/Implies: Add sh/soft-fp.
48347 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48349         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48350         level of indirection to members `objname', `errstring', `malloced'.
48351         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48352         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48353         it as the __longjmp argument (just pass 1 instead).
48354         (_dl_catch_error): Initialize C with argument pointers and address of
48355         volatile local ERRCODE rather than copying values out of C at return.
48357 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48359         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48360         * math/auto-libm-test-out: Regenerated.
48361         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48362         (hypot_test_data): Likewise.
48363         (pow_test_data): Likewise.
48364         (pow_tonearest_test_data): Likewise.
48365         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48366         mpfr_ff_f.
48367         (func_calc_desc): Add mpfr_ff_f union field.
48368         (FUNC_mpfr_ff_f): New macro.
48369         (test_functions): Add atan2, hypot and pow.
48370         (special_fill_min): New function.
48371         (special_fill_minus_min): Likewise.
48372         (special_fill_min_subnorm): Likewise.
48373         (special_fill_minus_min_subnorm): Likewise.
48374         (special_real_inputs): Add min, -min, min_subnorm and
48375         -min_subnorm.
48376         (calc_generic_results): Handle mpfr_ff_f.
48377         * sysdeps/i386/fpu/libm-test-ulps: Update.
48378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48380 2013-12-16  Will Newton  <will.newton@linaro.org>
48382         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48383         (Aligned Memory Blocks): Add documentation for aligned_alloc
48384         and suggest it as an alternative to posix_memalign.
48385         (Hooks for Malloc): Document __memalign_hook is also called
48386         for aligned_alloc.  (Summary of Malloc): Add summary for
48387         aligned alloc.  Document __memalign_hook is also called
48388         for aligned_alloc.
48390 2013-12-16  Will Newton  <will.newton@linaro.org>
48392         * manual/memory.texi (Malloc Examples): Clarify default
48393         alignment documentation.  Suggest posix_memalign rather
48394         than memalign or valloc.
48395         (Aligned Memory Blocks): Remove suggestion to use memalign
48396         or valloc.  Remove obsolete comment about BSD.
48397         Document memalign errno values and mark the function obsolete.
48398         Document posix_memalign returned error codes.  Mark valloc
48399         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48400         called for posix_memalign and valloc.
48401         (Summary of Malloc): Add posix_memalign to function summary.
48402         __memalign_hook is also called for posix_memalign and valloc.
48404 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48406         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48407         TAYLOR_SIN.
48408         (__sin): Adjust.
48409         (__cos): Likewise.
48410         (sloww): Use mynumber union.  Expand ternary operator into
48411         if-else statements.
48412         (cslow): use mynumber union.
48414 2013-12-16  Allan McRae  <allan@archlinux.org>
48416         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48417         * configure: Regenerated.
48419         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48421         [BZ #14120]
48422         * configure.ac: Added --enable-maintainer-mode. Check for
48423         autoconf when enabled.
48424         * configure: Regenerated.
48426         * nscd/nscd.service: New file.
48427         * nscd/nscd.tmpfiles: New file.
48429 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48431         [BZ #12100]
48432         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48433         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48434         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48435         (strstr): Add __strstr_sse2_unaligned ifunc.
48436         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48437         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48438         (strcasestr): Remove __strcasestr_sse42 ifunc.
48439         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48441         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48443 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48445         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48446         * sysdeps/sh/bits/fenv.h: ... here.
48447         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48449 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48451         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48454         hypotf multiarch implementations.
48455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48458         multiarch hypot for PPC64.
48459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48462         multiarch hypotf for PPC64.
48464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48465         modff multiarch implementations.
48466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48469         multiarch modf for PPC64.
48470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48473         multiarch modff for PPC64.
48475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48476         and logl multiarch implementations.
48477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48480         multiarch logb for PPC64.
48481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48484         multiarch logb for PPC64.
48485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48488         multiarch logb for PPC64.
48490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48491         isinff multiarch implementation.
48492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48493         file.
48494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48496         multiarch isinf for PPC64.
48497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48498         file.
48499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48500         multiarch isinff for PPC64.
48502         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48503         finitef multiarch implementation.
48504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48505         file.
48506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48508         multiarch finite for PPC64.
48509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48510         file.
48511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48512         multiarch finitef for PPC64.
48514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48515         lrint multiarch implementation.
48516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48517         file.
48518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48520         multiarch llrint for PPC64.
48521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48522         multiarch lrint for PPC64.
48524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48525         copysignf multiarch implementation.
48526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48527         file.
48528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48529         file.
48530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48531         multiarch copysign for PPC64.
48532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48533         multiarch copysignf for PPC64.
48535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48536         multiarch implementation.
48537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48538         file.
48539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48540         file.
48541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48542         file.
48543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48544         file.
48545         multiarch llround for PPC64.
48546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48547         multiarch trunc for PPC64.
48548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48549         multiarch truncf for PPC64.
48551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48552         multiarch implementation.
48553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48554         file.
48555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48556         file.
48557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48558         file.
48559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48560         file.
48561         multiarch llround for PPC64.
48562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48563         multiarch round for PPC64.
48564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48565         multiarch roundf for PPC64.
48567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48568         multiarch implementation.
48569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48570         file.
48571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48572         file.
48573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48574         file.
48575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48576         file.
48577         multiarch llround for PPC64.
48578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48579         multiarch floor for PPC64.
48580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48581         multiarch floorf for PPC64.
48583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48584         multiarch implementation.
48585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48586         file.
48587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48588         file.
48589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48590         file.
48591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48592         file.
48593         multiarch llround for PPC64.
48594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48595         multiarch ceil for PPC64.
48596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48597         multiarch ceilf for PPC64.
48599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48600         multiarch implementation.
48601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48602         file.
48603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48604         file.
48605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48606         file.
48607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48608         multiarch llround for PPC64.
48609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48610         multiarch lround for PPC64.
48612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48613         multiarch implementation.
48614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48617         file.
48618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48621         multiarch isnan for PPC64.
48622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48623         multiarch isnanf for PPC64.
48625         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48626         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48627         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48628         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48629         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48632         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48633         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48638         multiarch implementations.
48639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48640         (__libc_ifunc_impl_list): Likewise.
48641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48644         multiarch stpcpy for PPC64.
48646         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48647         multiarch implementations.
48648         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48649         (__libc_ifunc_impl_list): Likewise.
48650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48652         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48653         multiarch strcpy for PPC64.
48655         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48656         redefine function name.
48657         (_wordcopy_fwd_dest_aligned): Likewise.
48658         (_wordcopy_bwd_aligned): Likewise.
48659         (_wordcopy_bwd_dest_aligned): Likewise.
48660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48661         multiarch implementations.
48662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48663         (__libc_ifunc_impl_list): Likewise.
48664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48668         multiarch wcscpy for PPC64.
48670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48671         multiarch implementations.
48672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48673         (__libc_ifunc_impl_list): Likewise.
48674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48677         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48678         multiarch wcscpy for PPC64.
48680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48681         multiarch implementations.
48682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48683         (__libc_ifunc_impl_list): Likewise.
48684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48687         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48688         multiarch wcsrchr for PPC64.
48690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48691         multiarch implementations.
48692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48693         (__libc_ifunc_impl_list): Likewise.
48694         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48696         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48697         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48698         multiarch wcschr for PPC64.
48700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48701         multiarch implementations.
48702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48703         (__libc_ifunc_impl_list): Likewise.
48704         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48707         multiarch strchrnul for PPC64.
48709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48710         implementations.
48711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48712         (__libc_ifunc_impl_list): Likewise.
48713         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48714         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48715         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48716         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48717         strchr for PPC64.
48719         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48720         implementations.
48721         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48722         (__libc_ifunc_impl_list): Likewise.
48723         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48725         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48726         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48727         strncmp for PPC64.
48729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48730         multiarch implementations.
48731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48732         (__libc_ifunc_impl_list): Likewise.
48733         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48734         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48735         strncasecmp for PPC64.
48736         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48737         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48738         multiarch strncasecmp_l for PPC64.
48740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48741         multiarch implementations.
48742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48743         (__libc_ifunc_impl_list): Likewise.
48744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48746         multiarch strcasecmp for PPC64.
48747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48748         file.
48749         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48750         multiarch strcasecmp_l for PPC64.
48752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48753         implementations.
48754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48755         (__libc_ifunc_impl_list): Likewise.
48756         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48757         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48758         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48759         strnlen for PPC64.
48761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48762         implementations.
48763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48764         (__libc_ifunc_impl_list): Likewise.
48765         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48766         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48767         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48768         strlen for PPC64.
48770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48771         implementations.
48772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48773         (__libc_ifunc_impl_list): Likewise.
48774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48776         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48777         rawmemrchr for PPC64.
48779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48780         implementation.
48781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48782         (__libc_ifunc_impl_list): Likewise.
48783         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48784         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48785         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48786         memrchr for PPC64.
48788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48789         implementation.
48790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48791         (__libc_ifunc_impl_list): Likewise.
48792         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48793         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48794         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48795         memchr for PPC64.
48797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48798         implementation.
48799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48800         (__libc_ifunc_impl_list): Likewise.
48801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48804         mempcpy for PPC64.
48806         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48807         avoid cretion of __bzero symbol.
48808         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48809         Likewise.
48810         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48811         Likewise.
48812         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48813         Likewise.
48814         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48815         multiarch implementations.
48816         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48817         (__libc_ifunc_impl_list): Likewise.
48818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48821         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48822         bzero for PPC32.
48823         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48824         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48825         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48826         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48827         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48828         memset for PPC64.
48829         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48831         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48832         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48833         implementations.
48834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48835         (__libc_ifunc_impl_list): Likewise.
48836         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48838         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48839         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48840         memcmp for PPC64.
48842         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48843         multiarch for POWER/PPC64.
48844         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48845         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48852         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48853         memcpy for PPC64.
48855         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48856         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48857         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48858         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48859         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48860         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48861         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48862         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48863         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48864         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48865         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48866         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48867         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48868         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48869         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48878 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48882 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48884         * benchtests/Makefile (bench): Add exp2 and log2.
48885         (LDLIBS-bench-exp2): Add -lm.
48886         (LDLIBS-bench-log2): Likewise.
48887         * benchtests/exp2-inputs: New inputs file.
48888         * benchtests/log2-inputs: New inputs file.
48889         * benchtests/log-inputs: Add new inputs.
48890         * benchtests/tan-inputs: Likewise.
48892 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48894         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48895         definition...
48896         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48897         (csloww2): ... from here.
48899         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48900         instead of structures.
48901         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48902         (POLYNOMIAL): Likewise.
48903         (TAYLOR_SLOW): Likewise.
48904         (__sin): Likewise.
48905         (__cos): Likewise.
48906         (slow1): Likewise.
48907         (slow2): Likewise.
48908         (sloww): Likewise.
48909         (sloww1); Likewise.
48910         (sloww2): Likewise.
48911         (bsloww1): Likewise.
48912         (bsloww2): Likewise.
48913         (cslow2): Likewise.
48914         (csloww): Likewise.
48915         (csloww1): Likewise.
48916         (csloww2): Likewise.
48918 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48920         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48921         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48922         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48923         * malloc/hooks.c (realloc_check): Likewise.
48925         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48926         * malloc/arena.c: Remove PER_THREAD conditional.
48927         [!PER_THREAD]: Remove code.
48928         (ptmalloc_unlock_all2): Likewise.
48929         (ptmalloc_init): Likewise.
48930         (_int_new_arena): Likewise.
48931         (arena_get2): Likewise.
48932         * malloc/hooks.c (__malloc_get_state): Likewise.
48933         (__malloc_set_state): Likewise.
48934         * malloc/malloc.c: Likewise.
48935         (struct malloc_state): Likewise.
48936         (struct malloc_par): Likewise.
48937         (__libc_realloc): Likewise.
48938         (__libc_mallopt): Likewise.
48940 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48942         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48944 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48946         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48947         macro to a function.  Check for zero perturb_byte.
48948         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48950         * malloc/malloc.c: (force_reg): Remove.
48951         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48952         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48953         force_reg by atomic_forced_read.
48954         * malloc/arena.c (ptmalloc_init): Likewise.
48955         * malloc/hooks.c (top_check): Likewise.
48957 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48961 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48965 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48967         * math/auto-libm-test-in: Add tests of lgamma.
48968         * math/auto-libm-test-out: Regenerated.
48969         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48970         (M_LOG_2_SQRT_PIl): Likewise.
48971         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48972         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48973         mpfr_f_f1.
48974         (func_calc_desc): Add mpfr_f_f1 union field.
48975         (ARGS1): New macro.
48976         (ARGS2): Likewise.
48977         (ARGS3): Likewise.
48978         (ARGS4): Likewise.
48979         (RET1): Likewise.
48980         (RET2): Likewise.
48981         (CALC): Likewise.
48982         (FUNC): Likewise.
48983         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48984         (test_functions): Add lgamma.
48985         (calc_generic_results): Handle mpfr_f_f1.
48986         * sysdeps/i386/fpu/libm-test-ulps: Update.
48987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48989 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48991         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48992         __mpn_add_n for PowerPC64/POWER7.
48993         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48994         __mpn_sub_n for PowerPC64/POWER7.
48996         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48997         __mpn_addmul_1 for PowerPC64.
48998         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48999         __mpn_submul_1 for PowerPC64.
49000         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49001         for PowerPC64.
49002         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49003         for PowerPC64.
49005 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49007         [BZ #15089]
49008         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49012         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49014         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49015         add multiarch folders.
49016         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49017         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49018         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49019         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49020         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49021         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49022         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49023         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49024         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49025         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49026         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49035         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49037         New file.
49038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49039         New file.
49040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49041         multiarch __ieee754_hypot for PowerPC32.
49042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49043         New file.
49044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49045         New file.
49046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49047         multiarch __ieee754_hypotf for PowerPC32.
49049         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49050         long_double_symbol only if __logbl is defined.
49051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49052         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49054         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49055         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49056         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49058         path for implementation.
49059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49062         logb, and logbl multiarch implementations for PowerPC32.
49063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49064         file.
49065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49066         file.
49067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49068         multiarch logb for PowerPC32.
49069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49070         file.
49071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49072         file.
49073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49074         multiarch logbf for PowerPC32.
49075         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49077         file.
49078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49079         multiarch logbl implementation for PowerPC32.
49081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49082         and modff multiarch implementations.
49083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49084         New file.
49085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49086         New file.
49087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49088         multiarch modf for PowerPC32.
49089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49090         New file.
49091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49092         New file.
49093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49094         multiarch modff for PowerPC32.
49096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49097         and lrintf multiarch implementations.
49098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49099         New file.
49100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49101         New file.
49102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49103         multiarch lrint for PowerPC32.
49104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49105         file: multiarch lrintf for PowerPC32.
49107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49108         and lroundf multiarch implementations.
49109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49110         New file.
49111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49112         New file.
49113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49114         New file.
49115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49116         multiarch lround for PowerPC32.
49117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49118         file: multiarch lroundf for PowerPC32.
49120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49121         copysign and copysignf multiarch implementations.
49122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49123         New file.
49124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49125         New file.
49126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49127         file: multiarch copysign for PowerPC32.
49128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49129         file: multiarch copysignf for PowerPC32.
49131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49132         and truncf multiarch implementations.
49133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49134         New file.
49135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49136         file.
49137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49138         multiarch trunc for PowerPC32.
49139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49140         New file.
49141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49142         New file.
49143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49144         multiarch truncf for PowerPC32.
49146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49147         and roundf multiarch implementations.
49148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49149         New file.
49150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49151         file.
49152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49153         multiarch round for PowerPC32.
49154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49155         New file.
49156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49157         New file.
49158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49159         multiarch roundf for PowerPC32.
49161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49162         and floorf multiarch implementations.
49163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49164         New file.
49165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49166         file.
49167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49168         multiarch floor for PowerPC32.
49169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49170         New file.
49171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49172         New file.
49173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49174         multiarch floorf for PowerPC32.
49176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49177         and ceilf multiarch implementations.
49178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49179         New file.
49180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49181         file.
49182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49183         multiarch ceil for PowerPC32.
49184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49185         New file.
49186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49187         file.
49188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49189         multiarch ceilf for PowerPC32.
49191         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49192         is defined.
49193         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49194         FINITEF is defined.
49195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49196         and finitef multiarch implementations.
49197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49198         New file.
49199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49200         file.
49201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49202         multiarch finite for PowerPC32.
49203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49204         New file.
49205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49206         file: multiarch finitef for PowerPC32.
49208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49209         and isinff multiarch implementations.
49210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49211         file.
49212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49213         file.
49214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49215         multiarch isinf for PowerPC32.
49216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49217         New file.
49218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49219         multiarch isinff for PowerPC32.
49221         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49222         alias when __isnan is defined.
49223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49224         and isnanf multiarch implementations.
49225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49226         file.
49227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49228         file.
49229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49230         file.
49231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49232         file.
49233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49234         multiarch isnan for PowerPC32.
49235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49236         New file.
49237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49238         New file.
49239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49240         multiarch isnanf for PowerPC32.
49242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49243         and sqrtf multiarch implementations.
49244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49245         file.
49246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49247         file.
49248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49249         multiarch sqrt for PowerPC32.
49250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49251         file.
49252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49253         file.
49254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49255         multiarch sqrtf for PowerPC32.
49257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49258         and llroundf multiarch implementations.
49259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49260         New file.
49261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49262         New file.
49263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49264         New file.
49265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49266         file: multiarch llround for PowerPC32.
49267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49268         file: multiarch llroundf for PowerPC32.
49270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49271         multiarch PowerPC32 fpu implementations.
49272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49273         New file.
49274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49275         New file.
49276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49277         multiarch llrint for PowerPC32.
49278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49279         New file.
49280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49281         New file.
49282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49283         file.
49285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49288         file.
49289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49290         file.
49291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49292         file.
49293         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49294         multiarch wordcopy for PPC32.
49295         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49296         wordcopy objects.
49297         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49298         (__libc_ifunc_impl_list): Likewise.
49299         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49300         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49301         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49302         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49303         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49304         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49306         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49308         file.
49309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49310         file.
49311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49312         file.
49313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49314         multiarch wcscpy for PPC32.
49315         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49316         multiarch objects.
49317         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49318         (__libc_ifunc_impl_list): Likewise.
49319         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49320         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49321         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49322         sysdeps/powerpc/power6/wcscpy.c.
49324         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49326         file.
49327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49328         file.
49329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49330         file.
49331         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49332         multiarch wcsrchr for PPC32.
49333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49334         multiarch objects.
49335         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49336         (__libc_ifunc_impl_list): Likewise.
49337         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49338         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49339         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49340         sysdeps/powerpc/power6/wcsrchr.c.
49342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49343         file.
49344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49345         file.
49346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49348         multiarch wcschr for PPc32.
49349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49350         multiarch objects.
49351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49352         (__libc_ifunc_impl_list): Likewise.
49353         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49354         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49355         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49356         sysdeps/powerpc/power6/wcschr.c.
49358         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49359         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49360         file.
49361         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49362         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49363         file: multiarch strchr for PPC32.
49364         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49365         multiarch objects.
49366         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49367         (__libc_ifunc_impl_list): Likewise.
49369         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49370         name.
49371         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49372         file.
49373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49374         file.
49375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49376         multiarch strchrnul for PPC32.
49377         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49378         multiarch objects.
49379         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49380         (__libc_ifunc_impl_list): Likewise.
49382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49383         file.
49384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49385         multiarch strncasecmp for PPC32.
49386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49387         file.
49388         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49389         multiarch strncasecmp_l for PPC32.
49390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49391         strncasecmp multiarch objects.
49392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49393         (__libc_ifunc_impl_list): Likewise.
49395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49396         file.
49397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49398         multiarch strncasecmp for PPC32.
49399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49400         New file.
49401         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49402         multiarch strcasecmp_l for PPC32.
49403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49404         multiarch objects.
49405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49406         (__libc_ifunc_impl_list): Likewise.
49408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49409         file.
49410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49411         file.
49412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49413         multiarch strncmp for PPC32.
49414         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49415         multiarch objects.
49416         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49417         (__libc_ifunc_impl_list): Likewise.
49419         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49420         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49421         file.
49422         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49423         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49425         multiarch objects.
49426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49427         (__libc_ifunc_impl_list): Likewise.
49429         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49430         file.
49431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49432         file.
49433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49434         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49435         multiarch objects.
49436         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49437         (__libc_ifunc_impl_list): Likewise.
49439         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49440         file.
49441         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49442         file.
49443         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49444         multiarch rawmemchr for PPC32.
49445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49446         multiarch objects.
49447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49448         (__libc_ifunc_impl_list): Likewise.
49450         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49451         file.
49452         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49453         file.
49454         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49455         file: memrchr multiarch for PPC32.
49456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49457         multiarch objects.
49458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49459         (__libc_ifunc_impl_list): Likewise.
49461         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49463         file.
49464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49466         multiarch memchr for PPC32.
49467         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49468         multiarch objects.
49469         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49470         (__libc_ifunc_impl_list): Likewise.
49472         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49473         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49474         file.
49475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49476         file.
49477         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49478         file: multiarch mempcpy for PPC32.
49479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49480         multiarch objects.
49481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49482         (__libc_ifunc_impl_list): Likewise.
49484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49488         multiarch bzero for PPC32.
49489         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49490         file.
49491         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49492         file.
49493         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49494         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49495         file: multiarch memset for PPC32.
49496         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49498         memset multiarch objects.
49499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49500         (__libc_ifunc_impl_list): Likewise.
49502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49503         file.
49504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49505         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49506         memcmp for PPC32.
49507         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49509         multiarch objects.
49510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49511         (__libc_ifunc_impl_list): Likewise.
49513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49516         file.
49517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49518         file.
49519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49520         file.
49521         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49522         multiarch memcpy for PPC32.
49523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49524         multiarch objects.
49525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49526         (__libc_ifunc_impl_list): Likewise.
49528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49529         support multiarch for POWER/PPC32.
49530         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49531         Likewise.
49532         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49534         Implies file to make multiarch folder appers before the fpu and
49535         default folder for power4 configuration.
49537 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49539         * scripts/bench.pl: Append volatile keyword to type.
49541 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49543         * sysdeps/sh/sotruss-lib.c: New file.
49544         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49546 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49550 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49552         [BZ #6810]
49553         * math/w_tgamma.c: Include <errno.h>.
49554         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49555         * math/w_tgammaf.c: Include <errno.h>.
49556         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49557         * math/w_tgammal.c: Include <errno.h>.
49558         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49559         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49560         underflow.  Add more tgamma tests.
49561         * math/auto-libm-test-out: Regenerated.
49562         * sysdeps/i386/fpu/libm-test-ulps: Update.
49563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49565         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49566         sin, sinh, tan, tanh, tgamma, y0 and y1.
49567         * math/auto-libm-test-out: Regenerated.
49568         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49569         (TEST_COND_x86): Likewise.
49570         (M_E2l): Remove macro.
49571         (M_E3l): Likewise.
49572         (M_2_SQRT_PIl): Likewise.
49573         (M_SQRT_PIl): Likewise.
49574         (M_1_DIV_El): Likewise.
49575         (log_test_data): Use AUTO_TESTS_f_f.
49576         (log10_test_data): Likewise.
49577         (log1p_test_data): Likewise.
49578         (log2_test_data): Likewise.
49579         (sin_test_data): Likewise.
49580         (sin_tonearest_test_data): Likewise.
49581         (sin_towardzero_test_data): Likewise.
49582         (sin_downward_test_data): Likewise.
49583         (sin_upward_test_data): Likewise.
49584         (sinh_test_data): Likewise.
49585         (sinh_tonearest_test_data): Likewise.
49586         (sinh_towardzero_test_data): Likewise.
49587         (sinh_downward_test_data): Likewise.
49588         (sinh_upward_test_data): Likewise.
49589         (tan_test_data): Likewise.
49590         (tan_tonearest_test_data): Likewise.
49591         (tan_towardzero_test_data): Likewise.
49592         (tan_downward_test_data): Likewise.
49593         (tan_upward_test_data): Likewise.
49594         (tanh_test_data): Likewise.
49595         (tgamma_test_data): Likewise.
49596         (y0_test_data): Likewise.
49597         (y1_test_data): Likewise.
49598         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49599         (special_real_inputs): Add pi/4.
49600         * sysdeps/i386/fpu/libm-test-ulps: Update.
49601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49603 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49605         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49606         "longjmp_target" static probes.
49607         (__longjmp): Rename to __longjmp_symbol.
49608         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49609         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49610         on which longjmp to generate.
49611         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49613         probe.
49614         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49615         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49616         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49617         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49618         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49619         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49621         __longjmp_symbol based on which __longjmp to generate.
49622         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49623         probe.
49624         (setjmp): Rename to setjmp_symbol.
49625         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49626         (_setjmp): Rename to _setjmp_symbol.
49627         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49628         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49629         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49630         which setjmp to generate.
49631         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49632         "longjmp_target" static probes.
49634 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49636         * benchtests/README: Add note about output arguments.
49637         * benchtests/bench-sincos.c: Remove file.
49638         * benchtests/sincos-inputs: New file.
49639         * scripts/bench.pl: Identify output arguments and define
49640         static variables for them.
49642         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49644         [BZ #15941]
49645         * Makefile (INSTALL): Add install-plain.texi as the primary
49646         dependency.
49647         * manual/install-plain.texi: New file.
49648         * manual/install.texi: Include node directive only for
49649         non-plaintext output.
49651 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49653         * stdlib/longlong.h: Update from GCC.
49655         [BZ #6807]
49656         [BZ #15901]
49657         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49658         * math/w_j0f.c (y0f): Likewise.
49659         * math/w_j0l.c (__y0l): Likewise.
49660         * math/w_j1.c (y1): Likewise.
49661         * math/w_j1f.c (y1f): Likewise.
49662         * math/w_j1l.c (__y1l): Likewise.
49663         * math/w_jn.c (yn): Likewise.
49664         * math/w_jnf.c (ynf): Likewise.
49665         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49666         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49667         value for Bessel function domain errors outside _SVID_ mode.
49668         Adjust sign of return value for yn (negative integer, 0).
49669         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49670         by zero in return for negative x and set sign appropriately for
49671         negative n.
49672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49673         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49674         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49675         expectations in error cases.
49676         (y1_test_data): Likewise.
49677         (yn_test_data): Likewise.
49678         * sysdeps/i386/fpu/libm-test-ulps: Update.
49679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49681 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49683         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49684         "64" to "64-v1".  Add "64-v2".
49685         (abi-64-options): Rename to ...
49686         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49687         (abi-64-condition): Rename to ...
49688         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49689         (abi-64-ld-soname): Rename to ...
49690         (abi-64-v1-ld-soname): ... this.
49691         (abi-64-v2-options): Define.
49692         (abi-64-v2-condition): Likewise.
49693         (abi-64-v2-ld-soname): Likewise.
49694         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49695         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49700 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49701             Alan Modra  <amodra@gmail.com>
49703         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49704         New versions for use with the ELFv2 ABI.
49705         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49706         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49707         declaration.
49708         (struct La_ppc64v2_retval): Likewise.
49709         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49710         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49711         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49712         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49713         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49714         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49715         Do not save or restore CR.
49716         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49717         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49718         return values for ELFv2 ABI.  Fix location of FPR return registers.
49719         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49720         updated values for _CALL_ELF == 2.
49721         (La_regs, La_retval, int_retval): Likewise.
49723 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49725         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49726         (FRAME_MIN_SIZE_PARM): Likewise.
49727         (FRAME_BACKCHAIN): Likewise.
49728         (FRAME_CR_SAVE): Likewise.
49729         (FRAME_LR_SAVE): Likewise.
49730         (FRAME_TOC_SAVE): Likewise.
49731         (FRAME_PARM_SAVE): Likewise.
49732         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49733         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49734         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49735         (call_mcount_parm_offset): New macro.
49736         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49737         (PROF): Use symbolic stack frame offsets.
49738         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49739         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49740         Redefine in terms of FRAME_MIN_SIZE.
49741         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49742         (_dl_profile_resolve): Likewise.  Update comment.
49743         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49744         symbols stack frame offsets.
49745         (__sigsetjmp): Likewise.
49746         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49747         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49748         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49749         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49752         (FRAME_BACKCHAIN): Remove.
49753         (FRAME_CR_SAVE): Likewise.
49754         (FRAME_LR_SAVE): Likewise.
49755         (FRAME_COMPILER_DW): Likewise.
49756         (FRAME_LINKER_DW): Likewise.
49757         (FRAME_TOC_SAVE): Likewise.
49758         (FRAME_PARM_SAVE): Likewise.
49759         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49760         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49761         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49763         (CHECK_SP): Use symbolic stack frame offsets.
49764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49765         zone" instead of caller's parameter save area for temp storage.
49766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49767         Likewise.  Also, use symbolic stack frame offsets.
49768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49769         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49770         our own stack frame instead of the caller's.
49771         (__socket): Use symbolic stack frame offsets.
49773 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49774             Alan Modra  <amodra@gmail.com>
49776         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49777         Define.
49778         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49779         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49780         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49781         New function.
49782         (elf_machine_fixup_plt): Call it.
49783         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49784         reloc arguments.
49785         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49786         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49787         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49788         r2 before calling target.
49790 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49791             Alan Modra  <amodra@gmail.com>
49793         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49794         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49795         versions of macros to support ELFv2 ABI.
49796         (LOCALENTRY): New macro.
49797         (ENTRY, EALIGN): Use it.
49798         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49799         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49800         fall through into ENTRY entry point.
49801         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49802         Only define if _CALL_ELF != 2.
49804         (elf_machine_matches_host): Verify ABI version matches.
49805         (RTLD_START): Use LOCALENTRY.
49806         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49807         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49808         (PLT_ENTRY_WORDS): New macro.
49809         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49810         (elf_machine_runtime_setup): Support ELFv2 ABI.
49811         (elf_machine_fixup_plt): Likewise.
49812         (elf_machine_plt_conflict): Likewise.
49813         (resolve_ifunc): Likewise.
49814         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49815         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49816         Likewise.
49817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49818         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49820         (makecontext): Support ELFv2 ABI.
49821         * elf/elf.h (EF_PPC64_ABI): Define.
49823 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49825         * sysdeps/powerpc/powerpc64/sysdep.h
49826         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49827         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49828         (ENTRY) [ASSEMBLER]: ... but instead here ...
49829         (EALIGN) [ASSEMBLER]: ... and here.
49830         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49831         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49832         (ENTRY_2) [!ASSEMBLER]: Use it.
49833         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49834         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49835         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49836         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49837         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49839         Use PPC64_LOAD_FUNCPTR.
49841         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49843 2013-12-04  Alan Modra  <amodra@gmail.com>
49845         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49846         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49847         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49848         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49850         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49851         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49852         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49853         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49854         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49855         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49857 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49860         (__makecontext): Fix incorrect CFI when backtracing out of
49861         context created via makecontext.
49862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49863         (__setcontext): Fix incorrect CFI during switch to new context.
49864         (__novec_setcontext): Likewise.
49866 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49868         [BZ #4772]
49869         * time/strptime_l.c (__strptime_internal): Allow modifiers
49870         in strptime.
49871         * time/tst-strptime.c (day_tests): Add testcase.
49873 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49875         * scripts/bench.pl: Skip over blank lines.
49877 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49879         [BZ #926]
49880         * manual/time.texi (Calendar Time): Clarify what timezone functions
49881         use.
49883 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49887 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49889         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49890         implementation.
49891         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49892         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49893         * debug/memset_chk.c (__memset_chk): Likewise.
49894         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49895         * debug/strncpy_chk.c: Likewise.
49897 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49899         [BZ #15268]
49900         [BZ #15425]
49901         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49902         (__ieee754_exp): For possibly underflowing results, check size of
49903         result and force underflow exception if required.
49904         * math/auto-libm-test-in: Add more tests of exp.
49905         * math/auto-libm-test-out: Regenerated.
49906         * sysdeps/i386/fpu/libm-test-ulps: Update.
49907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49909         [BZ #16283]
49910         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49911         * math/w_exp2f.c (__exp2f): Likewise.
49912         * math/w_exp2l.c (__exp2l): Likewise.
49913         * math/auto-libm-test-in: Do not allow missing errno on exp2
49914         underflow.
49915         * math/auto-libm-test-out: Regenerated.
49917 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49919         [BZ #16274]
49920         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49921         handle filename validation.
49922         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49923         (do_open): Delete.
49925 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49927         [BZ #6786]
49928         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49929         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49930         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49931         <float.h>.
49932         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49933         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49934         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49935         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49936         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49938         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49939         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49940         Add more erfc tests.
49941         * math/auto-libm-test-out: Regenerated.
49942         * sysdeps/i386/fpu/libm-test-ulps: Update.
49943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49945         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49946         exp2, expm1, j0 and j1.
49947         * math/auto-libm-test-out: Regenerated.
49948         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49949         (erfc_test_data): Likewise.
49950         (exp_test_data): Likewise.
49951         (exp_tonearest_test_data): Likewise.
49952         (exp_towardzero_test_data): Likewise.
49953         (exp_downward_test_data): Likewise.
49954         (exp_upward_test_data): Likewise.
49955         (exp10_test_data): Likewise.
49956         (exp2_test_data): Likewise.
49957         (expm1_test_data): Likewise.
49958         (j0_test_data): Likewise.
49959         (j1_test_data): Likewise.
49960         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49961         (input_flag_type): Add flag_xfail_rounding.
49962         (input_flags): Add xfail-rounding.
49963         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49964         (output_for_one_input_case): Handle flag_xfail_rounding.
49965         * sysdeps/i386/fpu/libm-test-ulps: Update.
49966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49968 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49970         [BZ #16289]
49971         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49972         division by 0.
49974 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49976         [BZ #16195]
49977         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49978         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49979         (STAP_PROBE0): New macro.
49980         (STAP_PROBE1): Likewise.
49981         (STAP_PROBE2): Likewise.
49982         (STAP_PROBE3): Likewise.
49983         (STAP_PROBE4): Likewise.
49985 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49987         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49989 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49991         * benchtests/Makefile (bench): Add sqrt.
49992         (LDLIBS-bench-sqrt): New.
49993         * benchtests/sqrt-input: New.
49995 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49997         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49998         (GAIH_EAI): Likewise.
49999         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50000         (gaih_inet): Likewise.
50001         (getaddrinfo): Don't use GAIH_EAI.
50003         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50004         (struct gaih): Remove definition.
50006 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50008         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50009         Use HERRNOP directly.
50011 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50015 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50017         * math/gen-auto-libm-tests.c (test_functions): Add more
50018         single-argument functions.
50019         (special_fill_pi_2): New function.
50020         (special_fill_minus_pi_2): Likewise.
50021         (special_fill_pi_6): Likewise.
50022         (special_fill_minus_pi_6): Likewise.
50023         (special_fill_pi_3): Likewise.
50024         (special_fill_2pi_3): Likewise.
50025         (special_fill_e): Likewise.
50026         (special_fill_1_e): Likewise.
50027         (special_fill_e_minus_1): Likewise.
50028         (special_real_inputs): Add more special inputs.
50029         (output_for_one_input_case): Do not require ERANGE on underflow to
50030         zero if round-to-nearest result does not underflow to zero, unless
50031         exact results required.
50032         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50033         atan, atanh, cbrt, cos and cosh.
50034         * math/auto-libm-test-out: Regenerated.
50035         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50036         (acos_tonearest_test_data): Likewise.
50037         (acos_towardzero_test_data): Likewise.
50038         (acos_downward_test_data): Likewise.
50039         (acos_upward_test_data): Likewise.
50040         (acosh_test_data): Likewise.
50041         (asin_test_data): Likewise.
50042         (asin_tonearest_test_data): Likewise.
50043         (asin_towardzero_test_data): Likewise.
50044         (asin_upward_test_data): Likewise.
50045         (asinh_test_data): Likewise.
50046         (atan_test_data): Likewise.
50047         (atanh_test_data): Likewise.
50048         (cbrt_test_data): Likewise.
50049         (cos_test_data): Likewise.
50050         (cos_tonearest_test_data): Likewise.
50051         (cos_towardzero_test_data): Likewise.
50052         (cos_downward_test_data): Likewise.
50053         (cos_upward_test_data): Likewise.
50054         (cosh_test_data): Likewise.
50055         (cosh_tonearest_test_data): Likewise.
50056         (cosh_towardzero_test_data): Likewise.
50057         (cosh_downward_test_data): Likewise.
50058         (cosh_upward_test_data): Likewise.
50059         * sysdeps/i386/fpu/libm-test-ulps: Update.
50060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50062 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50064         [BZ #6787]
50065         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50066         * math/w_exp10f.c (__exp10f): Likewise.
50067         * math/w_exp10l.c (__exp10l): Likewise.
50068         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50069         errno settings in existing tests.
50071         [BZ #14032]
50072         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50073         precision control set to double precision.
50074         * sysdeps/i386/fpu/w_sqrt.c: New file.
50075         * math/auto-libm-test-in: Add more tests.
50076         * math/auto-libm-test-out: Update.
50078         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50079         (sqrt_test_tonearest): New function.
50080         (sqrt_towardzero_test_data): New variable.
50081         (sqrt_test_towardzero): New function.
50082         (sqrt_downward_test_data): New variable.
50083         (sqrt_test_downward): New function.
50084         (sqrt_upward_test_data): New variable.
50085         (sqrt_test_upward): New function.
50086         (main): Call the new functions.
50088         * math/gen-auto-libm-tests.c: New file.
50089         * math/auto-libm-test-in: Likewise.
50090         * math/auto-libm-test-out: New generated file.
50091         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50092         variables.
50093         (%beautify): Add generated representations of zero.
50094         (top level): Set $auto_input and call parse_auto_input.
50095         (beautify): Remove trailing "f" from hex float constants.
50096         (parse_args): Handle XFAIL_TEST.
50097         (convert_condition): New function.
50098         (or_value): Likewise.
50099         (or_cond_value): Likewise.
50100         (generate_testfile): Handle AUTO_TESTS_* lines.
50101         (parse_auto_input): New function.
50102         * math/libm-test.inc (XFAIL_TEST): New macro.
50103         (ERRNO_UNCHANGED): Update value.
50104         (ERRNO_EDOM): Likewise.
50105         (ERRNO_ERANGE): Likewise.
50106         (IGNORE_RESULT): Likewise.
50107         (TEST_COND_flt_32): New macro.
50108         (TEST_COND_dbl_64): Likewise.
50109         (TEST_COND_ldbl_96_intel): Likewise.
50110         (TEST_COND_ldbl_96_m68k): Likewise.
50111         (TEST_COND_ldbl_128): Likewise.
50112         (TEST_COND_ldbl_128ibm): Likewise.
50113         (TEST_COND_long32): Likewise.
50114         (TEST_COND_long64): Likewise.
50115         (TEST_COND_before_rounding): Likewise.
50116         (TEST_COND_after_rounding): Likewise.
50117         (enable_test): Handle XFAIL_TEST flag.
50118         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50119         with finite results.
50120         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50121         auto-libm-test-out.
50123 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50124             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50126         [BZ #16214]
50127         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50128         __tls_get_addr_internal instead of __tls_get_offset in order to
50129         avoid GOT pointer dependency.  Make rtld export
50130         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50131         __tls_get_addr since we are a __tls_get_offset platform.
50132         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50133         GOT pointer being set up before.
50134         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50136 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50138         * manual/math.texi (Errors in Math Functions): Document accuracy
50139         goals.
50141         [BZ #15004]
50142         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50143         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50144         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50145         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50146         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50147         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50148         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50149         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50150         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50151         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50152         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50153         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50154         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50155         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50156         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50157         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50159         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50160         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50161         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50162         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50163         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50164         Likewise.
50165         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50166         Likewise.
50167         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50168         Likewise.
50169         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50170         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50171         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50172         atomic-feupdateenv and flt-rounds.
50173         * sysdeps/powerpc/nofpu/Versions (libc): Add
50174         __atomic_feholdexcept, __atomic_feclearexcept,
50175         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50176         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50177         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50178         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50179         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50180         here.
50181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50182         Update.
50184         * manual/arith.texi (FP Exceptions): Document that exceptions may
50185         not be raised when matherr is used.
50186         (Math Error Reporting): Document overflow in directed rounding
50187         modes.  Document that errno may not be set when finite values are
50188         returned on overflow.  Document intent to set errno on underflow
50189         only for underflow to zero.
50191         [BZ #16271]
50192         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50193         round-to-nearest then adjust result for other rounding modes.
50194         * include/fenv.h (fegetround): Use libm_hidden_proto.
50195         * math/fegetround.c (fegetround): Use libm_hidden_def.
50196         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50197         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50198         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50199         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50200         Likewise.
50201         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50202         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50203         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50204         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50206 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50208         [BZ #16077]
50209         * nss/Versions (libnss_files): Add
50210         _nss_files_gethostbyname3_r.
50211         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50212         New function.
50213         (HOST_DB_LOOKUP): Remove macro.
50214         (_nss_files_gethostbyname_r): Implement function without the
50215         HOST_DB_LOOKUP macro.
50216         (_nss_files_gethostbyname2_r): Likewise.
50218 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50220         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50222 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50224         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50225         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50226         warning.
50228 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50230         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50231         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50232         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50233         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50234         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50235         __fe_nomask_env_priv and attribute_hidden.
50236         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50237         (libc_feupdateenv_test_ppc): Likewise.
50238         (libc_feresetround_ppc): Likewise.
50239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50240         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50241         compat_symbol macro.
50242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50243         (__fe_nomask_env): Likewise.
50244         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50246 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50248         * string/Makefile: Remove ifunc tests.
50249         * string/test-string.h: Define TEST_IFUNC.
50250         * string/test-bcopy-ifunc.c: Remove.
50251         * string/test-bzero-ifunc.c: Likewise.
50252         * string/test-memccpy-ifunc.c: Likewise.
50253         * string/test-memchr-ifunc.c: Likewise.
50254         * string/test-memcmp-ifunc.c: Likewise.
50255         * string/test-memcpy-ifunc.c: Likewise.
50256         * string/test-memmem-ifunc.c: Likewise.
50257         * string/test-memmove-ifunc.c: Likewise.
50258         * string/test-mempcpy-ifunc.c: Likewise.
50259         * string/test-memrchr-ifunc.c: Likewise.
50260         * string/test-memset-ifunc.c: Likewise.
50261         * string/test-rawmemchr-ifunc.c: Likewise.
50262         * string/test-stpcpy-ifunc.c: Likewise.
50263         * string/test-stpncpy-ifunc.c: Likewise.
50264         * string/test-strcasecmp-ifunc.c: Likewise.
50265         * string/test-strcasestr-ifunc.c: Likewise.
50266         * string/test-strcat-ifunc.c: Likewise.
50267         * string/test-strchr-ifunc.c: Likewise.
50268         * string/test-strchrnul-ifunc.c: Likewise.
50269         * string/test-strcmp-ifunc.c: Likewise.
50270         * string/test-strcpy-ifunc.c: Likewise.
50271         * string/test-strcspn-ifunc.c: Likewise.
50272         * string/test-strlen-ifunc.c: Likewise.
50273         * string/test-strncasecmp-ifunc.c: Likewise.
50274         * string/test-strncat-ifunc.c: Likewise.
50275         * string/test-strncmp-ifunc.c: Likewise.
50276         * string/test-strncpy-ifunc.c: Likewise.
50277         * string/test-strnlen-ifunc.c: Likewise.
50278         * string/test-strpbrk-ifunc.c: Likewise.
50279         * string/test-strrchr-ifunc.c: Likewise.
50280         * string/test-strspn-ifunc.c: Likewise.
50281         * string/test-strstr-ifunc.c: Likewise.
50283 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50285         * benchtests/Makefile: Remove ifunc tests.
50286         * benchtests/bench-string.h: Define TEST_IFUNC.
50287         * benchtests/bench-bcopy-ifunc.c: Remove.
50288         * benchtests/bench-bzero-ifunc.c: Likewise.
50289         * benchtests/bench-memccpy-ifunc.c: Likewise.
50290         * benchtests/bench-memchr-ifunc.c: Likewise.
50291         * benchtests/bench-memcmp-ifunc.c: Likewise.
50292         * benchtests/bench-memcpy-ifunc.c: Likewise.
50293         * benchtests/bench-memmem-ifunc.c: Likewise.
50294         * benchtests/bench-memmove-ifunc.c: Likewise.
50295         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50296         * benchtests/bench-memrchr-ifunc.c: Likewise.
50297         * benchtests/bench-memset-ifunc.c: Likewise.
50298         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50299         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50300         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50301         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50302         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50303         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50304         * benchtests/bench-strcat-ifunc.c: Likewise.
50305         * benchtests/bench-strchr-ifunc.c: Likewise.
50306         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50307         * benchtests/bench-strcmp-ifunc.c: Likewise.
50308         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50309         * benchtests/bench-strcpy-ifunc.c: Likewise.
50310         * benchtests/bench-strcspn-ifunc.c: Likewise.
50311         * benchtests/bench-strlen-ifunc.c: Likewise.
50312         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50313         * benchtests/bench-strncat-ifunc.c: Likewise.
50314         * benchtests/bench-strncmp-ifunc.c: Likewise.
50315         * benchtests/bench-strncpy-ifunc.c: Likewise.
50316         * benchtests/bench-strnlen-ifunc.c: Likewise.
50317         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50318         * benchtests/bench-strrchr-ifunc.c: Likewise.
50319         * benchtests/bench-strsep-ifunc.c: Likewise.
50320         * benchtests/bench-strspn-ifunc.c: Likewise.
50321         * benchtests/bench-strstr-ifunc.c: Likewise.
50323 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50325         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50327 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50329         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50330         * rt/aio.h: Likewise.
50331         * sysdeps/gnu/bits/utmp.h: Likewise.
50332         * sysdeps/gnu/bits/utmpx.h: Likewise.
50333         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50334         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50335         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50336         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50337         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50338         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50339         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50340         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50341         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50342         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50343         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50344         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50345         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50347         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50348         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50349         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50350         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50351         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50352         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50353         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50354         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50355         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50356         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50357         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50359         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50360         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50361         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50362         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50363         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50364         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50365         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50366         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50367         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50368         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50369         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50370         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50371         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50372         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50373         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50374         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50376 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50378         [BZ #16245]
50379         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50380         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50382 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50384         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50385         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50386         Likewise.
50388 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50391         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50392         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50393         (__fesetround): Remove define.
50394         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50395         rounding and exceptions handling.
50396         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50397         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50398         (__fe_nomask_env): Likewise.
50399         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50400         __fegetround instead of fegetround.
50401         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50402         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50404 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50406         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50407         it's there.
50409         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50411 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50413         [BZ #11157]
50414         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50415         (encrypt_r): Likewise.
50416         * malloc/obstack.h (obstack_free): Likewise.
50417         * posix/unistd.h (encrypt): Likewise.
50419 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50421         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50422         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50423         DL_CALL_DT_FINI() that call the functions directly.
50424         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50425         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50426         * elf/dl-fini.c: Likewise.
50428 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50430         * malloc/hooks.c (memalign_check): Add alignment rounding.
50431         * malloc/malloc.c (_mid_memalign): New function.
50432         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50433         Implement by calling _mid_memalign.
50434         * manual/probes.texi (Memory Allocation Probes): Remove
50435         memory_valloc_retry and memory_pvalloc_retry.
50437 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50439         * locale/programs/locarchive.c (open_archive): Add const
50440         qualifier to ARCHIVEFNAME and copy default fname to
50441         DEFAULT_FNAME.
50443         [BZ #15601]
50444         * libio/tst-widetext.input: Rename Oriya to Odia.
50445         * locale/iso-639.def: Likewise.
50447         * manual/probes.texi (Mathematical Function Probes): Add
50448         documentation for sin, cos, asin and acos probes.
50449         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50450         (__sin32): Add slowasin probe.
50451         (__cos32): Add slowacos probe.
50452         (__mpsin): Add slowsin probe.
50453         (__mpcos): Add slowcos probe.
50455 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50457         [BZ #15483]
50458         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50459         thread-local __sim_exceptions_thread and global
50460         __sim_exceptions_global.
50461         (__sim_disabled_exceptions): Change to thread-local
50462         __sim_disabled_exceptions_thread and global
50463         __sim_disabled_exceptions_global.
50464         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50465         and global __sim_round_mode_global.
50466         (__simulate_exceptions): Use thread-local floating-point state and
50467         set global state from it as needed.
50468         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50469         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50470         __sim_round_mode_thread.
50471         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50472         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50473         and global __sim_exceptions_global.
50474         (__sim_disabled_exceptions): Change to thread-local
50475         __sim_disabled_exceptions_thread and global
50476         __sim_disabled_exceptions_global.
50477         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50478         and global __sim_round_mode_global.
50479         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50480         (SIM_SET_GLOBAL): Likewise.
50481         * sysdeps/powerpc/soft-fp/sfp-machine.h
50482         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50483         __sim_round_mode_thread.
50484         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50485         __sim_disabled_exceptions_thread.
50486         (__sim_exceptions): Change to __sim_exceptions_thread.
50487         (__sim_disabled_exceptions): Change to
50488         __sim_disabled_exceptions_thread.
50489         (__sim_round_mode): Change to __sim_round_mode_thread.
50490         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50491         thread-local floating-point state and set global state from it as
50492         needed.
50493         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50494         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50495         (__sim_disabled_exceptions): Remove extern declaration.
50496         (feenableexcept): Use thread-local floating-point state and set
50497         global state from it as needed.
50498         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50499         extern declaration.
50500         (__sim_disabled_exceptions): Likewise.
50501         (__sim_round_mode): Likewise.
50502         (__fegetenv): Use thread-local floating-point state.
50503         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50504         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50505         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50506         floating-point state and set global state from it as needed.
50507         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50508         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50509         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50510         Likewise.
50511         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50512         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50513         Likewise.
50514         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50515         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50516         Use __sim_round_mode_thread.
50517         * math/test-fenv-tls.c: New file.
50518         * math/Makefile (tests): Add test-fenv-tls.
50519         ($(objpfx)test-fenv-tls): Depend on
50520         $(common-objpfx)nptl/libpthread.so.
50522 2013-11-19  Andreas Schwab  <schwab@suse.de>
50524         * locale/programs/locale.c (show_info): Decode wordarray elements.
50525         * locale/categories.def (LC_MONETARY): Add element for
50526         _NL_MONETARY_CRNCYSTR.
50527         * locale/C-monetary.c (conversion_rate): New variable.
50528         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50529         element.
50531 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50533         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50534         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50536 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50538         * elf/Makefile (tst-auxv): New test.
50539         * elf/tst-auxv.c: New
50540         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50542 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50544         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50545         (hidden_proto): Caller changed.
50546         (hidden_tls_proto): New macro.
50547         (libc_hidden_tls_proto): Likewise.
50548         (rtld_hidden_tls_proto): Likewise.
50549         (libm_hidden_tls_proto): Likewise.
50550         (libresolv_hidden_tls_proto): Likewise.
50551         (librt_hidden_tls_proto): Likewise.
50552         (libdl_hidden_tls_proto): Likewise.
50553         (libnss_files_hidden_tls_proto): Likewise.
50554         (libnsl_hidden_tls_proto): Likewise.
50555         (libnss_nisplus_hidden_tls_proto): Likewise.
50556         (libutil_hidden_tls_proto): Likewise.
50558 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50560         [BZ #10253]
50561         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50562         (decompose_rpath): Defer expansion to fillin_rpath.
50563         (_dl_init_paths): Pass linkmap to fillin_rpath.
50565 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50567         * benchtests/Makefile: Add strsep.
50568         * benchtests/bench-strsep.c: New file: strsep benchtest.
50569         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50571 2013-11-18  Andreas Schwab  <schwab@suse.de>
50573         * locale/programs/locale.c (show_info) [case byte]: Check for
50574         '\377' instead of '\177'.
50575         * locale/C-monetary.c (not_available): Always use "\377".
50576         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50577         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50578         detect unavailable sign_posn locale elements.
50579         * locale/localeconv.c (__localeconv): For grouping and
50580         mon_grouping handle "\177" and "\377" like no grouping.
50581         (INT_ELEM): New macro.  Use it to set all numeric members.
50582         * locale/programs/ld-monetary.c (monetary_read)
50583         <tok_mon_grouping>: Normalize single -1 to the empty string.
50584         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50585         Likewise.
50587 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50589         [BZ #16055]
50590         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50591         when we match (nil).
50592         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50594 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50596         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50597         (NO_TEST_INLINE): Update value.
50598         (ERRNO_UNCHANGED): Likewise.
50599         (ERRNO_EDOM): Likewise.
50600         (ERRNO_ERANGE): Likewise.
50601         (IGNORE_RESULT): Likewise.
50602         (check_float_internal): Check signs of NaN results if
50603         TEST_NAN_SIGN used.
50604         (check_complex): Pass TEST_NAN_SIGN flag through to second
50605         check_float_internal call.
50606         (copysign_test_data): Add tests with quiet NaNs as second
50607         argument.  Use TEST_NAN_SIGN.
50608         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50609         TEST_NAN_SIGN.
50610         (signbit_test_data): Add tests of quiet NaN argument.
50611         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50613         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50614         $ignore_result.
50615         (parse_args): Handle function results specified as IGNORE.
50616         * math/libm-test.inc (IGNORE_RESULT): New macro.
50617         (check_float_internal): Do not check numerical result if flag
50618         IGNORE_RESULT set.
50619         (check_complex): Pass through IGNORE_RESULT to second
50620         check_float_internal call.
50621         (check_int): Do not check numerical result if flag IGNORE_RESULT
50622         set.
50623         (check_long): Likewise.
50624         (check_bool): Likewise.
50625         (check_longlong): Likewise.
50626         (lrint_test_data): Add tests of infinite and NaN arguments.
50627         (lrint_tonearest_test_data): Likewise.
50628         (lrint_towardzero_test_data): Likewise.
50629         (lrint_downward_test_data): Likewise.
50630         (lrint_upward_test_data): Likewise.
50631         (llrint_test_data): Likewise.
50632         (llrint_tonearest_test_data): Likewise.
50633         (llrint_towardzero_test_data): Likewise.
50634         (llrint_downward_test_data): Likewise.
50635         (llrint_upward_test_data): Likewise.
50636         (lround_test_data): Likewise.
50637         (llround_test_data): Likewise.
50639         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50640         (ERRNO_UNCHANGED): Update value.
50641         (ERRNO_EDOM): Likewise.
50642         (ERRNO_ERANGE): Likewise.
50643         (NO_TEST_INLINE_FLOAT): New macro.
50644         (NO_TEST_INLINE_DOUBLE): Likewise.
50645         (enable_test): New function.
50646         (RUN_TEST_f_f): Check enable_test before running test.
50647         (RUN_TEST_2_f): Likewise.
50648         (RUN_TEST_fff_f): Likewise.
50649         (RUN_TEST_c_f): Likewise.
50650         (RUN_TEST_f_f1): Likewise.
50651         (RUN_TEST_fF_f1): Likewise.
50652         (RUN_TEST_fI_f1): Likewise.
50653         (RUN_TEST_ffI_f1): Likewise.
50654         (RUN_TEST_c_c): Likewise.
50655         (RUN_TEST_cc_c): Likewise.
50656         (RUN_TEST_f_i): Likewise.
50657         (RUN_TEST_f_i_tg): Likewise.
50658         (RUN_TEST_ff_i_tg): Likewise.
50659         (RUN_TEST_f_b): Likewise.
50660         (RUN_TEST_f_b_tg): Likewise.
50661         (RUN_TEST_f_l): Likewise.
50662         (RUN_TEST_f_L): Likewise.
50663         (RUN_TEST_fFF_11): Likewise.
50664         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50665         conditionals.
50666         (cosh_test_data): Likewise.
50667         (exp_test_data): Likewise.
50668         (expm1_test_data): Likewise.
50669         (hypot_test_data): Likewise.
50670         (pow_test_data): Likewise.
50671         (sinh_test_data): Likewise.
50672         (tanh_test_data): Likewise.
50673         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50674         flags argument.
50676         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50677         tests with quiet NaN input and output.
50678         (acosh_test_data): Likewise.
50679         (asin_test_data): Likewise.
50680         (asinh_test_data): Likewise.
50681         (atan_test_data): Likewise.
50682         (atanh_test_data): Likewise.
50683         (atan2_test_data): Likewise.
50684         (cbrt_test_data): Likewise.
50685         (cos_test_data): Likewise.
50686         (cosh_test_data): Likewise.
50687         (erf_test_data): Likewise.
50688         (erfc_test_data): Likewise.
50689         (exp_test_data): Likewise.
50690         (exp10_test_data): Likewise.
50691         (exp2_test_data): Likewise.
50692         (expm1_test_data): Likewise.
50693         (hypot_test_data): Likewise.
50694         (j0_test_data): Likewise.
50695         (j1_test_data): Likewise.
50696         (jn_test_data): Likewise.
50697         (lgamma_test_data): Likewise.
50698         (log_test_data): Likewise.
50699         (log10_test_data): Likewise.
50700         (log1p_test_data): Likewise.
50701         (log2_test_data): Likewise.
50702         (pow_test_data): Likewise.
50703         (scalb_test_data): Likewise.
50704         (sin_test_data): Likewise.
50705         (sincos_test_data): Likewise.
50706         (sinh_test_data): Likewise.
50707         (tan_test_data): Likewise.
50708         (tanh_test_data): Likewise.
50709         (tgamma_test_data): Likewise.
50710         (y0_test_data): Likewise.
50711         (y1_test_data): Likewise.
50712         (yn_test_data): Likewise.
50714         [BZ #16167]
50715         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50716         argument being NaN and avoid computations with second argument in
50717         that case.
50718         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50719         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50720         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50722 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50724         * locale/iso-639.def: Add Chitwani Tharu (the).
50726 2013-11-14  Andreas Schwab  <schwab@suse.de>
50728         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50729         word instead of empty string.
50731 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50734         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50736         (__fe_nomask_env): Likewise.
50738 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50740         * benchtests/bench-timing.h: Include time.h.
50742 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50744         [BZ #15997]
50745         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50746         to 3.4.0 for x32.
50747         * sysdeps/unix/sysv/linux/configure: Regenerated.
50749 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50751         [BZ #16151]
50752         * stdlib/strtod_l.c (round_and_return): Do not consider
50753         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50754         exponent one less than half the least subnormal exponent.
50755         * stdlib/test-strtod-round-data: Add more tests.
50756         * stdlib/tst-strtod-round.c (tests): Regenerated.
50758 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50760         [BZ #14143]
50761         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50762         (__fe_mask_env): Likewise.
50763         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50764         libm_hidden_proto and add function prototype.
50765         (__fe_mask_env): Add function prototype.
50766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50767         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50769         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50771         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50773 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50775         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50776         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50778 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50780         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50781         of htab_find_slot().
50783 2013-11-11  David S. Miller  <davem@davemloft.net>
50785         [BZ #16150]
50786         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50787         symbol in the non-vis3 case in static builds.
50788         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50789         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50790         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50791         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50793 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50795         [BZ #387]
50796         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50797         it is empty.
50799 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50801         * benchtests/Makefile: Add bench-strtod.
50802         * benchtests/bench-strtod.c: New file: strtod benchtest
50804 2013-11-11  Andreas Schwab  <schwab@suse.de>
50806         [BZ #16153]
50807         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50808         terminating NUL in key length.
50810 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50812         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50813         Add artificial ODP entry for vDSO symbol for PPC64.
50814         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50815         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50817 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50819         [BZ #15374]
50820         * nss/getent.c (services_keys): Recognize services starting with digit.
50822 2013-11-06  David S. Miller  <davem@davemloft.net>
50824         [BZ #15985]
50825         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50826         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50828 2013-11-06  Will Newton  <will.newton@linaro.org>
50830         * manual/memory.texi (Malloc Examples): Remove register
50831         keyword from examples.
50833 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50835         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50837 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50839         [BZ #6981]
50840         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50841         depending on [__GCC_IEC_559 > 0].
50842         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50843         depending on [__GCC_IEC_559_COMPLEX > 0].
50845 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50847         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50848         to iso-639.def.
50850 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50852         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50854 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50856         [BZ #16112]
50857         * malloc/malloc (malloc_info): Do not handle first bin as
50858         special case.
50860 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50862         * locale/iso-639.def: Add Central Nahuatl (nhn).
50864 2013-11-01  Bruno Haible  <bruno@clisp.org>
50866         [BZ #7003]
50867         * manual/math.texi (BSD Random): Specify range upper bound as
50868         in POSIX.
50870 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50872         * locale/iso-639.def: Add Meadow Mari (mhr).
50874 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50876         [BZ #14752], [BZ #15763]
50877         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50878         Validate name.
50879         * rt/tst_shm.c: Add test for escaping directory.
50881 2013-10-31  Andreas Schwab  <schwab@suse.de>
50883         [BZ #15917]
50884         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50885         followed by 'x' as part of digit sequence.
50886         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50888 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50890         [BZ #16037]
50891         * configure.ac: allow GNU Make 4.0 and greater.
50892         * configure: Regenerated.
50894 2013-10-30  Will Newton  <will.newton@linaro.org>
50896         [BZ #16038]
50897         * malloc/hooks.c (memalign_check): Limit alignment to the
50898         maximum representable power of two.
50899         * malloc/malloc.c (__libc_memalign): Likewise.
50900         * malloc/tst-memalign.c (do_test): Add test for very
50901         large alignment values.
50902         * malloc/tst-posix_memalign.c (do_test): Likewise.
50904 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50906         [BZ #11087]
50907         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50908         (munmap_chunk): Likewise.
50909         (mremap_chunk): Likewise.
50911 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50913         [BZ #15799]
50914         * stdlib/div.c (div): Remove obsolete code.
50915         * stdlib/ldiv.c (ldiv): Likewise.
50916         * stdlib/lldiv.c (lldiv): Likewise.
50918 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50920         [BZ #16071]
50921         * nss/nss_files/files-XXX.c (get_contents_ret): New
50922         enumerator.
50923         (get_contents): New function.
50924         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50926 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50928         * configure.in: Moved to ...
50929         * configure.ac: ... here. Change reference to configure.in
50930         to configure.ac.
50931         * sysdeps/arm/preconfigure.ac: ... here.
50932         configure.in to configure.ac.
50933         * sysdeps/gnu/configure.in: Moved to ...
50934         * sysdeps/gnu/configure.ac: ... here.
50935         * sysdeps/i386/configure.in: Moved to ...
50936         * sysdeps/i386/configure.ac: ... here.
50937         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50938         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50939         * sysdeps/mach/configure.in: Moved to ...
50940         * sysdeps/mach/configure.ac: ... here.
50941         * sysdeps/mach/hurd/configure.in: Moved to ...
50942         * sysdeps/mach/hurd/configure.ac: ... here.
50943         * sysdeps/powerpc/configure.in: Moved to ...
50944         * sysdeps/powerpc/configure.ac: ... here.
50945         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50946         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50947         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50948         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50949         * sysdeps/s390/s390-32/configure.in: Moved to ...
50950         * sysdeps/s390/s390-32/configure.ac: ... here.
50951         * sysdeps/s390/s390-64/configure.in: Moved to ...
50952         * sysdeps/s390/s390-64/configure.ac: ... here.
50953         * sysdeps/sh/configure.in: Moved to ...
50954         * sysdeps/sh/configure.ac: ... here.
50955         * sysdeps/sparc/configure.in: Moved to ...
50956         * sysdeps/sparc/configure.ac: ... here.
50957         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50958         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50959         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50960         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50961         * sysdeps/x86_64/configure.in: Moved to ...
50962         * sysdeps/x86_64/configure.ac: ... here.
50963         * sysdeps/x86_64/preconfigure.in: Moved to ...
50964         * sysdeps/x86_64/preconfigure.ac: ... here.
50965         * aclocal.m4: Change reference to configure.in to configure.ac.
50966         * config.h.in: Likewise.
50967         * manual/install.texi: Likewise.
50968         * manual/maint.texi: Likewise.
50969         * Makefile: Likewise.
50970         * malloc/Makefile: Likewise.
50971         * nscd/Makefile: Likewise.
50972         * Makeconfig: Change reference to configure.in and
50973         preconfigure.in to configure.ac and preconfigure.ac
50974         respectively.
50975         * INSTALL: Regenerated.
50976         * configure: Likewise.
50977         * sysdeps/gnu/configure: Likewise.
50978         * sysdeps/i386/configure: Likewise.
50979         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50980         * sysdeps/mach/configure: Likewise.
50981         * sysdeps/mach/hurd/configure: Likewise.
50982         * sysdeps/powerpc/configure: Likewise.
50983         * sysdeps/powerpc/powerpc32/configure: Likewise.
50984         * sysdeps/powerpc/powerpc64/configure: Likewise.
50985         * sysdeps/s390/s390-32/configure: Likewise.
50986         * sysdeps/s390/s390-64/configure: Likewise.
50987         * sysdeps/sh/configure: Likewise.
50988         * sysdeps/sparc/configure: Likewise.
50989         * sysdeps/unix/sysv/linux/configure: Likewise.
50990         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50991         * sysdeps/x86_64/configure: Likewise.
50992         * sysdeps/x86_64/preconfigure: Likewise.
50994 2013-10-29  Andreas Schwab  <schwab@suse.de>
50996         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50998 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51000         * benchtests/pow-inputs: Add new inputs.
51002         * benchtests/exp-inputs: Add new inputs.
51004         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51005         conditional check for return value.
51006         (__cos32): Likewise.
51008 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51010         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51011         to provide a boost for large inputs with word alignment.
51012         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51013         implementation based on optimized PPC64 strcpy.
51014         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51015         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51016         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51017         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51019 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51021         [BZ #2801]
51022         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51024 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51026         [BZ #14876]
51027         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51028         * time/tst-strptime.c (day_tests): Add testcase.
51030 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51032         [BZ #14029]
51033         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51035 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51037         [BZ #16074]
51038         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51039         MAP_FAILED on error.
51041 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51043         [BZ #16072]
51044         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51045         heap for large requests.
51047 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51049         [BZ #9954]
51050         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51051         result if the result has no associated interface.
51052         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51053         interface for all 127.X.Y.Z addresses.
51055 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51057         * locale/iso-639.def: Add Ligurian (lij)
51059 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51061         [BZ #15825]
51062         * sunrpc/rpc_main.c: Document rpcgen -5.
51064 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51066         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51068 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51070         [BZ #10278]
51071         * posix/glob.c: Match only directories when trailing slash is present.
51072         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51073         (main): Add testcase.
51075 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51077         [BZ #15670]
51078         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51080 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51082         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51083         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51084         AUTH_DES and cindex for FIPS 140-2.
51085         (DES Encryption): Add cindex FIPS 46-3.
51087         * locale/locarchive.h (struct locarhandle): Add fname.
51088         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51089         if an optional argument was specified to --list-archive,
51090         otherwise NULL.
51091         * locale/programs/locarchive.c (show_archive_content): Take new
51092         argument fname and pass it via ah.fname to open_archive.
51093         * locale/programs/localedef.h: Update decl.
51094         (open_archive): If AH->fname is non-null, open that file
51095         rather than the default file name, and don't ignore ENOENT.
51096         (create_archive): Set AH.fname to NULL.
51097         (delete_locales_from_archive): Likewise.
51098         (add_locales_to_archive): Likewise.
51099         * locale/programs/locfile.c (write_all_categories): Likewise.
51101 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51102             Aldy Hernandez  <aldyh@redhat.com>
51104         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51105         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51106         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51107         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51108         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51112         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51114         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51115         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51116         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51117         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51119         Likewise.
51120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51121         Likewise.
51122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51123         Likewise.
51124         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51125         Likewise.
51126         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51127         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51128         Likewise.
51129         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51130         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51131         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51132         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51133         Likewise.
51134         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51135         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51136         * sysdeps/powerpc/preconfigure: Likewise.
51137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51138         Likewise.
51139         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51140         Replace contents of file by #include of <fenv_libc.h>.
51141         * sysdeps/powerpc/soft-fp/sfp-machine.h
51142         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51143         and <sys/prctl.h>.
51144         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51157         Allow copysignl PLT reference to be missing.
51159 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51160             Joseph Myers  <joseph@codesourcery.com
51162         [BZ #15948]
51163         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51164         single character.
51165         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51167 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51169         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51170         * elf/tst-tls1.c: Likewise.
51171         * elf/tst-tls10.h: Likewise.
51172         * elf/tst-tls14.c: Likewise.
51173         * elf/tst-tls2.c: Likewise.
51174         * elf/tst-tls3.c: Likewise.
51175         * elf/tst-tls4.c: Likewise.
51176         * elf/tst-tls5.c: Likewise.
51177         * elf/tst-tls6.c: Likewise.
51178         * elf/tst-tls7.c: Likewise.
51179         * elf/tst-tls8.c: Likewise.
51180         * elf/tst-tls9.c: Likewise.
51181         * elf/tst-tlsmod1.c: Likewise.
51182         * elf/tst-tlsmod13.c: Likewise.
51183         * elf/tst-tlsmod13a.c: Likewise.
51184         * elf/tst-tlsmod14a.c: Likewise.
51185         * elf/tst-tlsmod16a.c: Likewise.
51186         * elf/tst-tlsmod16b.c: Likewise.
51187         * elf/tst-tlsmod2.c: Likewise.
51188         * elf/tst-tlsmod3.c: Likewise.
51189         * elf/tst-tlsmod4.c: Likewise.
51190         * elf/tst-tlsmod5.c: Likewise.
51191         * elf/tst-tlsmod6.c: Likewise.
51193 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51195         [BZ #12486]
51196         * malloc/malloc.c: remove checks for statistics.
51198 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51200         [BZ #15277]
51201         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51202         * inet/tst-network.c: Add testcase.
51204 2013-10-17  Andreas Schwab  <schwab@suse.de>
51206         [BZ #15218]
51207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51208         to determine canonical name.
51210 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51212         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51213         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51215         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51217         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51218         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51219         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51220         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51221         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51222         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51223         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51224         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51225         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51226         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51227         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51228         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51229         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51230         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51231         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51232         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51233         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51235         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51236         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51237         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51238         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51239         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51240         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51241         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51242         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51243         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51244         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51245         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51246         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51247         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51248         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51249         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51250         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51251         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51252         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51253         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51254         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51255         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51256         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51257         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51258         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51259         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51260         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51261         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51262         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51263         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51264         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51265         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51266         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51267         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51268         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51269         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51271 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51273         [BZ #16041]
51274         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51275         make result into a quiet NaN.
51277 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51279         * soft-fp/adddf3.c: Fix horizontal whitespace.
51280         * soft-fp/addsf3.c: Likewise.
51281         * soft-fp/addtf3.c: Likewise.
51282         * soft-fp/divdf3.c: Likewise.
51283         * soft-fp/divsf3.c: Likewise.
51284         * soft-fp/divtf3.c: Likewise.
51285         * soft-fp/double.h: Likewise.
51286         * soft-fp/eqdf2.c: Likewise.
51287         * soft-fp/eqsf2.c: Likewise.
51288         * soft-fp/eqtf2.c: Likewise.
51289         * soft-fp/extenddftf2.c: Likewise.
51290         * soft-fp/extended.h: Likewise.
51291         * soft-fp/extendsfdf2.c: Likewise.
51292         * soft-fp/extendsftf2.c: Likewise.
51293         * soft-fp/extendxftf2.c: Likewise.
51294         * soft-fp/fixdfdi.c: Likewise.
51295         * soft-fp/fixdfsi.c: Likewise.
51296         * soft-fp/fixdfti.c: Likewise.
51297         * soft-fp/fixsfdi.c: Likewise.
51298         * soft-fp/fixsfsi.c: Likewise.
51299         * soft-fp/fixsfti.c: Likewise.
51300         * soft-fp/fixtfdi.c: Likewise.
51301         * soft-fp/fixtfsi.c: Likewise.
51302         * soft-fp/fixtfti.c: Likewise.
51303         * soft-fp/fixunsdfdi.c: Likewise.
51304         * soft-fp/fixunsdfsi.c: Likewise.
51305         * soft-fp/fixunsdfti.c: Likewise.
51306         * soft-fp/fixunssfdi.c: Likewise.
51307         * soft-fp/fixunssfsi.c: Likewise.
51308         * soft-fp/fixunssfti.c: Likewise.
51309         * soft-fp/fixunstfdi.c: Likewise.
51310         * soft-fp/fixunstfsi.c: Likewise.
51311         * soft-fp/fixunstfti.c: Likewise.
51312         * soft-fp/floatdidf.c: Likewise.
51313         * soft-fp/floatdisf.c: Likewise.
51314         * soft-fp/floatditf.c: Likewise.
51315         * soft-fp/floatsidf.c: Likewise.
51316         * soft-fp/floatsisf.c: Likewise.
51317         * soft-fp/floatsitf.c: Likewise.
51318         * soft-fp/floattidf.c: Likewise.
51319         * soft-fp/floattisf.c: Likewise.
51320         * soft-fp/floattitf.c: Likewise.
51321         * soft-fp/floatundidf.c: Likewise.
51322         * soft-fp/floatundisf.c: Likewise.
51323         * soft-fp/floatunditf.c: Likewise.
51324         * soft-fp/floatunsidf.c: Likewise.
51325         * soft-fp/floatunsisf.c: Likewise.
51326         * soft-fp/floatunsitf.c: Likewise.
51327         * soft-fp/floatuntidf.c: Likewise.
51328         * soft-fp/floatuntisf.c: Likewise.
51329         * soft-fp/floatuntitf.c: Likewise.
51330         * soft-fp/fmadf4.c: Likewise.
51331         * soft-fp/fmasf4.c: Likewise.
51332         * soft-fp/fmatf4.c: Likewise.
51333         * soft-fp/gedf2.c: Likewise.
51334         * soft-fp/gesf2.c: Likewise.
51335         * soft-fp/getf2.c: Likewise.
51336         * soft-fp/ledf2.c: Likewise.
51337         * soft-fp/lesf2.c: Likewise.
51338         * soft-fp/letf2.c: Likewise.
51339         * soft-fp/muldf3.c: Likewise.
51340         * soft-fp/mulsf3.c: Likewise.
51341         * soft-fp/multf3.c: Likewise.
51342         * soft-fp/negdf2.c: Likewise.
51343         * soft-fp/negsf2.c: Likewise.
51344         * soft-fp/negtf2.c: Likewise.
51345         * soft-fp/op-1.h: Likewise.
51346         * soft-fp/op-2.h: Likewise.
51347         * soft-fp/op-4.h: Likewise.
51348         * soft-fp/op-8.h: Likewise.
51349         * soft-fp/op-common.h: Likewise.
51350         * soft-fp/quad.h: Likewise.
51351         * soft-fp/single.h: Likewise.
51352         * soft-fp/soft-fp.h: Likewise.
51353         * soft-fp/sqrtdf2.c: Likewise.
51354         * soft-fp/sqrtsf2.c: Likewise.
51355         * soft-fp/sqrttf2.c: Likewise.
51356         * soft-fp/subdf3.c: Likewise.
51357         * soft-fp/subsf3.c: Likewise.
51358         * soft-fp/subtf3.c: Likewise.
51359         * soft-fp/truncdfsf2.c: Likewise.
51360         * soft-fp/trunctfdf2.c: Likewise.
51361         * soft-fp/trunctfsf2.c: Likewise.
51362         * soft-fp/trunctfxf2.c: Likewise.
51363         * soft-fp/unorddf2.c: Likewise.
51364         * soft-fp/unordsf2.c: Likewise.
51365         * soft-fp/unordtf2.c: Likewise.
51367 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51369         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51370         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51372 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51374         * elf/dl-libc.c: Clear initfini list after freeing.
51376 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51378         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51379         * soft-fp/addsf3.c: Likewise.
51380         * soft-fp/addtf3.c: Likewise.
51381         * soft-fp/divdf3.c: Likewise.
51382         * soft-fp/divsf3.c: Likewise.
51383         * soft-fp/divtf3.c: Likewise.
51384         * soft-fp/double.h: Likewise.
51385         * soft-fp/eqdf2.c: Likewise.
51386         * soft-fp/eqsf2.c: Likewise.
51387         * soft-fp/eqtf2.c: Likewise.
51388         * soft-fp/extenddftf2.c: Likewise.
51389         * soft-fp/extended.h: Likewise.
51390         * soft-fp/extendsfdf2.c: Likewise.
51391         * soft-fp/extendsftf2.c: Likewise.
51392         * soft-fp/extendxftf2.c: Likewise.
51393         * soft-fp/fixdfdi.c: Likewise.
51394         * soft-fp/fixdfsi.c: Likewise.
51395         * soft-fp/fixdfti.c: Likewise.
51396         * soft-fp/fixsfdi.c: Likewise.
51397         * soft-fp/fixsfsi.c: Likewise.
51398         * soft-fp/fixsfti.c: Likewise.
51399         * soft-fp/fixtfdi.c: Likewise.
51400         * soft-fp/fixtfsi.c: Likewise.
51401         * soft-fp/fixtfti.c: Likewise.
51402         * soft-fp/fixunsdfdi.c: Likewise.
51403         * soft-fp/fixunsdfsi.c: Likewise.
51404         * soft-fp/fixunsdfti.c: Likewise.
51405         * soft-fp/fixunssfdi.c: Likewise.
51406         * soft-fp/fixunssfsi.c: Likewise.
51407         * soft-fp/fixunssfti.c: Likewise.
51408         * soft-fp/fixunstfdi.c: Likewise.
51409         * soft-fp/fixunstfsi.c: Likewise.
51410         * soft-fp/fixunstfti.c: Likewise.
51411         * soft-fp/floatdidf.c: Likewise.
51412         * soft-fp/floatdisf.c: Likewise.
51413         * soft-fp/floatditf.c: Likewise.
51414         * soft-fp/floatsidf.c: Likewise.
51415         * soft-fp/floatsisf.c: Likewise.
51416         * soft-fp/floatsitf.c: Likewise.
51417         * soft-fp/floattidf.c: Likewise.
51418         * soft-fp/floattisf.c: Likewise.
51419         * soft-fp/floattitf.c: Likewise.
51420         * soft-fp/floatundidf.c: Likewise.
51421         * soft-fp/floatundisf.c: Likewise.
51422         * soft-fp/floatunsidf.c: Likewise.
51423         * soft-fp/floatunsisf.c: Likewise.
51424         * soft-fp/floatuntidf.c: Likewise.
51425         * soft-fp/floatuntisf.c: Likewise.
51426         * soft-fp/floatuntitf.c: Likewise.
51427         * soft-fp/fmadf4.c: Likewise.
51428         * soft-fp/fmasf4.c: Likewise.
51429         * soft-fp/fmatf4.c: Likewise.
51430         * soft-fp/gedf2.c: Likewise.
51431         * soft-fp/gesf2.c: Likewise.
51432         * soft-fp/getf2.c: Likewise.
51433         * soft-fp/ledf2.c: Likewise.
51434         * soft-fp/lesf2.c: Likewise.
51435         * soft-fp/letf2.c: Likewise.
51436         * soft-fp/muldf3.c: Likewise.
51437         * soft-fp/mulsf3.c: Likewise.
51438         * soft-fp/multf3.c: Likewise.
51439         * soft-fp/negdf2.c: Likewise.
51440         * soft-fp/negsf2.c: Likewise.
51441         * soft-fp/negtf2.c: Likewise.
51442         * soft-fp/op-1.h: Likewise.
51443         * soft-fp/op-2.h: Likewise.
51444         * soft-fp/op-4.h: Likewise.
51445         * soft-fp/op-8.h: Likewise.
51446         * soft-fp/op-common.h: Likewise.
51447         * soft-fp/quad.h: Likewise.
51448         * soft-fp/single.h: Likewise.
51449         * soft-fp/soft-fp.h: Likewise.
51450         * soft-fp/sqrtdf2.c: Likewise.
51451         * soft-fp/sqrtsf2.c: Likewise.
51452         * soft-fp/sqrttf2.c: Likewise.
51453         * soft-fp/subdf3.c: Likewise.
51454         * soft-fp/subsf3.c: Likewise.
51455         * soft-fp/subtf3.c: Likewise.
51456         * soft-fp/truncdfsf2.c: Likewise.
51457         * soft-fp/trunctfdf2.c: Likewise.
51458         * soft-fp/trunctfsf2.c: Likewise.
51459         * soft-fp/trunctfxf2.c: Likewise.
51460         * soft-fp/unorddf2.c: Likewise.
51461         * soft-fp/unordsf2.c: Likewise.
51462         * soft-fp/unordtf2.c: Likewise.
51464 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51466         [BZ #15672]
51467         * misc/error.c (error_tail): Fix possible buffer overflow.
51469 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51471         [BZ #13028]
51472         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51473         address.
51475 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51477         [BZ #832]
51478         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51479         testing pipefail option.
51481 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51483         * soft-fp/double.h: Indent preprocessor directives inside #if.
51484         * soft-fp/extended.h: Likewise.
51485         * soft-fp/op-2.h: Likewise.
51486         * soft-fp/op-4.h: Likewise.
51487         * soft-fp/op-common.h: Likewise.
51488         * soft-fp/quad.h: Likewise.
51489         * soft-fp/single.h: Likewise.
51490         * soft-fp/soft-fp.h: Likewise.
51492 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51494         * iconv/iconv_prog.c: Fix typos.
51495         * stdio-common/psiginfo-data.h: Likewise.
51497 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51499         [BZ #15764]
51500         * locale/setlocale.c: Fix typo.
51502 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51504         [BZ #16036]
51505         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51506         signaling NaN arguments.
51507         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51508         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51510         [BZ #14910]
51511         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51512         unordered operands.
51513         * soft-fp/gesf2.c (__gesf2): Likewise.
51514         * soft-fp/getf2.c (__getf2): Likewise.
51515         * soft-fp/ledf2.c (__ledf2): Likewise.
51516         * soft-fp/lesf2.c (__lesf2): Likewise.
51517         * soft-fp/letf2.c (__letf2): Likewise.
51519         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51520         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51521         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51522         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51523         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51524         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51525         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51526         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51527         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51528         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51529         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51530         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51531         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51532         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51533         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51534         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51535         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51536         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51537         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51538         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51539         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51540         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51541         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51542         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51543         * soft-fp/floattidf.c (__floattidf): Likewise.
51544         * soft-fp/floattisf.c (__floattisf): Likewise.
51545         * soft-fp/floattitf.c (__floattitf): Likewise.
51546         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51547         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51548         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51549         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51550         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51551         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51552         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51553         * soft-fp/gesf2.c (__gesf2): Likewise.
51554         * soft-fp/getf2.c (__getf2): Likewise.
51555         * soft-fp/ledf2.c (__ledf2): Likewise.
51556         * soft-fp/lesf2.c (__lesf2): Likewise.
51557         * soft-fp/letf2.c (__letf2): Likewise.
51559         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51560         Undefine and redefine.
51561         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51562         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51563         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51564         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51565         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51566         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51567         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51568         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51569         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51570         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51571         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51572         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51573         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51574         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51575         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51577         [BZ #16032]
51578         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51579         without decrementing exponent if mantissa >= that for the
51580         denominator, not >.
51581         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51582         denominator, not >.  Decrement exponent in < case instead of
51583         incrementing in >= case.
51584         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51585         without decrementing exponent if mantissa >= that for the
51586         denominator, not >.
51588         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51589         computing saturated result for unsigned overflow.
51591 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51592             Jeff Law  <law@redhat.com>
51594         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51595         (atan2Mp): Add systemtap probe marker.
51596         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51597         (__ieee754_log): Add systemtap probe marker.
51598         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51599         (atanMp): Add systemtap probe marker.
51600         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51601         (tanMp): Add systemtap probe marker.
51602         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51603         (__slowexp): Add systemtap probe marker.
51604         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51605         (__slowpow): Add systemtap probe marker.
51606         * manual/probes.texi: Document probes.
51608 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51610         [BZ #15362]
51611         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51612         written.
51613         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51614         written.
51615         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51616         written to buffer but not flushed.
51617         * libio/iofwrite_u.c:  Likewise.
51618         * libio/iopadn.c:  Return bytes returned even if EOF was
51619         encountered.
51620         * libio/iowpadn.c:  Likewise.
51621         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51622         if _IO_padn does not write the whole buffer.
51623         [!COMPILE_WPRINTF] (PAD): Likewise.
51625 2013-10-10  David S. Miller  <davem@davemloft.net>
51627         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51628         directory block.
51630 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51632         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51633         instead of FSF address.
51634         * soft-fp/fixdfti.c: Likewise.
51635         * soft-fp/fixsfti.c: Likewise.
51636         * soft-fp/fixtfti.c: Likewise.
51637         * soft-fp/fixunsdfti.c: Likewise.
51638         * soft-fp/fixunssfti.c: Likewise.
51639         * soft-fp/fixunstfti.c: Likewise.
51640         * soft-fp/floattidf.c: Likewise.
51641         * soft-fp/floattisf.c: Likewise.
51642         * soft-fp/floattitf.c: Likewise.
51643         * soft-fp/floatuntidf.c: Likewise.
51644         * soft-fp/floatuntisf.c: Likewise.
51645         * soft-fp/floatuntitf.c: Likewise.
51646         * soft-fp/trunctfxf2.c: Likewise.
51648         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51649         * soft-fp/fixdfti.c: Likewise.
51650         * soft-fp/fixsfti.c: Likewise.
51651         * soft-fp/fixtfti.c: Likewise.
51652         * soft-fp/fixunsdfti.c: Likewise.
51653         * soft-fp/fixunssfti.c: Likewise.
51654         * soft-fp/fixunstfti.c: Likewise.
51655         * soft-fp/floattidf.c: Likewise.
51656         * soft-fp/floattisf.c: Likewise.
51657         * soft-fp/floattitf.c: Likewise.
51658         * soft-fp/floatuntidf.c: Likewise.
51659         * soft-fp/floatuntisf.c: Likewise.
51660         * soft-fp/floatuntitf.c: Likewise.
51661         * soft-fp/trunctfxf2.c: Likewise.
51663 2013-10-10  David S. Miller  <davem@davemloft.net>
51665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51667 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51669         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51670         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51671         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51672         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51673         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51674         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51675         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51677         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51678         for NaNs before doing comparisons on argument.
51679         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51680         Likewise.
51682 2013-10-10  Will Newton  <will.newton@linaro.org>
51684         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51685         passed to _int_memalign does not overflow.
51687 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51689         * scripts/bench.pl: Add include-sources directive.
51690         * benchtests/README: Update documentation.
51692 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51694         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51695         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51696         instead of FP_INIT_ROUNDMODE.
51697         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51698         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51700         [BZ #16034]
51701         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51702         copy class of input value.
51703         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51704         not handle exceptions.
51705         * soft-fp/negsf2.c (__negsf2): Likewise.
51706         * soft-fp/negtf2.c (__negtf2): Likewise.
51707         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51709 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51711         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51712         semicolon.  From Linux kernel.
51714 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51716         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51718 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51720         [BZ #156]
51721         * manual/socket.texi: Added statement about buffer
51722         for gethostbyname2_r.
51724 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51726         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51727         Use .p2align directive instead, throughout.
51728         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51729         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51730         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51731         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51732         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51733         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51734         * sysdeps/x86_64/strchr.S: Likewise.
51735         * sysdeps/x86_64/strrchr.S: Likewise.
51737 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51739         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51741         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51743         * sysdeps/generic/math_private.h (__mpsin1): Remove
51744         declaration.
51745         (__mpcos1): Likewise.
51746         (__mpsin): New argument __range_reduce.
51747         (__mpcos): Likewise.
51748         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51749         (slow): Use __mpsin and __mpcos.
51750         (slow1): Likewise.
51751         (slow2): Likewise.
51752         (sloww): Likewise.
51753         (sloww1): Likewise.
51754         (sloww2): Likewise.
51755         (bsloww): Likewise.
51756         (bsloww1): Likewise.
51757         (bsloww2): Likewise.
51758         (cslow2): Likewise.
51759         (csloww): Likewise.
51760         (csloww1): Likewise.
51761         (csloww2): Likewise.
51762         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51763         range_reduce.  Merge in __mpsin1.
51764         (__mpcos): Likewise.
51765         (__mpsin1): Remove.
51766         (__mpcos1): Likewise.
51768 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51770         * locale/loadlocale.c (_nl_intern_locale_data): Use
51771         LOCFILE_ALIGNED_P.
51772         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51773         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51774         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51775         obstack data is appropriately aligned.
51776         (obstack_int32_grow_fast): Likewise.
51777         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51778         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51779         (add_locale_uint32_array): Likewise.
51781 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51783         * benchtests/Makefile: Remove ARGLIST and RET variables.
51784         ($(objpfx)bench-%.c): Pass only function name to the script.
51785         * benchtests/README: Update documentation.
51786         * benchtests/acos-inputs: Add new directives.
51787         * benchtests/acosh-inputs: Likewise.
51788         * benchtests/asin-inputs: Likewise.
51789         * benchtests/asinh-inputs: Likewise.
51790         * benchtests/atan-inputs: Likewise.
51791         * benchtests/atanh-inputs: Likewise.
51792         * benchtests/cos-inputs: Likewise.
51793         * benchtests/cosh-inputs: Likewise.
51794         * benchtests/exp-inputs: Likewise.
51795         * benchtests/log-inputs: Likewise.
51796         * benchtests/pow-inputs: Likewise.
51797         * benchtests/rint-inputs: Likewise.
51798         * benchtests/sin-inputs: Likewise.
51799         * benchtests/sinh-inputs: Likewise.
51800         * benchtests/tan-inputs: Likewise.
51801         * benchtests/tanh-inputs: Likewise.
51802         * scripts/bench.pl: Add support for new directives.
51804 2013-10-07  Alan Modra  <amodra@gmail.com>
51806         * README: Fix careless merge.
51808 2013-10-05  Alan Modra  <amodra@gmail.com>
51810         * NEWS: Mention powerpc64le support and bugs fixed.
51811         * README: Both big-endian and little-endian powerpc64 supported.
51813 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51815         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51816         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51817         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51818         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51820 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51822         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51823         match prototype.
51825 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51827         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51828         Move -mhard-float appending from
51829         ports/sysdeps/powerpc/powerpc32/Makefile.
51830         [$(with-fp) = yes] (ASFLAGS): Likewise.
51831         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51832         * sysdeps/powerpc/nofpu: Move directory from
51833         ports/sysdeps/powerpc/nofpu.
51834         * sysdeps/powerpc/soft-fp: Move directory from
51835         ports/sysdeps/powerpc/soft-fp.
51836         * sysdeps/powerpc/powerpc32/405: Move directory from
51837         ports/sysdeps/powerpc/powerpc32/405.
51838         * sysdeps/powerpc/powerpc32/440: Move directory from
51839         ports/sysdeps/powerpc/powerpc32/440.
51840         * sysdeps/powerpc/powerpc32/464: Move directory from
51841         ports/sysdeps/powerpc/powerpc32/464.
51842         * sysdeps/powerpc/powerpc32/476: Move directory from
51843         ports/sysdeps/powerpc/powerpc32/476.
51844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51853         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51854         * README: Update for powerpc-*-linux-gnu software floating point
51855         support in libc.
51857         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51858         case to powerpc/powerpc32*.
51859         * sysdeps/unix/sysv/linux/configure: Regenerated.
51861         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51862         (_FPU_MASK_OM): Define as 0x04.
51863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51865         0x00c10080.
51866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51867         0x0000003c.
51868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51871         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51872         getcontext_e500.
51873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51874         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51875         setcontext_e500.
51876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51877         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51878         and setcontext_e500.
51880 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51882         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51884 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51886         * manual/threads.texi (Default Thread Attributes): Fix typo.
51888 2013-10-04  Will Newton  <will.newton@linaro.org>
51890         * malloc/Makefile: Add tst-memalign.
51891         * malloc/tst-memalign.c: New file.
51893         * malloc/tst-posix_memalign.c: Add comments.
51894         (do_test): Add comments and call free on all potentially
51895         allocated pointers. Add space after cast.
51897         * malloc/tst-pvalloc.c: Add comments.
51898         (do_test): Add comments and call free on all potentially
51899         allocated pointers. Remove duplicate check for NULL pointer.
51900         Add space after cast.
51902         * malloc/tst-valloc.c: Add comments.
51903         (do_test): Add comments and call free on all potentially
51904         allocated pointers. Remove duplicate check for NULL pointer.
51905         Add space after cast.
51907 2013-10-04  Alan Modra  <amodra@gmail.com>
51909         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51910         Use stdint types in rather than __attribute__((mode())).
51911         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51913 2013-10-04  Alan Modra  <amodra@gmail.com>
51915         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51916         Correct handling of unaligned relocs for little-endian.
51917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51919 2013-10-04  Alan Modra  <amodra@gmail.com>
51921         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51922         * configure: Regenerate.
51923         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51924         * shlib-versions: Likewise.
51926 2013-10-04  Alan Modra  <amodra@gmail.com>
51928         * string/tester.c (test_memrchr): Increment reported test cycle.
51930 2013-10-04  Alan Modra  <amodra@gmail.com>
51932         * string/test-memcpy.c (do_one_test): When reporting errors, print
51933         string address and don't overrun end of string.
51935 2013-10-04  Alan Modra  <amodra@gmail.com>
51937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51938         insrdi.  Make better use of reg selection to speed exit slightly.
51939         Schedule entry path a little better.  Remove useless "are we done"
51940         checks on entry to main loop.  Handle wrapping around zero address.
51941         Correct main loop count.  Handle single left-over word from main
51942         loop inline rather than by using loop_small.  Remove extra word
51943         case in loop_small caused by wrong loop count.  Add little-endian
51944         support.
51945         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51946         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51947         cache hint.
51948         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51949         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51950         support.  Avoid rlwimi.
51951         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51953 2013-10-04  Alan Modra  <amodra@gmail.com>
51955         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51956         insrdi.  Formatting.
51957         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51958         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51959         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51960         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51961         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51962         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51964 2013-10-04  Alan Modra  <amodra@gmail.com>
51966         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51969         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51970         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51971         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51972         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51973         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51974         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51975         use of regs.  Use power7 mtocrf.  Tidy function tails.
51977 2013-10-04  Alan Modra  <amodra@gmail.com>
51979         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51980         Formatting.  Consistently use rXXX register defines or rN defines.
51981         Use early exit labels that avoid restoring unused non-volatile regs.
51982         Make cr field use more consistent with rWORDn compares.  Rename
51983         regs used as shift registers for unaligned loop, using rN defines
51984         for short lifetime/multiple use regs.
51985         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51986         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51987         addi 1,1,64 to pop stack frame.  Simplify return value code.
51988         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51990 2013-10-04  Alan Modra  <amodra@gmail.com>
51992         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51993         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51994         rather than rlwimi.
51995         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51996         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51997         little-endian support.  Correct typos.
51998         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51999         rather than rlwimi.
52000         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52001         in loop and entry code to keep "and." results.
52002         (strchr): Add little-endian support.  Comment.  Move cntlzd
52003         earlier in tail.
52004         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52006 2013-10-04  Alan Modra  <amodra@gmail.com>
52008         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52009         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52010         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52011         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52013 2013-10-04  Alan Modra  <amodra@gmail.com>
52015         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52016         (rTMP): Define as r11.
52017         (strcmp): Add little-endian support.  Optimise tail.
52018         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52019         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52020         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52021         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52022         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52023         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52024         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52026 2013-10-04  Alan Modra  <amodra@gmail.com>
52028         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52029         little-endian support.  Remove unnecessary "are we done" tests.
52030         Handle "s" wrapping around zero and extremely large "size".
52031         Correct main loop count.  Handle single left-over word from main
52032         loop inline rather than by using small_loop.  Correct comments.
52033         Delete "zero" tail, use "end_max" instead.
52034         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52036 2013-10-04  Alan Modra  <amodra@gmail.com>
52038         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52039         support.  Don't branch over align.
52040         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52041         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52042         support.  Rearrange tmp reg use to suit.  Comment.
52043         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52045 2013-10-04  Alan Modra  <amodra@gmail.com>
52047         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52049 2013-10-04  Alan Modra  <amodra@gmail.com>
52051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52052         conditional form of branch and link when obtaining pc.
52053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52055 2013-10-04  Alan Modra  <amodra@gmail.com>
52057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52058         HIWORD/LOWORD.
52059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52062 2013-10-04  Alan Modra  <amodra@gmail.com>
52064         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52065         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52066         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52067         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52068         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52069         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52070         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52071         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52072         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52073         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52075 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52076             Alistair Popple <alistair@ozlabs.au.ibm.com>
52077             Alan Modra <amodra@gmail.com>
52079         [BZ #15723]
52080         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52081         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52082         _dl_hwcap access for little-endian.
52083         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52084         destroy vmx regs when saving unaligned.
52085         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52086         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52087         destroy vmx regs when saving unaligned.
52089 2013-10-04  Alan Modra  <amodra@gmail.com>
52091         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52092         Don't use a union to pack hi/low value.
52094 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52096         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52097         for little-endian.
52098         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52099         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52100         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52101         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52102         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52104 2013-10-04  Alan Modra  <amodra@gmail.com>
52106         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52107         constants to usual value for .cst8 section, and remove redundant
52108         high address load.
52109         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52110         constant for 0x1p52.  Load little-endian words of double from
52111         correct stack offsets.
52113 2013-10-04  Alan Modra  <amodra@gmail.com>
52115         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52116         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52117         words of double from correct stack offsets.
52118         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52119         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52120         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52123         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52124         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52125         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52126         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52127         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52130         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52131         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52132         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52133         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52134         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52136 2013-10-04  Alan Modra  <amodra@gmail.com>
52138         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52139         64-bit int/double union.
52140         (_FPU_SETCW): Likewise.
52141         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52142         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52144 2013-10-04  Alan Modra  <amodra@gmail.com>
52146         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52147         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52149 2013-10-04  Alan Modra  <amodra@gmail.com>
52151         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52152         use vector int constants.
52153         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52155 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52157         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52158         array with long long.
52159         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52160         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52161         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52162         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52163         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52164         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52165         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52166         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52167         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52168         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52169         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52170         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52171         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52173 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52175         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52176         (__signbit): Likewise.  Correct for little-endian.
52177         (__signbitl): Call __signbit.
52178         (lrint): Correct for little-endian.
52179         (lrintf): Call lrint.
52181 2013-10-04  Alan Modra  <amodra@gmail.com>
52183         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52184         union 32-bit int array member with 64-bit int array.
52185         (t515, tm256): Double rather than long double.
52186         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52188 2013-10-04  Alan Modra  <amodra@gmail.com>
52190         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52191         Delete.
52192         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52194         version of math_ldbl.h.
52196 2013-10-04  Alan Modra  <amodra@gmail.com>
52198         [BZ #15734], [BZ #15735]
52199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52200         all uses of ieee875 long double macros and unions.  Simplify test
52201         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52202         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52203         normalize after ldbl_extract_mantissa, and don't add hidden bit
52204         already handled.  Don't treat low word of ieee854 mantissa like
52205         low word of IBM long double and mask off bit when testing for
52206         zero.
52207         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52208         all uses of ieee875 long double macros and unions.  Simplify tests
52209         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52210         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52211         two1022, instead use their values.  Recognise that tests for large
52212         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52213         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52214         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52215         test for 0.0L and nan.  Correct negation.
52216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52217         ieee875 long double macros and unions.  Correct output for large
52218         magnitude x.  Correct absolute value calculation.
52219         (__erfcl): Likewise.
52220         * math/libm-test.inc: Add tests for errors discovered in IBM long
52221         double versions of fmodl, remainderl, erfl and erfcl.
52223 2013-10-04  Alan Modra  <amodra@gmail.com>
52225         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52226         all uses of ieee854 long double macros and unions.  Simplify tests
52227         for long doubles that are fully specified by the high double.
52228         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52229         Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52231         Remove dead code too.
52232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52233         (__ieee754_ynl): Likewise.
52234         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52235         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52237         Remove dead code too.
52238         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52239         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52240         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52241         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52242         Simplify.
52243         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52244         Simplify.
52245         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52246         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52247         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52248         Comment on variable precision.
52249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52251         Likewise.
52252         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52253         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52254         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52255         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52256         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52258 2013-10-04  Alan Modra  <amodra@gmail.com>
52260         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52261         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52262         all uses of ieee854 long double macros and unions.
52263         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52264         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52265         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52266         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52267         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52268         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52269         Likewise.
52270         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52271         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52272         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52273         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52274         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52275         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52276         Simplify sign and nan test too.
52277         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52278         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52279         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52280         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52281         Likewise.
52282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52283         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52284         Likewise.
52285         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52286         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52287         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52288         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52289         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52290         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52292 2013-10-04  Alan Modra  <amodra@gmail.com>
52294         * stdio-common/printf_size.c (__printf_size): Don't use
52295         union ieee854_long_double in fpnum union.
52296         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52297         signbit macro to retrieve sign from long double.
52298         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52299         retrieve sign from long double.
52300         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52301         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52302         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52303         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52304         * math/test-misc.c (main): Don't use union ieee854_long_double.
52306 2013-10-04  Alan Modra  <amodra@gmail.com>
52308         [BZ #15680]
52309         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52310         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52311         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52312         calculation.  Remove unnecessary test for denormal exponent.
52313         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52314         Correct handling of denormals.  Avoid undefined shift behaviour.
52315         Correct normalisation of low mantissa when low double is denormal.
52316         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52317         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52318         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52319         Correct normalisation of low mantissa.  Test for overflow of high
52320         mantissa and normalise.
52321         (ldbl_nearbyint): Use more readable constant for two52.
52322         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52323         (__mpn_construct_long_double): Fix test for overflow of high
52324         mantissa and correct normalisation.  Avoid undefined shift.
52326 2013-10-04  Alan Modra  <amodra@gmail.com>
52328         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52329         (union ibm_extended_long_double): Define as an array of ieee754_double.
52330         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52332         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52333         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52334         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52335         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52337         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52338         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52339         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52340         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52342 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52344         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52345         page size instead of calling getpagesize.
52347         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52348         (LOCFILE_ALIGN_MASK): Likewise.
52349         (LOCFILE_ALIGN_UP): Likewise.
52350         (LOCFILE_ALIGNED_P): Likewise.
52351         * locale/programs/ld-collate.c (collate_output): Use the new
52352         macros instead of __alignof__ (int32_t).
52353         * locale/weight.h (findidx): Likewise.
52355 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52357         [BZ #431]
52358         * manual/string.texi: Fix strncat and wcsncat.
52360 2013-10-03  Brooks Moses  <bmoses@google.com>
52362         [BZ #15915]
52363         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52364         * Makerules: ...here, and adjust associated comments.
52366 2013-10-02  Will Newton  <will.newton@linaro.org>
52368         * malloc/Makefile: Add tst-pvalloc.
52369         * malloc/tst-pvalloc.c: New file.
52371 2013-10-02  Will Newton  <will.newton@linaro.org>
52373         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52374         improve test coverage.
52376 2013-10-02  Will Newton  <will.newton@linaro.org>
52378         * malloc/Makefile: Add tst-posix_memalign.
52379         * malloc/tst-posix_memalign.c: New file.
52381 2013-10-01  Eric Blake  <eblake@redhat.com>
52383         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52384         Use __THROWNL rather than __THROW on static functions.
52386 2013-09-30  Petr Machata  <pmachata@redhat.com>
52388         * elf/elf.h (R_AARCH64_ABS16): New macro.
52389         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52390         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52391         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52392         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52393         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52394         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52395         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52396         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52397         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52398         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52399         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52400         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52401         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52402         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52403         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52404         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52405         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52406         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52407         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52408         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52409         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52410         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52411         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52412         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52413         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52414         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52415         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52416         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52417         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52418         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52419         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52420         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52421         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52422         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52423         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52424         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52425         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52426         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52427         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52428         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52429         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52430         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52431         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52432         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52433         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52434         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52435         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52436         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52437         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52438         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52439         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52440         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52441         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52442         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52443         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52444         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52445         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52446         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52447         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52448         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52449         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52450         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52451         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52452         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52453         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52454         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52455         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52456         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52457         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52458         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52459         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52460         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52461         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52462         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52463         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52464         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52465         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52466         (R_AARCH64_TLSDESC_LDR): Likewise.
52467         (R_AARCH64_TLSDESC_ADD): Likewise.
52468         (R_AARCH64_TLSDESC_CALL): Likewise.
52470 2013-09-30  Andreas Schwab  <schwab@suse.de>
52472         [BZ #15048]
52473         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52474         the nss database lookup.
52475         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52476         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52478 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52480         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52482 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52484         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52485         ${Bash-specific parameter/pattern/string} parameter expansion.
52486         * sysdeps/unix/make-syscalls.sh: Likewise.
52488 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52490         * sysdeps/sh/stackguard-macros.h: New file.
52492 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52496         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52497         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52498         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52499         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52501 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52503         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52504         Fix thread ID register.
52506 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52508         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52509         [POSIX || UNIX98]: Require rather than permitting all symbols from
52510         <time.h>.
52511         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52512         element of struct sched_param.
52513         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52514         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52515         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52516         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52517         constant.
52519 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52521         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52522         argument calculation.
52524 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52526         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52527         Expect macro.
52528         [POSIX] (pthread_attr_t): Do not require type.
52529         [POSIX] (pthread_cond_t): Likewise.
52530         [POSIX] (pthread_condattr_t): Likewise.
52531         [POSIX] (pthread_key_t): Likewise.
52532         [POSIX] (pthread_mutex_t): Likewise.
52533         [POSIX] (pthread_mutexattr_t): Likewise.
52534         [POSIX] (pthread_once_t): Likewise.
52535         [POSIX] (pthread_t): Likewise.
52536         [POSIX-based standards] (pthread_atfork): Expect function.
52538 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52539             Richard Sandiford  <richard@codesourcery.com>
52541         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52542         (swap_endianness_p): New extern variable.
52543         (set_big_endian): New inline function.
52544         (maybe_swap_uint32): Likewise.
52545         (maybe_swap_uint32_array): Likewise.
52546         (maybe_swap_uint32_obstack): Likewise.
52547         * locale/programs/locfile.c: Include <stdbool.h>.
52548         (swap_endianness_p): New variable.
52549         (add_locale_uint32): Call maybe_swap_uint32.
52550         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52551         (write_locale_data): Call maybe_swap_uint32_array.
52552         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52553         maybe_swap_uint32.
52554         (obstack_int32_grow_fast): Likewise.
52555         (output_weightwc): Call maybe_swap_uint32_obstack.
52556         (collate_output): Likewise.
52557         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52558         (OPT_LITTLE_ENDIAN): Likewise.
52559         (options): Add --little-endian and --big-endian options.
52560         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52561         * locale/programs/locarchive.c: Include "locfile.h".
52562         (GET): New macro.
52563         (SET): Likewise.
52564         (INC): Likewise.
52565         (create_archive): Use the new macros to access fields of
52566         structures directly mapped from or written to locale archives.
52567         (oldlocrecentcmp): Likewise.
52568         (enlarge_archive): Likewise.
52569         (insert_name): Likewise.
52570         (add_alias): Likewise.
52571         (add_locale): Likewise.
52572         (delete_locales_from_archive): Likewise.
52573         (show_archive_content): Likewise.
52574         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52575         locale data.
52577 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52579         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52580         http://www.gnu.org/doc/freemanuals.texi.
52581         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52583 2013-09-24  Will Newton  <will.newton@linaro.org>
52585         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52586         macro.
52588 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52590         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52591         unsigned char.
52593 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52595         * manual/threads.texi (POSIX Threads): Fix a typo.
52597 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52599         [BZ #14547]
52600         * string/tst-strcoll-overflow.c: New test case.
52601         * string/Makefile (xtests): Add tst-strcoll-overflow.
52602         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52603         cache if string sizes may cause integer overflow.
52605         [BZ #14547]
52606         * string/strcoll_l.c (coll_seq): New members rule, idx,
52607         save_idx and back_us.
52608         (get_next_seq_nocache): New function.
52609         (do_compare_nocache): New function.
52610         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52611         when malloc fails.
52613 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52615         [BZ #15754]
52616         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52617         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52618         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52620         [BZ #15754]
52621         * elf/Makefile (tests): Add tst-ptrguard1.
52622         (tests-static): Add tst-ptrguard1-static.
52623         (tst-ptrguard1-ARGS): Define.
52624         (tst-ptrguard1-static-ARGS): Define.
52625         * elf/tst-ptrguard1.c: New file.
52626         * elf/tst-ptrguard1-static.c: New file.
52627         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52628         * sysdeps/i386/stackguard-macros.h: Likewise.
52629         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52630         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52631         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52632         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52633         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52634         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52636 2013-09-23  Hector Marco  <hecmargi@upv.es>
52637             Ismael Ripoll  <iripoll@disca.upv.es>
52638             Carlos O'Donell  <carlos@redhat.com>
52640         [BZ #15754]
52641         * sysdeps/generic/stackguard-macros.h: Define
52642         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52643         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52644         Define __pointer_chk_guard_local.
52645         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52646         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52648 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52650         [BZ #15859]
52651         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52653 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52655         * include/string.h (__ffs): Declare as hidden.
52656         * string/ffs.c (__ffs): Define as hidden.
52657         * sysdeps/i386/ffs.c (__ffs): Likewise.
52658         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52659         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52660         * sysdeps/s390/ffs.c (__ffs): Likewise.
52661         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52663 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52665         * NEWS: Mention malloc probes.
52667         * malloc/arena.c (new_heap): New memory_heap_new probe.
52668         (grow_heap): New memory_heap_more probe.
52669         (shrink_heap): New memory_heap_less probe.
52670         (heap_trim): New memory_heap_free probe.
52671         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52672         (systrim): New memory_sbrk_less probe.
52673         * manual/probes.texi: Document them.
52675         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52676         * manual/probes.texi: Document it.
52678         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52679         (__libc_realloc): Add memory_realloc_retry probe.
52680         (__libc_memalign): Add memory_memalign_retry probe.
52681         (__libc_valloc): Add memory_valloc_retry probe.
52682         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52683         (__libc_calloc): Add memory_calloc_retry probe.
52684         * manual/probes.texi: Document them.
52686         * malloc/arena.c (get_free_list): Add probe
52687         memory_arena_reuse_free_list.
52688         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52689         and memory_arena_reuse.
52690         (arena_get2) [!PER_THREAD]: Likewise.
52691         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52692         memory_arena_reuse_realloc.
52693         * manual/probes.texi: Document them.
52695         * malloc/malloc.c (__libc_free): Add
52696         memory_mallopt_free_dyn_thresholds probe.
52697         (__libc_mallopt): Add multiple memory_mallopt probes.
52698         * manual/probes.texi: Document them.
52700         * malloc/malloc.c: Include stap-probe.h.
52701         (__libc_mallopt): Add memory_mallopt probe.
52702         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52703         * manual/probes.texi: New.
52704         * manual/Makefile (chapters): Add probes.
52705         * manual/threads.texi: Set next node.
52707 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52709         [BZ #15963, #13985]
52710         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52711         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52712         Add `Chinese' to `nan' entry name.
52714 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52716         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52717         (POLYNOMIAL): Likewise.
52718         (TAYLOR_SINCOS): Likewise.
52719         (TAYLOR_SLOW): Likewise.
52720         (__sin): Use TAYLOR_SINCOS.
52721         (__cos): Likewise.
52722         (slow): Use TAYLOR_SLOW.
52723         (sloww): Likewise.
52724         (bsloww): Likewise.
52725         (csloww): Likewise.
52727 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52729         * stdlib/strtod_l.c: Fix buffer overrun.
52731 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52733         * benchtests/Makefile (bench): Add sincos.
52734         * benchtests/bench-sincos.c: New file.
52736         * math/libm-test.inc (cos_test_data): New test inputs.
52737         (sin_test_data): Likewise.
52739         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52740         macro.
52741         (__sin): Use it.
52742         (__cos): Likewise.
52743         (slow1): Likewise.
52744         (slow2): Likewise.
52745         (sloww1): Likewise.
52746         (sloww2): Likewise.
52747         (bsloww1): Likewise.
52748         (bsloww2): Likewise.
52749         (cslow2): Likewise.
52750         (csloww1): Likewise.
52751         (csloww2): Likewise.
52753         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52754         function.
52755         (__sin): Use it.
52756         (__cos): Likewise.
52758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52759         gotos.
52760         (__cos): Likewise.
52762 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52764         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52765         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52766         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52767         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52768         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52769         * elf/cache.c (print_entry): Handle the new cache flags.
52771 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52772             Aldy Hernandez  <aldyh@redhat.com>
52774         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52775         Change condition to [_SOFT_FLOAT].
52776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52788         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52791         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52792         declaration.
52794 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52796         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52797         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52798         (__longjmp): Use LOAD_GP to load saved GPRs.
52799         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52800         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52801         (__sigsetjmp): Use SAVE_GP to save GPRs.
52803         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52804         Do not append -msoft-float.
52805         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52807 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52809         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52811 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52813         [BZ #15966]
52814         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52815         (_FPU_GETCW): Use initial "__" on variable and field names but not
52816         on macro parameter name.
52817         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52818         parentheses around reference to macro parameter.
52820 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52822         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52823         prototype.
52824         (ctype_startup): Use uint32_t in cast and sizeof for
52825         ctype->charnames.
52827 2013-09-11  Jia Liu  <proljc@gmail.com>
52829         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52830         __daddr_t_defined.
52831         [__FreeBSD__]: Likewise.
52833 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52836         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52837         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52838         (strchr): Remove __strchr_sse42 ifunc selection.
52839         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52840         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52842 2013-09-11  Will Newton  <will.newton@linaro.org>
52844         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52845         parameter to RES. Remove hardcoded 1000 value.
52846         * benchtests/bench-skeleton.c (main): Pass RES parameter
52847         to TIMING_INIT and multiply result by 1000.
52849 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52853 2013-09-11  Andreas Schwab  <schwab@suse.de>
52855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52856         if not defined.
52857         (O_TMPFILE) [__USE_GNU]: Define.
52858         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52859         Define.
52861 2013-09-11  Will Newton  <will.newton@linaro.org>
52863         [BZ #15857]
52864         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52865         does not overflow.
52867 2013-09-11  Will Newton  <will.newton@linaro.org>
52869         [BZ #15856]
52870         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52871         does not overflow.
52873 2013-09-11  Will Newton  <will.newton@linaro.org>
52875         [BZ #15855]
52876         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52877         does not overflow.
52879 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52881         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52882         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52883         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52884         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52885         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52887 2013-09-10  Allan McRae  <allan@archlinux.org>
52889         [BZ #15748]
52890         * manual/arith.texi (Parsing of Floats): Clarify
52891         cross-reference.
52893         [BZ #15849]
52894         * manual/install.texi (Running make install): Mention
52895         --enable-pt-chown.
52896         * INSTALL: Regenerated.
52898 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52900         * csu/init-first.c (_init): Remove the !SHARED condition around
52901         FPU control word initialization.
52902         * elf/dl-support.c (_dl_fpu_control): New variable.
52903         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52904         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52905         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52906         * math/test-fpucw-static.c: New file.
52907         * math/test-fpucw-ieee.c: New file.
52908         * math/test-fpucw-ieee-static.c: New file.
52909         * math/Makefile (tests): Add `test-fpucw-ieee' and
52910         `$(tests-static)'.
52911         (tests-static): New variable.
52912         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52913         dependency to...
52914         [($(build-shared),yes)]
52915         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52916         ... this.
52917         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52918         New dependency.
52920 2013-09-09  Allan McRae  <allan@archlinux.org>
52922         [BZ #15939]
52923         * manual/string.texi (Collation Functions): Fix typo in
52924         strcoll example.
52925         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52927         [BZ #15893]
52928         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52930         [BZ #15892]
52931         * libio/memstream.c (open_memstream): Fix memory leak.
52932         * libio/wmemstream.c (open_wmemstream): Likewise.
52934         [BZ #15895]
52935         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52937 2013-09-09  Will Newton  <will.newton@linaro.org>
52939         * malloc/Makefile: Add tst-realloc to tests.
52940         * malloc/tst-realloc.c: New file.
52942 2013-09-09  Allan McRae  <allan@archlinux.org>
52944         [BZ #15844]
52945         * COPYING: Update from GNU website to fix FSF address.
52946         * COPYING.LIB: Likewise.
52948 2013-09-06  David S. Miller  <davem@davemloft.net>
52950         * po/zh_TW.po: Update Chinese (traditional) translation from
52951         translation project.
52953 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52954             Joseph Myers  <joseph@codesourcery.com>
52956         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52957         "localeinfo.h".
52958         (obstack_chunk_alloc): New macro.
52959         (obstack_chunk_free): Likewise.
52960         (record_offset): New function.
52961         (init_locale_data): Likewise.
52962         (align_locale_data): Likewise.
52963         (add_locale_empty): Likewise.
52964         (add_locale_raw_data): Likewise.
52965         (add_locale_raw_obstack): Likewise.
52966         (add_locale_string): Likewise.
52967         (add_locale_wstring): Likewise.
52968         (add_locale_uint32): Likewise.
52969         (add_locale_uint32_array): Likewise.
52970         (add_locale_char): Likewise.
52971         (start_locale_structure): Likewise.
52972         (end_locale_structure): Likewise.
52973         (start_locale_prelude): Likewise.
52974         (end_locale_prelude): Likewise.
52975         (write_locale_data): Take locale_file structure rather than an
52976         iovec.
52977         * locale/programs/locfile.h: Include "obstack.h".
52978         (struct locale_file): Change to store locale file contents instead
52979         of header.
52980         (init_locale_data): New prototype.
52981         (align_locale_data): Likewise.
52982         (add_locale_empty): Likewise.
52983         (add_locale_raw_data): Likewise.
52984         (add_locale_raw_obstack): Likewise.
52985         (add_locale_string): Likewise.
52986         (add_locale_wstring): Likewise.
52987         (add_locale_uint32): Likewise.
52988         (add_locale_uint32_array): Likewise.
52989         (add_locale_char): Likewise.
52990         (start_locale_structure): Likewise.
52991         (end_locale_structure): Likewise.
52992         (start_locale_prelude): Likewise.
52993         (end_locale_prelude): Likewise.
52994         (write_locale_data): Update prototype.
52995         * locale/programs/3level.h (struct TABLE): Remove result field.
52996         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52997         Use new locale_file interface.
52998         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52999         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53000         * locale/programs/ld-address.c (address_output): Use new
53001         locale_file interface.
53002         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53003         NO_ADD_LOCALE.
53004         (collate_finish): Don't call collseq_table_finalize.
53005         (collate_output): Use new locale_file interface.
53006         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53007         in file.
53008         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53009         (TABLE): Move defines earlier in file.
53010         (ELEMENT): Likewise.
53011         (DEFAULT): Likewise.
53012         (wctrans_table_add): Move macro and inline function earlier in
53013         file.
53014         (struct wctype_table): Move type earlier in file.
53015         (add_locale_wctype_table): New static prototype.
53016         (struct locale_ctype_t): Use logical types instead of struct iovec
53017         pointers for members.
53018         (ctype_output): Use new locale_file interface.
53019         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53020         new locale_file interface.
53021         (allocate_arrays): Update for use of new locale_file interface.
53022         * locale/programs/ld-identification.c (identification_output): Use
53023         new locale_file interface.
53024         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53025         * locale/programs/ld-messages.c (messages_output): Likewise.
53026         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53027         * locale/programs/ld-name.c (name_output): Likewise.
53028         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53029         * locale/programs/ld-paper.c (paper_output): Likewise.
53030         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53031         * locale/programs/ld-time.c (time_output): Likewise.
53033 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53035         * benchtests/Makefile: Add memrchr benchmark.
53036         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53037         benchmark as memrchr.
53038         * benchtests/bench-memrchr-ifunc.c: New file.
53039         * benchtests/bench-memrchr.c: New file.
53041 2013-09-06   Will Newton  <will.newton@linaro.org>
53043         * benchtests/Makefile (string-bench): Add memcpy.
53045 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53046             Cong Wang  <amwang@redhat.com>
53048         [BZ #15850]
53049         * sysdeps/unix/sysv/linux/bits/in.h
53050         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53051         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53052         before __USE_KERNEL_IPV6_DEFS uses.
53053         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53054         IPPROTO_BEETPH.
53055         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53056         sockaddr_in6, or ipv6_mreq.
53058 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53060         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53061         memory access for final bytes in some large inputs.
53062         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53064 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53066         * string/test-memrchr.c: New file.
53067         * string/test-memrchr-ifunc.c: New file.
53068         * string/Makefile: Add new memrchr testcase.
53070 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53072         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53073         fanotify_init returns EPERM.
53075 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53077         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53078         errors.
53079         (top level): Treat second token from macro or constant entries for
53080         allowed headers as allowed.
53081         * include/complex.h: Condition internal declarations on
53082         [!_ISOMAC].
53083         * include/fenv.h: Condition include of <stdbool.h> and internal
53084         declarations on [!_ISOMAC].
53086 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53088         [BZ #15923]
53089         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53091 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53093         * configure.in (--enable-versioning): Remove configure option.
53094         (libc_cv_asm_symver_directive): Remove configure test.
53095         (libc_cv_ld_version_script_option): Likewise.
53096         (VERSIONING): Remove variable and AC_SUBST.
53097         (DO_VERSIONING): Remove AC_DEFINE.
53098         * configure: Regenerated.
53099         * config.h.in (DO_VERSIONING): Remove macro.
53100         * Makerules [$(versioning) = yes]: Change conditionals to
53101         [$(build-shared) = yes].
53102         * config.make.in (versioning): Remove variable.
53103         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53104         [$(build-shared) = yes].
53105         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53106         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53107         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53108         [$(build-shared) = yes].
53109         * extra-lib.mk [$(versioning) = yes]: Likewise.
53110         * hurd/Makefile [$(versioning) = yes]: Likewise.
53111         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53112         [SHARED].
53113         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53114         [SHARED].
53115         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53116         [SHARED && !NO_HIDDEN].
53117         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53118         [SHARED].
53119         [SHARED && DO_VERSIONING]: Likewise..
53120         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53121         [$(build-shared) = yes].
53122         * manual/install.texi (--disable-versioning): Remove
53123         documentation.
53124         * INSTALL: Regenerated.
53125         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53126         to [SHARED].
53127         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53128         [$(build-shared) = yes].
53129         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53130         * sysdeps/i386/i686/multiarch/strstr-c.c
53131         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53132         [SHARED && !NO_HIDDEN].
53133         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53134         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53135         * sysdeps/powerpc/powerpc32/dl-machine.c
53136         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53137         * sysdeps/powerpc/powerpc32/sysdep.h
53138         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53139         to [SHARED && PIC && !NO_HIDDEN].
53140         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53141         conditional to [SHARED].
53143 2013-09-04   Will Newton  <will.newton@linaro.org>
53145         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53146         * benchtests/bench-string.h: Include bench-timing.h instead
53147         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53148         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53149         call to HP_TIMING_DIFF_INIT.
53150         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53151         instead of hp-timing.h macros.
53152         * benchtests/bench-memchr.c: Likewise.
53153         * benchtests/bench-memcmp.c: Likewise.
53154         * benchtests/bench-memcpy.c: Likewise.
53155         * benchtests/bench-memmem.c: Likewise.
53156         * benchtests/bench-memmove.c: Likewise.
53157         * benchtests/bench-memset.c: Likewise.
53158         * benchtests/bench-rawmemchr.c: Likewise.
53159         * benchtests/bench-strcasecmp.c: Likewise.
53160         * benchtests/bench-strcasestr.c: Likewise.
53161         * benchtests/bench-strcat.c: Likewise.
53162         * benchtests/bench-strchr.c: Likewise.
53163         * benchtests/bench-strcmp.c: Likewise.
53164         * benchtests/bench-strcpy.c: Likewise.
53165         * benchtests/bench-strcpy_chk.c: Likewise.
53166         * benchtests/bench-strlen.c: Likewise.
53167         * benchtests/bench-strncasecmp.c: Likewise.
53168         * benchtests/bench-strncat.c: Likewise.
53169         * benchtests/bench-strncmp.c: Likewise.
53170         * benchtests/bench-strncpy.c: Likewise.
53171         * benchtests/bench-strnlen.c: Likewise.
53172         * benchtests/bench-strpbrk.c: Likewise.
53173         * benchtests/bench-strrchr.c: Likewise.
53174         * benchtests/bench-strspn.c: Likewise.
53175         * benchtests/bench-strstr.c: Likewise.
53177 2013-09-04  Will Newton  <will.newton@linaro.org>
53179         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53181 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53183         [BZ #15427]
53184         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53185         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53186         * math/libm-test.inc (lgamma_test_data): Add more tests.
53187         * sysdeps/i386/fpu/libm-test-ulps: Update.
53188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53190 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53192         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53194         Add ifunc.
53195         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53196         Add strcmp-sse2-unaligned
53197         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53199 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53201         * Versions.def (libc): Add GLIBC_2.19.
53203 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53205         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53206         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53208 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53210         [BZ #14155]
53211         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53212         intermediate calculations in recurrence.
53213         (__ieee754_ynf): Likewise.
53214         * math/libm-test.inc (jn_test_data): Do not allow spurious
53215         underflow exception.  Add more tests.
53216         (yn_test_data): Add more tests.
53217         * sysdeps/i386/fpu/libm-test-ulps: Update.
53218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53220 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53222         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53224 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53226         * csu/init-first.c: Fix then/than typos.
53227         * locale/programs/ld-collate.c: Likewise.
53228         * locale/programs/linereader.h: Likewise.
53229         * manual/charset.texi: Likewise.
53230         * manual/filesys.texi: Likewise.
53231         * manual/stdio.texi: Likewise.
53232         * manual/string.texi: Likewise.
53233         * stdlib/fmtmsg.c: Likewise.
53234         * sysdeps/i386/stpncpy.S: Likewise.
53235         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53236         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53237         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53238         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53240 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53242         * elf/dl-open.c: Fix typos.
53243         * iconvdata/gbbig5.c: Likewise.
53244         * iconvdata/iso-2022-jp.c: Likewise.
53245         * iconv/gconv_int.h: Likewise.
53246         * iconv/loop.c: Likewise.
53247         * nis/rpcsvc/nis.h: Likewise.
53248         * resolv/ns_name.c: Likewise.
53249         * stdio-common/vfscanf.c: Likewise.
53250         * streams/stropts.h: Likewise.
53251         * sunrpc/rpc_thread.c: Likewise.
53252         * sysdeps/i386/strpbrk.S: Likewise.
53253         * sysdeps/ieee754/k_standard.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53256         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53257         * sysdeps/mach/hurd/profil.c: Likewise.
53258         * sysdeps/s390/dl-procinfo.h: Likewise.
53259         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53260         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53261         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53262         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53265 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53267         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53268         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53270 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53273         aix specific files.
53274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53277         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53278         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53279         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53280         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53281         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53283 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53284             Roland McGrath  <roland@hack.frob.com>
53286         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53287         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53289 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53291         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53292         __executable_start symbol instead of _start.
53294 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53296         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53297         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53298         Move macros to...
53299         * sysdeps/gnu/ldsodefs.h: ... this new file.
53301         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53302         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53303         instead of ELFOSABI_LINUX.
53305         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53306         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53307         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53308         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53309         Likewise.
53310         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53311         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53312         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53313         Likewise.
53314         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53315         (ibm_extended_long_double): Add ieee_nan member.
53316         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53317         (do_test): New function.
53319         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53320         TEST_TRUNC.
53321         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53322         functions, renamed from truncdfsf_test, trunctfsf_test,
53323         trunctfdf_test.
53324         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53325         functions.
53326         (do_test): Run all these.
53328 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53330         * argp/argp-help.c: Fix typos.
53331         * argp/argp-parse.c: Likewise.
53332         * debug/backtracesyms.c: Likewise.
53333         * elf/elf.h: Likewise.
53334         * malloc/malloc.c: Likewise.
53335         * nis/nis_print.c: Likewise.
53336         * resolv/res_comp.c: Likewise.
53337         * stdlib/stdlib.h: Likewise.
53338         * sunrpc/clnt_tcp.c: Likewise.
53339         * sunrpc/clnt_udp.c: Likewise.
53340         * sunrpc/clnt_unix.c: Likewise.
53341         * sysdeps/unix/bsd/ptsname.c: Likewise.
53342         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53343         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53345         Likewise.
53346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53347         Likewise.
53348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53349         Likewise.
53350         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53352 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53354         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53357 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53359         [BZ #15897]
53360         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53361         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53362         ($(objpfx)bug-dl-leaf): New rule.
53363         ($(objpfx)bug-dl-leaf.so): Likewise.
53364         ($(objpfx)bug-dl-leaf.out): Likewise.
53365         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53366         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53367         * dlfcn/bug-dl-leaf.c: New test.
53368         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53369         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53370         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53371         (dlclose): Likewise.
53372         (dlmopen): Likewise.
53374 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53376         * include/netdb.h [!_ISOMAC]:
53377         Don't include <tls.h>.
53378         (h_errno, __libc_h_errno): Move declaration and macros out of
53379         [_LIBC_REENTRANT].
53381         * include/resolv.h [_RESOLV_H_]:
53382         Don't include <tls.h>.
53383         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53384         * resolv/res_libc.c: Don't include <tls.h>.
53385         (_res): Use __attribute__ ((nocommon)) in place of
53386         __attribute__ ((section (".bss"))).
53388         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53389         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53391         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53393         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53394         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53396         * resolv/res_mkquery.c: Include <sys/time.h>.
53398         * inet/ifreq.c: Moved to ...
53399         * sysdeps/unix/ifreq.c: ... here.
53400         * inet/ifreq.c: New file, true stub version.
53402         * socket/sa_len.c: New file.
53403         * socket/Makefile (aux): Add it.
53404         * sysdeps/unix/sysv/linux/Makefile
53405         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53406         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53407         and #include <socket/sa_len.c>.
53408         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53409         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53411         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53412         * bits/socket.h: ... here.
53414         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53415         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53416         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53418 2013-08-27  Andreas Schwab  <schwab@suse.de>
53420         [BZ #15736]
53421         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53422         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53423         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53424         * string/test-strcasecmp.c (test_main): Run tests in several
53425         locales.
53426         * string/test-strncasecmp.c (test_main): Likewise.
53428         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53429         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53430         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53431         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53432         (__strncasecmp_ssse3) [PIC]: Likewise.
53434 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53436         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53438         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53439         instead of explicitly declaring xdecrypt.
53440         * nis/nss_nis/nis-publickey.c: Likewise.
53442 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53444         [BZ #15890]
53445         * nscd/aicache.c: Include res_hconf.h.
53446         (addhstaiX): Initialize res_hconf.
53448 2013-08-26  Andreas Schwab  <schwab@suse.de>
53450         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53451         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53453 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53455         * nscd/aicache.c (addhstaiX): Fix indentation.
53457 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53459         * configure.ac: Quote $build_pt_chown test.
53460         * configure: Regenerated.
53462 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53464         [BZ #15532]
53465         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53466         * math/s_cexpf.c (__cexpf): Likewise.
53467         * math/s_cexpl.c (__cexpl): Likewise.
53468         * math/libm-test.inc (cexp_test_data): Correct expected return
53469         value for NaN + i0.  Add another test.
53471 2013-08-22  David S. Miller  <davem@davemloft.net>
53473         * po/ca.po: Update Catalan translation from translation project.
53474         * po/uk.po: Add Ukrainian translations from translation project.
53476 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53478         [BZ #15797]
53479         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53480         is infinite, not alongside NaN test.
53481         * math/s_fdimf.c (__fdimf): Likewise.
53482         * math/s_fdiml.c (__fdiml): Likewise.
53483         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53484         errno is unchanged.
53486 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53488         * argp/argp-help.c: Fix typos.
53489         * crypt/speeds.c: Likewise.
53490         * csu/check_fds.c: Likewise.
53491         * elf/dl-load.c: Likewise.
53492         * elf/dl-open.c: Likewise.
53493         * elf/reldep3.c: Likewise.
53494         * elf/reldep.c: Likewise.
53495         * elf/sprof.c: Likewise.
53496         * iconv/iconv_charmap.c: Likewise.
53497         * iconv/skeleton.c: Likewise.
53498         * iconv/strtab.c: Likewise.
53499         * io/lockf64.c: Likewise.
53500         * libio/libioP.h: Likewise.
53501         * resolv/gai_notify.c: Likewise.
53502         * resolv/ns_name.c: Likewise.
53503         * resolv/ns_samedomain.c: Likewise.
53504         * resolv/res_send.c: Likewise.
53505         * stdlib/random.c: Likewise.
53506         * sunrpc/rpc/xdr.h: Likewise.
53507         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53508         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53509         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53510         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53511         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53512         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53513         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53514         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53515         * sysdeps/mach/hurd/check_fds.c: Likewise.
53516         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53517         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53518         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53519         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53520         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53521         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53522         * sysdeps/pthread/aio_notify.c: Likewise.
53523         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53524         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53525         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53526         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53527         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53529 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53531         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53532         version if bit_Slow_SSE4_2 is set.
53533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53534         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53536 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53538         [BZ #15867]
53539         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53540         trampoline stack frame information.
53541         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53542         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53543         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53544         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53545         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53546         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53547         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53548         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53549         sa_flags value.
53550         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53551         interrupting a syscall and set with option SA_SIGINFO.
53553 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53555         [BZ #15531]
53556         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53557         argument is infinite.
53558         * math/s_cprojf.c (__cprojf): Likewise.
53559         * math/s_cprojl.c (__cprojl): Likewise.
53560         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53561         * math/libm-test.inc (cproj_test_data): Add more tests.
53563         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53565         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53566         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53567         size.  Use __ffs to determine corresponding shift.
53569 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53570             Roland McGrath  <roland@hack.frob.com>
53572         * Makefile (INSTALL): Remove trailing blank lines from output of
53573         makeinfo.
53575 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53577         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53578         Align 32 bit compat elf_greg to 8 bytes.
53580 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53582         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53584 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53586         * string/strcoll_l.c (coll_seq): New structure.
53587         (get_next_seq_cached): New function.
53588         (get_next_seq): New function.
53589         (do_compare): New function.
53590         (STRCOLL): Use GNU style definition.  Simplify implementation
53591         by using get_next_seq, get_next_seq_cached and do_compare.
53593 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53595         [BZ #14699]
53596         CVE-2013-4237
53597         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53598         member.
53599         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53600         member.
53601         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53602         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53603         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53604         conditional.
53605         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53606         GETDENTS_64BIT_ALIGNED.
53607         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53608         * manual/filesys.texi (Reading/Closing Directory): Document
53609         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53610         strongly.
53611         * manual/conf.texi (Limits for Files): Add portability note to
53612         NAME_MAX, PATH_MAX.
53613         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53615 2013-08-13  Andreas Schwab  <schwab@suse.de>
53617         [BZ #15749]
53618         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53619         of fabs.
53620         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53621         LDBL_MAX_EXP >= 16384]: Add tests for it.
53623 2013-08-12  David S. Miller  <davem@davemloft.net>
53625         * version.h (RELEASE): Set to "development".
53626         (VERSION): Set to "2.18.90".
53627         * NEWS: Add 2.19 section.
53629 2013-08-03  David S. Miller  <davem@davemloft.net>
53631         * po/ko.po: Update Korean translation from translation project.
53633 2013-08-01  David S. Miller  <davem@davemloft.net>
53635         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53636         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53637         Bilka.
53639 2013-07-30  David S. Miller  <davem@davemloft.net>
53641         * po/fr.po: Update French translation from translation project.
53643 2013-07-28  David S. Miller  <davem@davemloft.net>
53645         * po/cs.po: Update Czech translation from translation project.
53647         * po/sv.po: Update Swedish translation from translation project.
53649 2013-07-27  David S. Miller  <davem@davemloft.net>
53651         * po/eo.po: Update Esperanto translation from translation project.
53653         * po/vi.po: Update Vietnamese translation from translation project.
53655         * po/de.po: Update German translation from translation project.
53657 2013-07-26  David S. Miller  <davem@davemloft.net>
53659         * po/bg.po: Update Bulgarian translation from translation project.
53661         * po/nl.po: Update Dutch translation from translation project.
53662         * po/pl.po: Update Polish translation from translation project.
53663         * po/ru.po: Update Russian translation from translation project.
53665 2013-07-24  David S. Miller  <davem@davemloft.net>
53667         * po/libc.pot: Update.
53669 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53671         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53672         variable page size.
53673         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53674         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53675         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53677 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53679         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53681 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53682             Andreas Schwab  <schwab@suse.de>
53683             Roland McGrath  <roland@hack.frob.com>
53684             Joseph Myers  <joseph@codesourcery.com>
53685             Carlos O'Donell  <carlos@redhat.com>
53687         [BZ #15755]
53688         * config.h.in: Define HAVE_PT_CHOWN.
53689         * config.make.in (build-pt-chown): New variable.
53690         * configure.in (--enable-pt_chown): New configure option.
53691         * configure: Regenerate.
53692         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53693         build-pt-chown is enabled.
53694         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53695         pt_chown to fix pty ownership.
53696         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53697         CLOSE_ALL_FDS.
53698         * manual/install.texi (Configuring and compiling): Mention
53699         --enable-pt_chown. Add @findex for grantpt.
53700         * INSTALL: Regenerate.
53702 2013-07-20  David S. Miller  <davem@davemloft.net>
53704         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53705         difference between 32-bit and 64-bit.
53707 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53709         [BZ #15711]
53710         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53711         Avoid system header dependency with -ffreestanding.
53712         ($(objpfx)bits/syscall%d): Likewise.
53714 2013-07-13  David S. Miller  <davem@davemloft.net>
53716         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53717         underflows from atanl/atan2l due to bug 15319.
53718         (casinh_test_data): Likewise.
53720 2013-07-07  David S. Miller  <davem@davemloft.net>
53722         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53724 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53726         * sysdeps/i386/fpu/libm-test-ulps: Update.
53727         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53729 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53731         * configure.in (--enable-lock-elision): Fix message text.
53732         * INSTALL: Regenerate.
53733         * configure: Regenerate.
53735 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53739 2013-07-03  Andreas Jaeger  <aj@suse.de>
53741         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53742         define.
53743         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53744         (ptrace_peeksiginfo_args): Add.
53745         (__ptrace_peeksiginfo_flags): Add.
53746         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53747         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53748         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53750 2013-07-03  Allan McRae  <allan@archlinux.org>
53752         * sysdeps/i386/fpu/libm-test-ulps: Update.
53754 2013-07-02  David S. Miller  <davem@davemloft.net>
53756         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53758 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53762 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53764         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53767 2013-07-02  Andi Kleen <ak@linux.intel.com>
53769         * config.h.in (ENABLE_LOCK_ELISION): Add.
53770         * configure.in (--enable-lock-elision): Add option.
53771         * manual/install.texi: Document --enable lock elision.
53772         * configure: Regenerate
53773         * INSTALL: Regenerate.
53775 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53777         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53778         SSE4.2 strcasecmp for libc.a.
53779         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53781 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53783         [BZ #13304]
53784         * soft-fp/op-common.h (_FP_FMA): New macro.
53785         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53786         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53787         (_FP_MUL_MEAT_1_imm): ... here.
53788         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53789         (_FP_MUL_MEAT_1_wide): ... here.
53790         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53791         (_FP_MUL_MEAT_1_hard): ... here.
53792         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53793         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53794         (_FP_MUL_MEAT_2_wide): ... here.
53795         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53796         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53797         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53798         (_FP_MUL_MEAT_2_gmp): ... here.
53799         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53800         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53801         (_FP_MUL_MEAT_4_wide): ... here.
53802         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53803         (_FP_MUL_MEAT_4_gmp): ... here.
53804         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53805         (_FP_WFRACBITS_DW_S): Likewise.
53806         (_FP_WFRACXBITS_DW_S): Likewise.
53807         (_FP_HIGHBIT_DW_S): Likewise.
53808         (FP_FMA_S): Likewise.
53809         (_FP_FRAC_HIGH_DW_S): Likewise.
53810         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53811         (_FP_WFRACBITS_DW_D): Likewise.
53812         (_FP_WFRACXBITS_DW_D): Likewise.
53813         (_FP_HIGHBIT_DW_D): Likewise.
53814         (FP_FMA_D): Likewise.
53815         (_FP_FRAC_HIGH_DW_D): Likewise.
53816         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53817         (_FP_WFRACBITS_DW_E): Likewise.
53818         (_FP_WFRACXBITS_DW_E): Likewise.
53819         (_FP_HIGHBIT_DW_E): Likewise.
53820         (FP_FMA_E): Likewise.
53821         (_FP_FRAC_HIGH_DW_E): Likewise.
53822         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53823         (_FP_WFRACBITS_DW_Q): Likewise.
53824         (_FP_WFRACXBITS_DW_Q): Likewise.
53825         (_FP_HIGHBIT_DW_Q): Likewise.
53826         (FP_FMA_Q): Likewise.
53827         (_FP_FRAC_HIGH_DW_Q): Likewise.
53828         * soft-fp/fmasf4.c: New file.
53829         * soft-fp/fmadf4.c: Likewise.
53830         * soft-fp/fmatf4.c: Likewise.
53832 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53835         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53836         Silvermont.
53837         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53838         macro.
53839         (index_Slow_SSE4_2): Likewise.
53840         (index_Prefer_PMINUB_for_stringop): Likewise.
53841         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53842         bit_Slow_SSE4_2 is set.
53843         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53844         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53846 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53848         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53849         rtld_global._dl_hwcap2.
53850         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53851         POWER8.
53852         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53853         POWER8 feature descriptions defined in _dl_hwcap2.
53854         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53855         string handling for POWER8 feature bits.
53856         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53857         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53858         _dl_powerpc_cap_flags.
53859         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53860         * sysdeps/powerpc/rtld-global-offsets.sym
53861         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53862         _dl_hwcap2 in the rtld_global_ro structure.
53864 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53866         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53867         hardware capabilities in support of AT_HWCAP2.
53868         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53869         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53870         GLRO(dl_hwcap2).
53871         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53872         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53873         explicitly the unknown a_type display mechanism is used.
53874         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53875         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53876         struct member.
53877         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53878         to macro prototype for AT_HWCAP2 support.
53879         * sysdeps/i386/dl-procinfo.h: Likewise.
53880         * sysdeps/s390/dl-procinfo.h: Likewise.
53881         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53882         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53883         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53884         return -1 for unknown a_type display fallback.
53885         * sysdeps/sparc/dl-procinfo.h: Likewise.
53886         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53887         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53889 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53891         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53892         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53894 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53896         [BZ #12492]
53897         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53898         mprotect making __stack_prot writable.
53900 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53901             Joseph Myers  <joseph@codesourcery.com>
53903         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53904         as being properly aligned.
53906 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53908         * dlfcn/modstatic5.c: New file.
53909         * dlfcn/tststatic5.c: New file.
53910         * dlfcn/Makefile (tests): Add tststatic5.
53911         (tests-static): Likewise.
53912         (modules-names): Add modstatic5.
53913         (tststatic5-ENV): New variable.
53914         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53916         [BZ #15022]
53917         * elf/dl-support.c (_dl_main_map): New variable.
53918         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53919         (_dl_nns, _dl_load_adds): Set to 1.
53920         (_dl_initial_searchlist): Refer to _dl_main_map.
53921         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53922         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53923         call to _dl_get_origin.
53924         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53925         around call_map.
53926         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53927         * dlfcn/modstatic3.c: New file.
53928         * dlfcn/tststatic3.c: New file.
53929         * dlfcn/tststatic4.c: New file.
53930         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53931         (tests-static): Likewise.
53932         (modules-names): Add modstatic3.
53933         (tststatic3-ENV, tststatic4-ENV): New variables.
53934         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53935         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53937 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53939         * configure.in (CC): Require GCC version 4.4 or later.
53940         * configure: Regenerated.
53941         * manual/install.texi (Tools for Compilation): Update GCC version
53942         requirement.
53943         * INSTALL: Regenerated.
53945 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53947         [BZ #15674]
53948         * string/test-memcmp.c (check2): New.
53949         (main): Call check2.
53951         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53953 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53955         [BZ #15022]
53956         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53957         over to...
53958         (dl_open_worker) [!SHARED]: ... here.
53960 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53962         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53964 2013-06-25  Richard Henderson  <rth@redhat.com>
53966         * locale/programs/locarchive.c: Include <libc-internal.h>
53968 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53970         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53971         trailing whitespace removed.
53973 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53975         [BZ #10283]
53976         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53977         * locale/programs/locarchive.c: Include libc-mmap.h.
53978         (prepare_address_space): Take two new outputs (the mmap base and len).
53979         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53980         values.
53981         (create_archive): Declare new mmap base and len values for
53982         prepare_address_space, and store the result in ah.
53983         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53984         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53985         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53986         Declare new mmap base and len values for
53987         prepare_address_space, and store the result in new_ah.
53988         (open_archive): Declare new mmap base and len values for
53989         prepare_address_space, and store the result in ah.
53990         (close_archive): If ah->mmap_base is not NULL, use that and
53991         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53992         * sysdeps/generic/libc-mmap.h: New file.
53994 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53996         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53997         (ALIGN_UP): Likewise.
53998         (PTR_ALIGN_DOWN): Likewise.
53999         (PTR_ALIGN_UP): Likewise.
54001 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54003         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54004         entry mapped to PPC_PLATFORM_POWER8.
54005         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54006         POWER8.
54007         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54008         (_dl_string_platform): Add case for exporting platform position for
54009         POWER8.
54010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54011         search path to sysdeps/powerpc/powerpc32/power8 directory.
54012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54013         search path to sysdeps/powerpc/powerpc64/power8 directory.
54014         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54015         power7 directories.
54016         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54017         power7 directories.
54019 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54021         * INSTALL: Regenerate.
54023         * nscd/connections.c (nscd_init): Fix comment.
54025 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54027         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54029         [BZ #15667]
54030         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54031         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54033 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54035         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54036         DL_DST_REQ_STATIC.
54037         (DL_DST_REQ_STATIC): Remove macro.
54039 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54041         [BZ #7006]
54042         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54043         with a shift of 0 bits.
54045 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54047         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54048         $(tststatic-ENV).
54050 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54052         [BZ #15655]
54053         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54055 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54057         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54058         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54059         accepts -fno-tree-loop-distribute-patterns.
54060         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54061         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54062         recursive call.
54063         * string/memset.c (memset): Likewise.
54064         * string/test-memmove.c (simple_memmove): Disable loop transformation
54065         to library calls.
54066         * string/test-memset.c (simple_memset): Likewise.
54067         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54068         * benchtests/bench-memset.c (simple_memset): Likewise.
54069         * configure: Regenerated.
54071 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54073         * math/test-misc.c (main): Ignore fesetround failure when failures
54074         of subsequent rounding tests would be ignored.
54076         [BZ #15654]
54077         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54078         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54079         * math/fegetenv.c (__fegetenv): Return 0.
54080         * math/fegetexcept.c (fegetexcept): Return 0.
54081         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54082         FE_TONEAREST.
54083         * math/feholdexcpt.c (feholdexcept): Return 0.
54084         * math/fesetenv.c (__fesetenv): Return 0.
54085         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54086         argument FE_TONEAREST.
54087         * math/feupdateenv.c (__feupdateenv): Return 0.
54088         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54090 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54092         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54093         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54094         ($(objpfx)rtld-%.os rules): Use them.
54096 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54098         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54099         fields.
54101 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54103         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54104         length of target pattern, then descending length of dependency pattern.
54105         * configure.in (AWK): Require gawk 3.1.2 or newer.
54106         * manual/install.texi (Tools for Compilation): Say that we do.
54107         * configure: Regenerated.
54109         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54110         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54111         * scripts/sysd-rules.awk: ... this new script.
54112         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54113         than a glob-style pattern.
54115 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54117         * math/test-misc.c (main): Do not treat incorrectly rounded
54118         conversions as failure unless ROUNDING_TESTS passes.
54120 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54122         [BZ #15631]
54123         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54124         restore exception state around main square root computation, then
54125         check for inexactness explicitly.
54127         * math/libm-test.inc (fma_test_data): Add another test.
54129 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54131         * manual/threads.texi (Non-POSIX Extensions): New document
54132         node.  Document pthread_getattr_default_np and
54133         pthread_setattr_default_np.
54135         * Versions.def (libpthread): Add GLIBC_2.18.
54136         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54138         Likewise.
54139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54140         Likewise.
54141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54142         Likewise.
54143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54144         Likewise.
54145         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54146         Likewise.
54147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54148         Likewise.
54149         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54150         Likewise.
54151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54152         Likewise.
54153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54154         Likewise.
54156 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54159         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54161 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54162             H.J. Lu  <hjl.tools@gmail.com>
54164         [BZ #15627]
54165         * sysdeps/x86_64/rtld-memset.c: Remove file.
54166         * sysdeps/x86_64/rtld-memset.S: New file.
54168 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54170         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54171         (test_in_one_mode): Take arguments for whether the rounding mode
54172         is supported for each floating-point type.
54173         (do_test): Pass new arguments to test_in_one_mode using
54174         ROUNDING_TESTS.
54176 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54178         * posix/tst-waitid.c (do_test): Distinguish different instances of
54179         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54180         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54181         before entering the kernel for waitpid.
54183 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54185         * NEWS: Fix note on clock function precision.  Text by Roland
54186         McGrath.
54188 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54190         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54191         it into place only when and if the sanity check passes.
54193 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54195         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54196         output for whether conversion result is exact.  Take argument
54197         indicating whether type is IBM long double.
54198         (round_for_all): Change need_exact field to ibm_ld.
54199         * stdlib/tst-strtod-round.c (struct exactness): New type.
54200         (struct test): Change bool ld_ok field to struct exactness exact.
54201         (TEST): Update all definitions for change to field.
54202         (tests): Regenerate array contents.
54203         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54204         field value.  Check for IBM long double here.
54205         (do_test): Update calls to test_in_one_mode.
54207 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54209         [BZ #12515]
54210         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54211         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54213 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54215         [BZ #15605]
54216         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54217         generated by the compiler on loop optimizations.
54218         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54219         general definitions.
54221 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54223         * math/bug-nextafter.c: Include <math-tests.h>.
54224         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54225         the relevant type.
54226         * math/bug-nexttoward.c: Include <math-tests.h>.
54227         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54228         the relevant type.
54229         * math/test-misc.c: Include <math-tests.h>.
54230         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54231         the relevant type.
54233 2013-06-12  Andreas Jaeger  <aj@suse.de>
54235         * po/ia.po: Update Interlingua translation from translation
54236         project.
54238 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54240         * include/fenv.h: Include stdbool.h.
54241         (struct rm_ctx): New structure.
54242         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54243         Define macro.
54244         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54245         (SET_RESTORE_ROUNDF): Likewise.
54246         (SET_RESTORE_ROUNDL): Likewise.
54247         (SET_RESTORE_ROUND_NOEX): Likewise.
54248         (SET_RESTORE_ROUND_NOEXF): Likewise.
54249         (SET_RESTORE_ROUND_NOEXL): Likewise.
54250         (SET_RESTORE_ROUND_53BIT): Likewise.
54251         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54252         (libc_feresetround_noexf_ctx): Likewise.
54253         (libc_feresetround_noexl_ctx): Likewise.
54254         (libc_feholdsetround_53bit_ctx): Likewise.
54255         (libc_feresetround_53bit_ctx): Likewise.
54256         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54257         (libc_feholdexcept_setround_sse_ctx): New function.
54258         (libc_fesetenv_sse_ctx): Likewise.
54259         (libc_feupdateenv_sse_ctx): Likewise.
54260         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54261         (libc_feholdexcept_setround_387_ctx): Likewise.
54262         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54263         (libc_feholdsetround_387_prec_ctx): Likewise.
54264         (libc_feholdsetround_387_ctx): Likewise.
54265         (libc_feholdsetround_387_53bit_ctx): Likewise.
54266         (libc_feholdsetround_sse_ctx): Likewise.
54267         (libc_feresetround_sse_ctx): Likewise.
54268         (libc_feresetround_387_ctx): Likewise.
54269         (libc_feupdateenv_387_ctx): Likewise.
54270         (libc_feholdexcept_setroundf_ctx): Define macro.
54271         (libc_fesetenvf_ctx): Likewise.
54272         (libc_feupdateenvf_ctx): Likewise.
54273         (libc_feholdsetroundf_ctx): Likewise.
54274         (libc_feresetroundf_ctx): Likewise.
54275         (libc_feholdexcept_setround_ctx): Likewise.
54276         (libc_fesetenv_ctx): Likewise.
54277         (libc_feupdateenv_ctx): Likewise.
54278         (libc_feholdsetround_ctx): Likewise.
54279         (libc_feresetround_ctx): Likewise.
54280         (libc_feholdexcept_setroundl_ctx): Likewise.
54281         (libc_feupdateenvl_ctx): Likewise.
54282         (libc_feholdsetroundl_ctx): Likewise.
54283         (libc_feresetroundl_ctx): Likewise.
54284         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54285         (libc_feresetround_53bit_ctx): Likewise.
54287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54289         * locale/iso-639.def: Convert to UTF-8.
54291 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54293         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54294         (EXCEPTION_TESTS_double): Likewise.
54295         (EXCEPTION_TESTS_long_double): Likewise.
54296         (EXCEPTION_TESTS): Likewise.
54297         * math/libm-test.inc (test_exceptions): Only test exceptions if
54298         EXCEPTION_TESTS (FLOAT).
54300 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54302         * benchtests/Makefile (string-bench): Add strcpy_chk and
54303         stpcpy_chk.
54304         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54305         * benchtests/bench-stpcpy_chk.c: New file.
54306         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54307         * benchtests/bench-strcpy_chk.c: New file.
54308         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54309         code.
54310         (do_test): Likewise.
54312 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54314         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54315         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54316         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54317         with tabs where appropriate.
54318         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54319         dl-procinfo.h.
54320         [PPC_PLATFORM_PPC440]: Likewise.
54321         [PPC_PLATFORM_PPC464]: Likewise.
54322         [PPC_PLATFORM_PPC476]: Likewise.
54323         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54324         ppc464, and ppc476 platform strings merging from ports/
54325         dl-procinfo.h.
54327 2013-06-11  Andreas Schwab  <schwab@suse.de>
54329         [BZ #14991]
54330         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54331         (from_ucs4_idx): Regenerate.
54332         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54333         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54334         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54335         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54336         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54337         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54338         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54339         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54340         from FROM_LOOP and TO_LOOP specific macros.
54341         (BODY): Handle combining characters.
54342         * iconvdata/BIG5HKSCS.irreversible: Update.
54343         * iconvdata/BIG5HKSCS.precomposed: New file.
54344         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54345         characters.
54346         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54348 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54350         * include/sys/time.h: Fix indentation and add copyright header.
54352         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54353         (do_test): Likewise.
54354         * string/test-memchr.c (do_one_test): Likewise.
54355         (do_test): Likewise.
54356         * string/test-memcmp.c (do_one_test): Likewise.
54357         (do_test): Likewise.
54358         * string/test-memcpy.c (do_one_test): Likewise.
54359         (do_test): Likewise.
54360         * string/test-memmem.c (do_one_test): Likewise.
54361         (do_test): Likewise.
54362         (do_random_tests): Likewise.
54363         * string/test-memmove.c (do_one_test): Likewise.
54364         (do_test): Likewise.
54365         * string/test-memset.c (do_one_test): Likewise.
54366         (do_test): Likewise.
54367         * string/test-rawmemchr.c (do_one_test): Likewise.
54368         (do_test): Likewise.
54369         * string/test-strcasecmp.c (do_one_test): Likewise.
54370         (do_test): Likewise.
54371         * string/test-strcasestr.c (do_one_test): Likewise.
54372         (do_test): Likewise.
54373         * string/test-strcat.c (do_one_test): Likewise.
54374         (do_test): Likewise.
54375         * string/test-strchr.c (do_one_test): Likewise.
54376         (do_test): Likewise.
54377         * string/test-strcmp.c (do_one_test): Likewise.
54378         (do_test): Likewise.
54379         * string/test-strcpy.c (do_one_test): Likewise.
54380         (do_test): Likewise.
54381         * string/test-string.h: Likewise.
54382         (test_init): Likewise.
54383         * string/test-strlen.c (do_one_test): Likewise.
54384         (do_test): Likewise.
54385         * string/test-strncasecmp.c (do_one_test): Likewise.
54386         (do_test): Likewise.
54387         * string/test-strncat.c (do_one_test): Likewise.
54388         (do_test): Likewise.
54389         * string/test-strncmp.c (do_one_test): Likewise.
54390         (do_test_limit): Likewise.
54391         (do_test): Likewise.
54392         * string/test-strncpy.c (do_one_test): Likewise.
54393         (do_test): Likewise.
54394         * string/test-strnlen.c (do_one_test): Likewise.
54395         (do_test): Likewise.
54396         * string/test-strpbrk.c (do_one_test): Likewise.
54397         (do_test): Likewise.
54398         * string/test-strrchr.c (do_one_test): Likewise.
54399         (do_test): Likewise.
54400         * string/test-strspn.c (do_one_test): Likewise.
54401         (do_test): Likewise.
54402         * string/test-strstr.c (do_one_test): Likewise.
54403         (do_test): Likewise.
54405         * benchtests/Makefile (string-bench): Add string benchmarks.
54406         * benchtests/bench-bcopy-ifunc.c: New file.
54407         * benchtests/bench-bcopy.c: New file.
54408         * benchtests/bench-bzero-ifunc.c: New file.
54409         * benchtests/bench-bzero.c: New file.
54410         * benchtests/bench-memccpy-ifunc.c: New file.
54411         * benchtests/bench-memccpy.c: New file.
54412         * benchtests/bench-memchr-ifunc.c: New file.
54413         * benchtests/bench-memchr.c: New file.
54414         * benchtests/bench-memcmp-ifunc.c: New file.
54415         * benchtests/bench-memcmp.c: New file.
54416         * benchtests/bench-memmem-ifunc.c: New file.
54417         * benchtests/bench-memmem.c: New file.
54418         * benchtests/bench-memmove-ifunc.c: New file.
54419         * benchtests/bench-memmove.c: New file.
54420         * benchtests/bench-mempcpy-ifunc.c: New file.
54421         * benchtests/bench-mempcpy.c: New file.
54422         * benchtests/bench-memset-ifunc.c: New file.
54423         * benchtests/bench-memset.c: New file.
54424         * benchtests/bench-rawmemchr-ifunc.c: New file.
54425         * benchtests/bench-rawmemchr.c: New file.
54426         * benchtests/bench-stpcpy-ifunc.c: New file.
54427         * benchtests/bench-stpcpy.c: New file.
54428         * benchtests/bench-stpncpy-ifunc.c: New file.
54429         * benchtests/bench-stpncpy.c: New file.
54430         * benchtests/bench-strcasecmp-ifunc.c: New file.
54431         * benchtests/bench-strcasecmp.c: New file.
54432         * benchtests/bench-strcasestr-ifunc.c: New file.
54433         * benchtests/bench-strcasestr.c: New file.
54434         * benchtests/bench-strcat-ifunc.c: New file.
54435         * benchtests/bench-strcat.c: New file.
54436         * benchtests/bench-strchr-ifunc.c: New file.
54437         * benchtests/bench-strchr.c: New file.
54438         * benchtests/bench-strchrnul-ifunc.c: New file.
54439         * benchtests/bench-strchrnul.c: New file.
54440         * benchtests/bench-strcmp-ifunc.c: New file.
54441         * benchtests/bench-strcmp.c: New file.
54442         * benchtests/bench-strcpy-ifunc.c: New file.
54443         * benchtests/bench-strcpy.c: New file.
54444         * benchtests/bench-strcspn-ifunc.c: New file.
54445         * benchtests/bench-strcspn.c: New file.
54446         * benchtests/bench-strlen-ifunc.c: New file.
54447         * benchtests/bench-strlen.c: New file.
54448         * benchtests/bench-strncasecmp-ifunc.c: New file.
54449         * benchtests/bench-strncasecmp.c: New file.
54450         * benchtests/bench-strncat-ifunc.c: New file.
54451         * benchtests/bench-strncat.c: New file.
54452         * benchtests/bench-strncmp-ifunc.c: New file.
54453         * benchtests/bench-strncmp.c: New file.
54454         * benchtests/bench-strncpy-ifunc.c: New file.
54455         * benchtests/bench-strncpy.c: New file.
54456         * benchtests/bench-strnlen-ifunc.c: New file.
54457         * benchtests/bench-strnlen.c: New file.
54458         * benchtests/bench-strpbrk-ifunc.c: New file.
54459         * benchtests/bench-strpbrk.c: New file.
54460         * benchtests/bench-strrchr-ifunc.c: New file.
54461         * benchtests/bench-strrchr.c: New file.
54462         * benchtests/bench-strspn-ifunc.c: New file.
54463         * benchtests/bench-strspn.c: New file.
54464         * benchtests/bench-strstr-ifunc.c: New file.
54465         * benchtests/bench-strstr.c: New file.
54467         * benchtests/Makefile: Disable parallel execution of targets.
54468         (string-bench): Add memcpy.
54469         (benchset): New variable to store a list of benchmark sets.
54470         (bench-func): Renamed from bench.
54471         (bench-set): New target.
54472         (bench): Depend on bench-func and bench-set.
54473         * benchtests/README: Add section on benchmark sets.
54474         * benchtests/bench-memcpy-ifunc.c: New file.
54475         * benchtests/bench-memcpy.c: New file.
54476         * benchtests/bench-string.h: New file.
54478 2013-06-11  Andreas Schwab  <schwab@suse.de>
54480         [BZ #15577]
54481         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54482         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54483         values in the triple.
54484         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54485         terminator in the group key.
54487 2013-06-11  Andreas Jaeger  <aj@suse.de>
54489         * po/zh_TW.po: Update Chinese (traditional) translation from
54490         translation project.
54492 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54494         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54495         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54496         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54498         (clock_getcpuclockid): Likewise.
54499         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54500         Add weak_alias and libc_hidden_def.
54501         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54502         * rt/clock_gettime.c (clock_gettime): Rename to
54503         __clock_gettime.  Add weak_alias and libc_hidden_def.
54504         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54505         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54506         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54507         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54508         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54509         Likewise.
54510         * rt/clock_settime.c (clock_settime): Rename to
54511         __clock_settime.  Add weak_alias and libc_hidden_def.
54512         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54514 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54516         * mach/err_boot.sub: Remove trailing whitespace.
54517         * mach/err_ipc.sub: Likewise.
54518         * mach/err_mach.sub: Likewise.
54520         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54521         (ROUNDING_TESTS_double): Likewise.
54522         (ROUNDING_TESTS_long_double): Likewise.
54523         (ROUNDING_TESTS): Likewise.
54524         * math/libm-test.inc: Include <math-tests.h>.
54525         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54526         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54527         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54528         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54530 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54532         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54533         of assigning.
54535 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54537         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54538         otherwise empty TRANS lines.
54539         * sysdeps/gnu/errlist.c: Regenerated.
54541         * catgets/gencat.c (error_print): Use (void) in function
54542         definition.
54543         * crypt/crypt_util.c (__init_des): Likewise.
54544         * crypt/speeds.c (Stop): Likewise.
54545         (main): Likewise.
54546         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54547         * inet/ruserpass.c (token): Likewise.
54548         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54549         * intl/localealias.c (extend_alias_table): Likewise.
54550         * intl/plural-exp.c (init_germanic_plural): Likewise.
54551         * libio/fcloseall.c (__fcloseall): Likewise.
54552         * libio/genops.c (_IO_flush_all): Likewise.
54553         (_IO_flush_all_linebuffered): Likewise.
54554         (_IO_cleanup): Likewise.
54555         (_IO_iter_begin): Likewise.
54556         (_IO_iter_end): Likewise.
54557         (_IO_list_lock): Likewise.
54558         (_IO_list_unlock): Likewise.
54559         (_IO_list_resetlock): Likewise.
54560         * libio/getchar.c (getchar): Likewise.
54561         * libio/getchar_u.c (getchar_unlocked): Likewise.
54562         * libio/getwchar.c (getwchar): Likewise.
54563         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54564         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54565         * login/getpt.c (__getpt): Likewise.
54566         * login/tst-utmp.c (main): Likewise.
54567         * malloc/hooks.c (__malloc_check_init): Likewise.
54568         * malloc/malloc.c (__malloc_stats): Likewise.
54569         * malloc/mtrace.c (tr_break): Likewise.
54570         (mtrace): Likewise.
54571         (muntrace): Likewise.
54572         * misc/fstab.c (endfsent): Likewise.
54573         * misc/getclktck.c (__getclktck): Likewise.
54574         * misc/getdtsz.c (__getdtablesize): Likewise.
54575         * misc/gethostid.c (gethostid): Likewise.
54576         * misc/getpagesize.c (__getpagesize): Likewise.
54577         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54578         (__get_nprocs): Likewise.
54579         (__get_phys_pages): Likewise.
54580         (__get_avphys_pages): Likewise.
54581         * misc/getttyent.c (getttyent): Likewise.
54582         (setttyent): Likewise.
54583         (endttyent): Likewise.
54584         * misc/getusershell.c (getusershell): Likewise.
54585         (endusershell): Likewise.
54586         (setusershell): Likewise.
54587         (initshells): Likewise.
54588         * misc/hsearch.c (__hdestroy): Likewise.
54589         * misc/sync.c (sync): Likewise.
54590         * misc/syslog.c (closelog_internal): Likewise.
54591         (closelog): Likewise.
54592         * misc/ttyslot.c (ttyslot): Likewise.
54593         * misc/vhangup.c (vhangup): Likewise.
54594         * posix/fork.c (__fork): Likewise.
54595         * posix/getegid.c (__getegid): Likewise.
54596         * posix/geteuid.c (__geteuid): Likewise.
54597         * posix/getgid.c (__getgid): Likewise.
54598         * posix/getpid.c (__getpid): Likewise.
54599         * posix/getppid.c (__getppid): Likewise.
54600         * posix/getuid.c (__getuid): Likewise.
54601         * posix/pause.c (pause): Likewise.
54602         * posix/setpgrp.c (setpgrp): Likewise.
54603         * posix/setsid.c (__setsid): Likewise.
54604         * posix/test-vfork.c (noop): Likewise.
54605         * resolv/gethnamaddr.c (_endhtent): Likewise.
54606         (_gethtent): Likewise.
54607         (ht_endhostent): Likewise.
54608         (gethostent): Likewise.
54609         (dns_service): Likewise.
54610         * stdlib/drand48.c (drand48): Likewise.
54611         * stdlib/lrand48.c (lrand48): Likewise.
54612         * stdlib/mrand48.c (mrand48): Likewise.
54613         * stdlib/rand.c (rand): Likewise.
54614         * stdlib/random.c (__random): Likewise.
54615         * stdlib/setenv.c (clearenv): Likewise.
54616         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54617         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54618         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54619         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54620         (__get_nprocs): Likewise.
54621         (__get_phys_pages): Likewise.
54622         (__get_avphys_pages): Likewise.
54623         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54624         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54625         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54626         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54627         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54628         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54629         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54630         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54631         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54632         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54633         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54634         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54635         * sysdeps/posix/clock.c (clock): Likewise.
54636         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54637         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54638         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54639         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54640         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54642         (__get_nprocs_conf): Likewise.
54643         (__get_phys_pages): Likewise.
54644         (__get_avphys_pages): Likewise.
54645         * time/clock.c (clock): Likewise.
54646         * time/tzset.c (__tzname_max): Likewise.
54648 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54650         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54651         (__bswap_32): Do not use "register".
54652         * crypt/crypt.c (_ufc_doit_r): Likewise.
54653         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54654         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54655         * gmon/gmon.c (__monstartup): Likewise.
54656         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54657         * hurd/hurdmalloc.c (more_memory): Likewise.
54658         (malloc): Likewise.
54659         (free): Likewise.
54660         (realloc): Likewise.
54661         (malloc_fork_prepare): Likewise.
54662         (malloc_fork_parent): Likewise.
54663         (malloc_fork_child): Likewise.
54664         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54665         (_svcauth_des): Likewise.
54666         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54667         * inet/inet_net.c (inet_network): Likewise.
54668         * inet/inet_netof.c (inet_netof): Likewise.
54669         * inet/rcmd.c (__validuser2_sa): Likewise.
54670         * io/fts.c (fts_open): Likewise.
54671         (fts_load): Likewise.
54672         (fts_close): Likewise.
54673         (fts_read): Likewise.
54674         (fts_children): Likewise.
54675         (fts_build): Likewise.
54676         (fts_stat): Likewise.
54677         (fts_sort): Likewise.
54678         (fts_alloc): Likewise.
54679         (fts_lfree): Likewise.
54680         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54681         (_IO_file_xsgetn): Likewise.
54682         (_IO_file_xsgetn_mmap): Likewise.
54683         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54684         (_IO_cookie_write): Likewise.
54685         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54686         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54687         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54688         * malloc/obstack.c (_obstack_begin): Likewise.
54689         (_obstack_begin_1): Likewise.
54690         (_obstack_newchunk): Likewise.
54691         (_obstack_allocated_p): Likewise.
54692         (obstack_free): Likewise.
54693         (_obstack_memory_used): Likewise.
54694         * misc/getttyent.c (getttynam): Likewise.
54695         (getttyent): Likewise.
54696         (skip): Likewise.
54697         (value): Likewise.
54698         * misc/getusershell.c (initshells): Likewise.
54699         * misc/syslog.c (__vsyslog_chk): Likewise.
54700         * misc/ttyslot.c (ttyslot): Likewise.
54701         * nis/nis_hash.c (__nis_hash): Likewise.
54702         * posix/fnmatch_loop.c (FCT): Likewise.
54703         * posix/getconf.c (print_all): Likewise.
54704         (main): Likewise.
54705         * posix/getopt.c (exchange): Likewise.
54706         * posix/glob.c (globfree): Likewise.
54707         (prefix_array): Likewise.
54708         (__glob_pattern_type): Likewise.
54709         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54710         (NS_GET32): Likewise.
54711         (NS_PUT16): Likewise.
54712         (NS_PUT32): Likewise.
54713         * resolv/gethnamaddr.c (getanswer): Likewise.
54714         (gethostbyname2): Likewise.
54715         (gethostbyaddr): Likewise.
54716         (_gethtent): Likewise.
54717         (_gethtbyname2): Likewise.
54718         (_gethtbyaddr): Likewise.
54719         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54720         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54721         * resolv/res_init.c (__res_vinit): Likewise.
54722         (net_mask): Likewise.
54723         * resolv/res_mkquery.c (outchar): Likewise.
54724         (PRINT): Likewise.
54725         * stdio-common/printf_fp.c (outchar): Likewise.
54726         (PRINT): Likewise.
54727         * stdio-common/printf_fphex.c (outchar): Likewise.
54728         (PRINT): Likewise.
54729         * stdio-common/printf_size.c (outchar): Likewise.
54730         (PRINT): Likewise.
54731         * stdio-common/test_rdwr.c (main): Likewise.
54732         * stdio-common/tfformat.c (matches): Likewise.
54733         * stdio-common/vfprintf.c (outchar): Likewise.
54734         (printf_unknown): Likewise.
54735         (buffered_vfprintf): Likewise.
54736         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54737         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54738         (ReadFile): Likewise.
54739         * stdlib/qsort.c (SWAP): Likewise.
54740         (_quicksort): Likewise.
54741         * stdlib/setenv.c (__add_to_environ): Likewise.
54742         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54743         * stdlib/strtol_l.c (__strtol_l): Likewise.
54744         * stdlib/tst-strtod.c (main): Likewise.
54745         * stdlib/tst-strtol.c (main): Likewise.
54746         * stdlib/tst-strtoll.c (main): Likewise.
54747         * string/bits/string2.h (__strcmp_cc): Likewise.
54748         (__strcmp_cg): Likewise.
54749         (__strcspn_c1): Likewise.
54750         (__strcspn_c2): Likewise.
54751         (__strcspn_c3): Likewise.
54752         (__strspn_c1): Likewise.
54753         (__strspn_c2): Likewise.
54754         (__strspn_c3): Likewise.
54755         (__strsep_1c): Likewise.
54756         (__strsep_2c): Likewise.
54757         (__strsep_3c): Likewise.
54758         * string/memccpy.c (__memccpy): Likewise.
54759         * string/stpcpy.c (__stpcpy): Likewise.
54760         * string/strcmp.c (strcmp): Likewise.
54761         * string/strrchr.c (strrchr): Likewise.
54762         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54763         Likewise.
54764         * sysdeps/mach/hurd/getcwd.c
54765         (_hurd_canonicalize_directory_name_internal): Likewise.
54766         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54767         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54768         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54769         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54770         Likewise, in both definitions.
54771         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54772         definitions.
54773         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54774         64] (__bswap_64): Likewise.
54775         * time/test_time.c (main): Likewise.
54776         * time/tzfile.c (__tzfile_read): Likewise.
54777         (__tzfile_compute): Likewise.
54778         * time/tzset.c (__tzset_parse_tz): Likewise.
54779         (tzset_internal): Likewise.
54780         (compute_change): Likewise.
54781         * wcsmbs/wcscat.c (__wcscat): Likewise.
54782         * wcsmbs/wcschr.c (wcschr): Likewise.
54783         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54784         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54785         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54786         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54787         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54788         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54789         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54790         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54791         * wcsmbs/wmemset.c (wmemset): Likewise.
54793 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54795         * scripts/config.guess: Update to version 2013-05-16.
54796         * scripts/config.sub: Update to version 2013-04-24.
54797         * scripts/install-sh: Update to version 2011-11-20.07.
54798         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54799         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54801 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54803         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54804         * elf/sln.c: Likewise.
54805         * hurd/hurd/ioctl.h: Likewise.
54806         * hurd/hurdmalloc.c: Likewise.
54807         * hurd/xattr.c: Likewise.
54808         * include/shlib-compat.h: Likewise.
54809         * inet/ruserpass.c: Likewise.
54810         * libio/iofgets_u.c: Likewise.
54811         * libio/iofgetws_u.c: Likewise.
54812         * locale/programs/ld-identification.c: Likewise.
54813         * locale/programs/ld-time.c: Likewise.
54814         * mach/msg-destroy.c: Likewise.
54815         * nss/nss_files/files-netgrp.c: Likewise.
54816         * resolv/res_data.c: Likewise.
54817         * soft-fp/op-1.h: Likewise.
54818         * soft-fp/op-2.h: Likewise.
54819         * soft-fp/op-4.h: Likewise.
54820         * soft-fp/op-common.h: Likewise.
54821         * stdio-common/printf_fphex.c: Likewise.
54822         * stdlib/strtod_l.c: Likewise.
54823         * sunrpc/rpc/clnt.h: Likewise.
54824         * sysdeps/generic/framestate.c: Likewise.
54825         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54826         * sysdeps/i386/bsd-setjmp.S: Likewise.
54827         * sysdeps/i386/__longjmp.S: Likewise.
54828         * sysdeps/i386/setjmp.S: Likewise.
54829         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54830         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54831         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54832         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54834         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54835         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54836         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54837         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54838         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54839         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54840         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54841         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54842         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54843         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54844         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54845         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54846         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54847         * sysdeps/ieee754/support.c: Likewise.
54848         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54849         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54850         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54851         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54852         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54853         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54854         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54855         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54856         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54857         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54858         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54859         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54860         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54863         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54864         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54867 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54869         * posix/transbug.c: Remove executable mode.
54871 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54873         * crypt/speeds.c: Remove trailing whitespace.
54874         * dlfcn/default.c: Likewise.
54875         * elf/ifuncdep2.c: Likewise.
54876         * elf/ifuncmain1.c: Likewise.
54877         * elf/ifuncmain1vis.c: Likewise.
54878         * elf/testobj.h: Likewise.
54879         * elf/tst-stackguard1.c: Likewise.
54880         * gmon/sys/gmon.h: Likewise.
54881         * hurd/hurdmsg.c: Likewise.
54882         * hurd/new-fd.c: Likewise.
54883         * hurd/ports-get.c: Likewise.
54884         * iconvdata/ibm1008_420.c: Likewise.
54885         * inet/tst-getni1.c: Likewise.
54886         * inet/tst-getni2.c: Likewise.
54887         * libio/ioungetc.c: Likewise.
54888         * libio/wfiledoalloc.c: Likewise.
54889         * manual/libm-err-tab.pl: Likewise.
54890         * math/w_dremf.c: Likewise.
54891         * misc/ftruncate.c: Likewise.
54892         * posix/bug-glob2.c: Likewise.
54893         * posix/tst-pcre.c: Likewise.
54894         * posix/wait4.c: Likewise.
54895         * resolv/README: Likewise.
54896         * resolv/res_debug.h: Likewise.
54897         * resolv/tst-inet_ntop.c: Likewise.
54898         * setjmp/bug269-setjmp.c: Likewise.
54899         * soft-fp/extended.h: Likewise.
54900         * soft-fp/op-1.h: Likewise.
54901         * soft-fp/op-2.h: Likewise.
54902         * soft-fp/op-4.h: Likewise.
54903         * soft-fp/op-8.h: Likewise.
54904         * soft-fp/testit.c: Likewise.
54905         * stdio-common/bug16.c: Likewise.
54906         * stdlib/random.c: Likewise.
54907         * sunrpc/rpcsvc/rquota.x: Likewise.
54908         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54909         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54910         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54911         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54912         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54913         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54914         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54915         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54916         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54917         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54918         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54919         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54920         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54921         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54922         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54923         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54924         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54926         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54927         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54928         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54929         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54930         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54931         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54932         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54933         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54934         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54935         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54937         * sysdeps/ieee754/s_lib_version.c: Likewise.
54938         * sysdeps/mach/hurd/check_fds.c: Likewise.
54939         * sysdeps/mach/hurd/getsockname.c: Likewise.
54940         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54941         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54942         * sysdeps/powerpc/bits/link.h: Likewise.
54943         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54944         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54945         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54946         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54947         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54948         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54949         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54950         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54951         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54952         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54953         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54954         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54955         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54956         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54957         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54958         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54963         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54964         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54965         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54966         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54967         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54968         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54969         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54970         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54971         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54975         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54976         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54977         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54979         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54980         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54981         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54982         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54983         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54984         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54985         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54986         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54987         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54988         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54989         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54990         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54991         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54992         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54995         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54996         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54997         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54998         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54999         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55000         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55001         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55005         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55006         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55007         * sysdeps/powerpc/sysdep.h: Likewise.
55008         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55009         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55010         * sysdeps/sh/dl-trampoline.S: Likewise.
55011         * sysdeps/sh/memset.S: Likewise.
55012         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55013         * sysdeps/sh/strlen.S: Likewise.
55014         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55015         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55016         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55017         * sysdeps/sparc/sparc32/rem.S: Likewise.
55018         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55019         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55020         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55021         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55022         * sysdeps/sparc/sparc32/urem.S: Likewise.
55023         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55024         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55025         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55026         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55027         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55028         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55029         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55030         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55031         * sysdeps/unix/bsd/times.c: Likewise.
55032         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55033         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55037         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55038         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55039         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55040         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55041         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55042         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55043         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55044         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55045         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55046         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55047         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55048         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55049         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55050         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55051         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55052         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55053         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55054         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55055         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55056         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55057         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55058         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55059         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55060         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55061         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55062         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55063         * sysdeps/x86_64/strcspn.S: Likewise.
55065 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55067         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55068         generated file.  Regenerate properly from gen-translit.pl.
55069         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55070         locale/C-translit.h.
55072 2013-06-05  Andreas Schwab  <schwab@suse.de>
55074         [BZ #15100]
55075         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55076         week as 6 instead of -1.
55077         * time/tst-strptime.c (day_tests): Add test case.
55079 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55081         * sysdeps/generic/math_private.h
55082         (libc_feholdexcept_setround_53bit): Replace with
55083         libc_feholdsetround_53bit.
55084         (libc_feupdateenv_53bit): Replace with
55085         libc_feresetround_53bit.
55086         (SET_RESTORE_ROUND_53BIT): Adjust.
55088 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55090         * string/test-strchrnul.c: Add copyright header.
55092         * posix/tst-getaddrinfo4.c: Increase test timeout.
55094 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55096         [BZ #15536]
55097         * math/libm-test.inc (MAX_EXP): Remove
55098         (MIN_EXP): Define.
55099         (ulp): Use MIN_EXP - MANT_DIG.
55100         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55102 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55104         * po/be.po: Revert last change.
55105         * po/zh_CN.po: Likewise.
55106         * po/header.pot: Likewise.
55108 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55110         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55111         link-libc-deps to empty as target-specific variable.
55112         * Makerules (link-libc-args): New variable.
55113         (libc-for-link): Likewise.
55114         (link-libc-deps): Likewise.
55115         (lib%.so): Depend on $(link-libc-deps).  Link with
55116         $(link-libc-args).
55117         (build-module): Link with $(link-libc-args).
55118         (build-module-asneeded): Likewise.
55119         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55120         list of objects.
55121         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55122         target-specific variable.
55123         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55124         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55125         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55126         libc.
55127         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55128         libc and ld.so.
55129         ($(objpfx)libpcprofile.so): Likewise.
55130         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55131         libc_nonshared.a.
55132         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55133         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55134         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55135         $(link-libc-deps).
55136         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55137         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55138         * login/Makefile ($(objpfx)libutil.so): Likewise.
55139         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55140         * math/Makefile ($(objpfx)libm.so): Likewise.
55141         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55142         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55143         variable instead of depending directly on libc.
55144         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55145         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55146         $(link-libc-deps).
55147         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55148         libc.
55149         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55150         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55151         ($(objpfx)libanl.so): Likewise.
55152         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55153         ld.so.
55154         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55155         $(link-libc-deps).
55156         * sysdeps/i386/fpu/Makefile: Remove file.
55157         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55158         ($(objpfx)libm.so): Remove dependency on ld.so.
55160 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55162         [BZ # 15553]
55163         * nis/yp_xdr.c (XDRMAXNAME): Define.
55164         (XDRMAXRECORD): Define.
55165         (xdr_domainname): Use XDRMAXNAME.
55166         (xdr_mapname): Likewise.
55167         (xdr_peername): Likewise.
55168         (xdr_keydat): Use XDRMAXRECORD.
55169         (xdr_valdat): Likewise.
55171 2013-05-30  Jeff Law  <law@redhat.com>
55173         [BZ #14256]
55174         * manual/errno.texi (ESTALE): Update to account for more than
55175         just NFS file systems.
55176         * sysdeps/gnu/errlist.c: Regenerated.
55178 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55180         [BZ #15465]
55181         * elf/Makefile (tests): Add tst-null-argv.
55182         (modules-names):  Add tst-null-argv-lib.
55183         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55184         (tst-null-argv-ENV): Set environment for tst-null-argv.
55185         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55186         (RTLD_PROGNAME): New macro.
55187         * elf/tst-null-argv.c: New test case.
55188         * elf/tst-null-argv-lib.c: Library for test case.
55189         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55190         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55191         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55192         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55193         * elf/dl-init.c (call_init): Likewise.
55194         (_dl_init): Likewise.
55195         * elf/dl-load.c (print_search_path): Likewise.
55196         (_dl_map_object): Likewise.
55197         * elf/dl-lookup.c (do_lookup_x): Likewise.
55198         (add_dependency): Likewise.
55199         (_dl_lookup_symbol_x): Likewise.
55200         (_dl_debug_bindings): Likewise.
55201         * elf/dl-open.c (_dl_show_scope): Likewise.
55202         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55203         * elf/dl-version.c (match_symbol): Likewise.
55204         (_dl_check_map_versions): Likewise.
55205         * elf/rtld.c (dl_main): Likewise.
55206         (print_unresolved): Use RTLD_PROGNAME.
55207         (print_missing_version): Likewise.
55208         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55209         (elf_machine_rela): Likewise.
55210         * sysdeps/powerpc/powerpc32/dl-machine.c
55211         (__process_machine_rela): Likewise.
55212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55213         Likewise.
55214         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55215         Likewise.
55216         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55217         Likewise.
55218         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55219         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55220         Likewise.
55221         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55222         Likewise.
55223         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55225 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55227         * po/be.po: Add descriptive title.
55228         * po/zh_CN.po: Likewise.
55229         * po/header.pot: Likewise.
55231 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55233         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55234         error message.
55235         (enlarge_archive): Likewise.
55237 2013-05-28  Ben North  <ben@redfrontdoor.org>
55239         * manual/arith.texi (frexp): It is the magnitude of the return
55240         value which lies in [0.5, 1), not the return value itself.
55242 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55244         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55246 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55248         * stdio-common/bug26.c (main): Correct fscanf template.
55250         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55251         declare _dl_skip_args.
55253         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55254         Don't declare.
55256         * manual/platform.texi: Add missing @end deftypefun.
55258 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55260         [BZ #15529]
55261         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55262         bit of mantissa of 2^16382.
55263         * math/libm-test.inc (hypot_test_data): Add more tests.
55265         * math/libm-test.inc: Add drem and pow10 to list of tested
55266         functions.
55267         (pow10_test): New function.
55268         (drem_test): Likewise.
55269         (drem_test_tonearest): Likewise.
55270         (drem_test_towardzero): Likewise.
55271         (drem_test_downward): Likewise.
55272         (drem_test_upward): Likewise.
55273         (main): Call the new functions.
55275         * math/libm-test.inc (finite_test_data): Remove.
55276         (finite_test): Run tests from isfinite_test_data.
55277         (gamma_test_data): Remove.
55278         (gamma_test): Run tests from lgamma_test_data.
55279         * sysdeps/i386/fpu/libm-test-ulps: Update.
55280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55282 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55284         * manual/platform.texi: Add PowerPC PPR function set documentation.
55285         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55286         implementation.
55288 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55290         * math/libm-test.inc (MAX_EXP): Define.
55291         (ULPDIFF): Define.
55292         (ulp): New function.
55293         (check_float_internal): Use ULPDIFF.
55294         (cpow_test): Disable failing test.
55295         (check_ulp): Test ulp() implementation.
55296         (main): Call check_ulp before starting tests.
55298 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55300         * math/gen-libm-test.pl (generate_testfile): Do not handle
55301         START_DATA and END_DATA.
55302         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55303         END_DATA.
55304         (acos_tonearest_test_data): Likewise.
55305         (acos_towardzero_test_data): Likewise.
55306         (acos_downward_test_data): Likewise.
55307         (acos_upward_test_data): Likewise.
55308         (acosh_test_data): Likewise.
55309         (asin_test_data): Likewise.
55310         (asin_tonearest_test_data): Likewise.
55311         (asin_towardzero_test_data): Likewise.
55312         (asin_downward_test_data): Likewise.
55313         (asin_upward_test_data): Likewise.
55314         (asinh_test_data): Likewise.
55315         (atan_test_data): Likewise.
55316         (atanh_test_data): Likewise.
55317         (atan2_test_data): Likewise.
55318         (cabs_test_data): Likewise.
55319         (cacos_test_data): Likewise.
55320         (cacosh_test_data): Likewise.
55321         (carg_test_data): Likewise.
55322         (casin_test_data): Likewise.
55323         (casinh_test_data): Likewise.
55324         (catan_test_data): Likewise.
55325         (catanh_test_data): Likewise.
55326         (cbrt_test_data): Likewise.
55327         (ccos_test_data): Likewise.
55328         (ccosh_test_data): Likewise.
55329         (ceil_test_data): Likewise.
55330         (cexp_test_data): Likewise.
55331         (cimag_test_data): Likewise.
55332         (clog_test_data): Likewise.
55333         (clog10_test_data): Likewise.
55334         (conj_test_data): Likewise.
55335         (copysign_test_data): Likewise.
55336         (cos_test_data): Likewise.
55337         (cos_tonearest_test_data): Likewise.
55338         (cos_towardzero_test_data): Likewise.
55339         (cos_downward_test_data): Likewise.
55340         (cos_upward_test_data): Likewise.
55341         (cosh_test_data): Likewise.
55342         (cosh_tonearest_test_data): Likewise.
55343         (cosh_towardzero_test_data): Likewise.
55344         (cosh_downward_test_data): Likewise.
55345         (cosh_upward_test_data): Likewise.
55346         (cpow_test_data): Likewise.
55347         (cproj_test_data): Likewise.
55348         (creal_test_data): Likewise.
55349         (csin_test_data): Likewise.
55350         (csinh_test_data): Likewise.
55351         (csqrt_test_data): Likewise.
55352         (ctan_test_data): Likewise.
55353         (ctan_tonearest_test_data): Likewise.
55354         (ctan_towardzero_test_data): Likewise.
55355         (ctan_downward_test_data): Likewise.
55356         (ctan_upward_test_data): Likewise.
55357         (ctanh_test_data): Likewise.
55358         (ctanh_tonearest_test_data): Likewise.
55359         (ctanh_towardzero_test_data): Likewise.
55360         (ctanh_downward_test_data): Likewise.
55361         (ctanh_upward_test_data): Likewise.
55362         (erf_test_data): Likewise.
55363         (erfc_test_data): Likewise.
55364         (exp_test_data): Likewise.
55365         (exp_tonearest_test_data): Likewise.
55366         (exp_towardzero_test_data): Likewise.
55367         (exp_downward_test_data): Likewise.
55368         (exp_upward_test_data): Likewise.
55369         (exp10_test_data): Likewise.
55370         (exp2_test_data): Likewise.
55371         (expm1_test_data): Likewise.
55372         (fabs_test_data): Likewise.
55373         (fdim_test_data): Likewise.
55374         (finite_test_data): Likewise.
55375         (floor_test_data): Likewise.
55376         (fma_test_data): Likewise.
55377         (fma_towardzero_test_data): Likewise.
55378         (fma_downward_test_data): Likewise.
55379         (fma_upward_test_data): Likewise.
55380         (fmax_test_data): Likewise.
55381         (fmin_test_data): Likewise.
55382         (fmod_test_data): Likewise.
55383         (fpclassify_test_data): Likewise.
55384         (frexp_test_data): Likewise.
55385         (gamma_test_data): Likewise.
55386         (hypot_test_data): Likewise.
55387         (ilogb_test_data): Likewise.
55388         (isfinite_test_data): Likewise.
55389         (isgreater_test_data): Likewise.
55390         (isgreaterequal_test_data): Likewise.
55391         (isinf_test_data): Likewise.
55392         (isless_test_data): Likewise.
55393         (islessequal_test_data): Likewise.
55394         (islessgreater_test_data): Likewise.
55395         (isnan_test_data): Likewise.
55396         (isnormal_test_data): Likewise.
55397         (issignaling_test_data): Likewise.
55398         (isunordered_test_data): Likewise.
55399         (j0_test_data): Likewise.
55400         (j1_test_data): Likewise.
55401         (jn_test_data): Likewise.
55402         (ldexp_test_data): Likewise.
55403         (lgamma_test_data): Likewise.
55404         (lrint_test_data): Likewise.
55405         (lrint_tonearest_test_data): Likewise.
55406         (lrint_towardzero_test_data): Likewise.
55407         (lrint_downward_test_data): Likewise.
55408         (lrint_upward_test_data): Likewise.
55409         (llrint_test_data): Likewise.
55410         (llrint_tonearest_test_data): Likewise.
55411         (llrint_towardzero_test_data): Likewise.
55412         (llrint_downward_test_data): Likewise.
55413         (llrint_upward_test_data): Likewise.
55414         (log_test_data): Likewise.
55415         (log10_test_data): Likewise.
55416         (log1p_test_data): Likewise.
55417         (log2_test_data): Likewise.
55418         (logb_test_data): Likewise.
55419         (logb_downward_test_data): Likewise.
55420         (lround_test_data): Likewise.
55421         (llround_test_data): Likewise.
55422         (modf_test_data): Likewise.
55423         (nearbyint_test_data): Likewise.
55424         (nextafter_test_data): Likewise.
55425         (nexttoward_test_data): Likewise.
55426         (pow_test_data): Likewise.
55427         (pow_tonearest_test_data): Likewise.
55428         (pow_towardzero_test_data): Likewise.
55429         (pow_downward_test_data): Likewise.
55430         (pow_upward_test_data): Likewise.
55431         (remainder_test_data): Likewise.
55432         (remainder_tonearest_test_data): Likewise.
55433         (remainder_towardzero_test_data): Likewise.
55434         (remainder_downward_test_data): Likewise.
55435         (remainder_upward_test_data): Likewise.
55436         (remquo_test_data): Likewise.
55437         (rint_test_data): Likewise.
55438         (rint_tonearest_test_data): Likewise.
55439         (rint_towardzero_test_data): Likewise.
55440         (rint_downward_test_data): Likewise.
55441         (rint_upward_test_data): Likewise.
55442         (round_test_data): Likewise.
55443         (scalb_test_data): Likewise.
55444         (scalbn_test_data): Likewise.
55445         (scalbln_test_data): Likewise.
55446         (signbit_test_data): Likewise.
55447         (sin_test_data): Likewise.
55448         (sin_tonearest_test_data): Likewise.
55449         (sin_towardzero_test_data): Likewise.
55450         (sin_downward_test_data): Likewise.
55451         (sin_upward_test_data): Likewise.
55452         (sincos_test_data): Likewise.
55453         (sinh_test_data): Likewise.
55454         (sinh_tonearest_test_data): Likewise.
55455         (sinh_towardzero_test_data): Likewise.
55456         (sinh_downward_test_data): Likewise.
55457         (sinh_upward_test_data): Likewise.
55458         (sqrt_test_data): Likewise.
55459         (tan_test_data): Likewise.
55460         (tan_tonearest_test_data): Likewise.
55461         (tan_towardzero_test_data): Likewise.
55462         (tan_downward_test_data): Likewise.
55463         (tan_upward_test_data): Likewise.
55464         (tanh_test_data): Likewise.
55465         (tgamma_test_data): Likewise.
55466         (trunc_test_data): Likewise.
55467         (y0_test_data): Likewise.
55468         (y1_test_data): Likewise.
55469         (yn_test_data): Likewise.
55470         (significand_test_data): Likewise.
55472         * math/gen-libm-test.pl (@functions): Remove variable.
55473         (generate_testfile): Don't handle START and END lines.
55474         * math/libm-test.inc (START): New macro.
55475         (END): Likewise.
55476         (END_COMPLEX): Likewise.
55477         (acos_test): Use END macro without arguments.
55478         (acos_test_tonearest): Likewise.
55479         (acos_test_towardzero): Likewise.
55480         (acos_test_downward): Likewise.
55481         (acos_test_upward): Likewise.
55482         (acosh_test): Likewise.
55483         (asin_test): Likewise.
55484         (asin_test_tonearest): Likewise.
55485         (asin_test_towardzero): Likewise.
55486         (asin_test_downward): Likewise.
55487         (asin_test_upward): Likewise.
55488         (asinh_test): Likewise.
55489         (atan_test): Likewise.
55490         (atanh_test): Likewise.
55491         (atan2_test): Likewise.
55492         (cabs_test): Likewise.
55493         (cacos_test): Use END_COMPLEX macro without arguments.
55494         (cacosh_test): Likewise.
55495         (carg_test): Use END macro without arguments.
55496         (casin_test): Use END_COMPLEX macro without arguments.
55497         (casinh_test): Likewise.
55498         (catan_test): Likewise.
55499         (catanh_test): Likewise.
55500         (cbrt_test): Use END macro without arguments.
55501         (ccos_test): Use END_COMPLEX macro without arguments.
55502         (ccosh_test): Likewise.
55503         (ceil_test): Use END macro without arguments.
55504         (cexp_test): Use END_COMPLEX macro without arguments.
55505         (cimag_test): Use END macro without arguments.
55506         (clog_test): Use END_COMPLEX macro without arguments.
55507         (clog10_test): Likewise.
55508         (conj_test): Likewise.
55509         (copysign_test): Use END macro without arguments.
55510         (cos_test): Likewise.
55511         (cos_test_tonearest): Likewise.
55512         (cos_test_towardzero): Likewise.
55513         (cos_test_downward): Likewise.
55514         (cos_test_upward): Likewise.
55515         (cosh_test): Likewise.
55516         (cosh_test_tonearest): Likewise.
55517         (cosh_test_towardzero): Likewise.
55518         (cosh_test_downward): Likewise.
55519         (cosh_test_upward): Likewise.
55520         (cpow_test): Use END_COMPLEX macro without arguments.
55521         (cproj_test): Likewise.
55522         (creal_test): Use END macro without arguments.
55523         (csin_test): Use END_COMPLEX macro without arguments.
55524         (csinh_test): Likewise.
55525         (csqrt_test): Likewise.
55526         (ctan_test): Likewise.
55527         (ctan_test_tonearest): Likewise.
55528         (ctan_test_towardzero): Likewise.
55529         (ctan_test_downward): Likewise.
55530         (ctan_test_upward): Likewise.
55531         (ctanh_test): Likewise.
55532         (ctanh_test_tonearest): Likewise.
55533         (ctanh_test_towardzero): Likewise.
55534         (ctanh_test_downward): Likewise.
55535         (ctanh_test_upward): Likewise.
55536         (erf_test): Use END macro without arguments.
55537         (erfc_test): Likewise.
55538         (exp_test): Likewise.
55539         (exp_test_tonearest): Likewise.
55540         (exp_test_towardzero): Likewise.
55541         (exp_test_downward): Likewise.
55542         (exp_test_upward): Likewise.
55543         (exp10_test): Likewise.
55544         (exp2_test): Likewise.
55545         (expm1_test): Likewise.
55546         (fabs_test): Likewise.
55547         (fdim_test): Likewise.
55548         (finite_test): Likewise.
55549         (floor_test): Likewise.
55550         (fma_test): Likewise.
55551         (fma_test_towardzero): Likewise.
55552         (fma_test_downward): Likewise.
55553         (fma_test_upward): Likewise.
55554         (fmax_test): Likewise.
55555         (fmin_test): Likewise.
55556         (fmod_test): Likewise.
55557         (fpclassify_test): Likewise.
55558         (frexp_test): Likewise.
55559         (gamma_test): Likewise.
55560         (hypot_test): Likewise.
55561         (ilogb_test): Likewise.
55562         (isfinite_test): Likewise.
55563         (isgreater_test): Likewise.
55564         (isgreaterequal_test): Likewise.
55565         (isinf_test): Likewise.
55566         (isless_test): Likewise.
55567         (islessequal_test): Likewise.
55568         (islessgreater_test): Likewise.
55569         (isnan_test): Likewise.
55570         (isnormal_test): Likewise.
55571         (issignaling_test): Likewise.
55572         (isunordered_test): Likewise.
55573         (j0_test): Likewise.
55574         (j1_test): Likewise.
55575         (jn_test): Likewise.
55576         (ldexp_test): Likewise.
55577         (lgamma_test): Likewise.
55578         (lrint_test): Likewise.
55579         (lrint_test_tonearest): Likewise.
55580         (lrint_test_towardzero): Likewise.
55581         (lrint_test_downward): Likewise.
55582         (lrint_test_upward): Likewise.
55583         (llrint_test): Likewise.
55584         (llrint_test_tonearest): Likewise.
55585         (llrint_test_towardzero): Likewise.
55586         (llrint_test_downward): Likewise.
55587         (llrint_test_upward): Likewise.
55588         (log_test): Likewise.
55589         (log10_test): Likewise.
55590         (log1p_test): Likewise.
55591         (log2_test): Likewise.
55592         (logb_test): Likewise.
55593         (logb_test_downward): Likewise.
55594         (lround_test): Likewise.
55595         (llround_test): Likewise.
55596         (modf_test): Likewise.
55597         (nearbyint_test): Likewise.
55598         (nextafter_test): Likewise.
55599         (nexttoward_test): Likewise.
55600         (pow_test): Likewise.
55601         (pow_test_tonearest): Likewise.
55602         (pow_test_towardzero): Likewise.
55603         (pow_test_downward): Likewise.
55604         (pow_test_upward): Likewise.
55605         (remainder_test): Likewise.
55606         (remainder_test_tonearest): Likewise.
55607         (remainder_test_towardzero): Likewise.
55608         (remainder_test_downward): Likewise.
55609         (remainder_test_upward): Likewise.
55610         (remquo_test): Likewise.
55611         (rint_test): Likewise.
55612         (rint_test_tonearest): Likewise.
55613         (rint_test_towardzero): Likewise.
55614         (rint_test_downward): Likewise.
55615         (rint_test_upward): Likewise.
55616         (round_test): Likewise.
55617         (scalb_test): Likewise.
55618         (scalbn_test): Likewise.
55619         (scalbln_test): Likewise.
55620         (signbit_test): Likewise.
55621         (sin_test): Likewise.
55622         (sin_test_tonearest): Likewise.
55623         (sin_test_towardzero): Likewise.
55624         (sin_test_downward): Likewise.
55625         (sin_test_upward): Likewise.
55626         (sincos_test): Likewise.
55627         (sinh_test): Likewise.
55628         (sinh_test_tonearest): Likewise.
55629         (sinh_test_towardzero): Likewise.
55630         (sinh_test_downward): Likewise.
55631         (sinh_test_upward): Likewise.
55632         (sqrt_test): Likewise.
55633         (tan_test): Likewise.
55634         (tan_test_tonearest): Likewise.
55635         (tan_test_towardzero): Likewise.
55636         (tan_test_downward): Likewise.
55637         (tan_test_upward): Likewise.
55638         (tanh_test): Likewise.
55639         (tgamma_test): Likewise.
55640         (trunc_test): Likewise.
55641         (y0_test): Likewise.
55642         (y1_test): Likewise.
55643         (yn_test): Likewise.
55644         (significand_test): Likewise.
55646 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55648         [BZ #15381]
55649         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55651 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55653         [BZ #14894]
55654         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55655         __ppc_mdoio and __ppc_mdoom.
55656         * manual/platform.texi: Document new functions __ppc_yield,
55657         __ppc_mdoio and __ppc_mdoom.
55659 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55661         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55662         (main): Mention "tls" pseudo-hwcap is legacy.
55663         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55665 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55667         * math/gen-libm-test.pl (parse_args): Output only string of
55668         arguments as text for test name, not full call or descriptions of
55669         tests for extra outputs.
55670         (generate_testfile): Do not pass function name to parse_args.
55671         Generate this_func variable from START.
55672         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55673         field to arg_str.
55674         (struct test_ff_f_data): Likewise.
55675         (test_ff_f_data_nexttoward): Likewise.
55676         (struct test_fi_f_data): Likewise.
55677         (struct test_fl_f_data): Likewise.
55678         (struct test_if_f_data): Likewise.
55679         (struct test_fff_f_data): Likewise.
55680         (struct test_c_f_data): Likewise.
55681         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55682         (struct test_fF_f1_data): Likewise.
55683         (struct test_ffI_f1_data): Likewise.
55684         (struct test_c_c_data): Rename test_name field to arg_str.
55685         (struct test_cc_c_data): Likewise.
55686         (struct test_f_i_data): Likewise.
55687         (struct test_ff_i_data): Likewise.
55688         (struct test_f_l_data): Likewise.
55689         (struct test_f_L_data): Likewise.
55690         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55691         and extra2_name.
55692         (COMMON_TEST_SETUP): New macro.
55693         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55694         (COMMON_TEST_CLEANUP): Likewise.
55695         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55696         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55697         macros.
55698         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55699         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55700         macros.
55701         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55702         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55703         cleanup macros.
55704         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55705         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55706         macros.
55707         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55708         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55709         macros.
55710         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55711         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55712         cleanup macros.
55713         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55714         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55715         cleanup macros.
55716         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55717         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55718         cleanup macros.
55719         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55720         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55721         macros.
55722         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55723         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55724         macros.
55725         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55726         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55727         macros.
55728         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55729         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55730         cleanup macros.
55731         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55732         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55733         cleanup macros.
55734         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55735         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55736         macros.
55737         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55738         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55739         cleanup macros.
55740         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55741         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55742         macros.
55743         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55744         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55745         macros.
55746         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55747         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55748         cleanup macros.
55749         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55751 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55753         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55754         to _sifields.sigfault.
55755         (si_addr_lsb): Define new macro.
55756         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55757         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55758         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55760 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55762         [BZ #15441]
55763         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55764         returns -1.
55765         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55766         null return -1.
55767         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55768         loading the domain.
55770 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55772         * math/gen-libm-test.pl (parse_args): Do not include expected
55773         result in test name.
55774         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55776         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55781 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55783         * benchtests/Makefile: Sort function entries.
55785         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55786         tanh, asinh, acosh, atanh.
55787         * benchtests/acos-inputs: New file.
55788         * benchtests/acosh-inputs: New file.
55789         * benchtests/asin-inputs: New file.
55790         * benchtests/asinh-inputs: New file.
55791         * benchtests/atanh-inputs: New file.
55792         * benchtests/cosh-inputs: New file.
55793         * benchtests/log-inputs: New file.
55794         * benchtests/sinh-inputs: New file.
55795         * benchtests/tanh-inputs: New file.
55797 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55799         [BZ #15339]
55800         * posix/tst-getaddrinfo4.c: New test.
55801         * posix/Makefile (tests): Add it.
55803 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55805         [BZ #15339]
55806         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55807         when no services were used.
55808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55809         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55811 2013-05-21  Andreas Schwab  <schwab@suse.de>
55813         [BZ #15014]
55814         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55815         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55816         successful.
55817         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55818         redundant variable declarations and reallocation of buffer when
55819         parsing as IPv6 address.  Always set NSS status when called from
55820         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55821         buffer too small.  Correct computation of needed size.
55822         * nss/Makefile (tests): Add test-digits-dots.
55823         * nss/test-digits-dots.c: New test.
55825 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55827         * benchtests/Makefile: Remove instructions for adding
55828         benchmark tests.
55829         * benchtests/README: New file to explain how to execute and
55830         enhance the benchmark tests.
55832 2013-05-21  Andreas Schwab  <schwab@suse.de>
55834         [BZ #15493]
55835         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55836         * setjmp/tst-sigsetjmp.c: New test.
55838 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55840         * sysdeps/x86_64/memset.S (memset): New implementation.
55841         (__bzero): Likewise.
55842         (__memset_tail): New function.
55844 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55846         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55847         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55848         __memcpy_sse2_unaligned ifunc selection.
55849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55850         Add memcpy-sse2-unaligned.S.
55851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55852         Add: __memcpy_sse2_unaligned.
55854 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55856         [BZ #15490]
55857         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55858         math_force_eval before restoring floating-point envrionment.
55859         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55860         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55861         Likewise.
55862         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55863         <math_private.h>.
55864         (__nearbyintl): Use math_force_eval before restoring
55865         floating-point environment.
55866         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55868         * math/gen-libm-test.pl (special_functions): Remove.
55869         (parse_args): Don't handle TEST_extra.  Handle functions with no
55870         return value.
55871         * math/libm-test.inc (struct test_sincos_data): Replace with
55872         struct test_fFF_11_data.
55873         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55874         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55875         (sincos_test_data): Change element type to struct
55876         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55877         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55878         RUN_TEST_LOOP_sincos.
55879         * math/README.libm-test: Don't mention special handling of
55880         individual functions.
55881         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55882         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55883         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55884         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55885         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55888         * math/gen-libm-test.pl (get_variable): Remove function.
55889         (parse_args): Don't show pointer parameters to call in test
55890         names.  Use "extra output N" in test names for extra outputs
55891         rather than naming variables.
55893 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55895         [BZ #15488]
55896         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55897         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55898         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55899         double tests.
55900         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55901         disable.
55902         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55903         check_long_double.
55905         * math/gen-libm-test.pl (@tests): Remove variable.
55906         ($count): Likewise.
55907         (new_test): Remove function.
55908         (show_exceptions): New function.
55909         (special_functions): Use show_exceptions instead of new_test.
55910         (parse_args): Likewise.
55911         (generate_testfile): Pass only function name in generated call to
55912         print_max_error or print_complex_max_error.
55913         (get_ulps): Do not handle complex tests specially.
55914         (output_test): Rename to ...
55915         (get_all_ulps_for_test): ... this.  Return a string rather than
55916         printing to a file.  Require ulps to be present.
55917         (output_ulps): Generate arrays rather than #defines.
55918         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55919         (struct ulp_data): New type.
55920         (BUILD_COMPLEX_ULP): Remove macro.
55921         (compare_ulp_data): New function.
55922         (find_ulps): Likewise.
55923         (find_test_ulps): Likewise.
55924         (find_function_ulps): Likewise.
55925         (find_complex_function_ulps): Likewise.
55926         (print_max_error): Determine allowed ulps using
55927         find_function_ulps.
55928         (print_complex_max_error): Determine allowed ulps using
55929         find_complex_function_ulps.
55930         (check_float_internal): Determine max ulps using find_test_ulps.
55931         (check_float): Do not take max_ulp parameter.  Update call to
55932         check_float_internal.
55933         (check_complex): Likewise.
55934         (check_int): Do not take max_ulp parameter.
55935         (check_long): Likewise.
55936         (check_bool): Likewise.
55937         (check_longlong): Likewise.
55938         (struct test_f_f_data): Remove max_ulp field.
55939         (struct test_ff_f_data): Likewise.
55940         (struct test_ff_f_data_nexttoward): Likewise.
55941         (struct test_fi_f_data): Likewise.
55942         (struct test_fl_f_data): Likewise.
55943         (struct test_if_f_data): Likewise.
55944         (struct test_fff_f_data): Likewise.
55945         (struct test_c_f_data): Likewise.
55946         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55947         (struct test_fF_f1_data): Likewise.
55948         (struct test_ffI_f1_data): Likewise.
55949         (struct test_c_c_data): Remove max_ulp field.
55950         (struct test_cc_c_data): Likewise.
55951         (struct test_f_i_data): Likewise.
55952         (struct test_ff_i_data): Likewise.
55953         (struct test_f_l_data): Likewise.
55954         (struct test_f_L_data): Likewise.
55955         (struct test_sincos_data): Likewise.
55956         (RUN_TEST_f_f): Do not handle ulps.
55957         (RUN_TEST_LOOP_f_f): Likewise.
55958         (RUN_TEST_2_f): Likewise.
55959         (RUN_TEST_LOOP_2_f): Likewise.
55960         (RUN_TEST_fff_f): Likewise.
55961         (RUN_TEST_LOOP_fff_f): Likewise.
55962         (RUN_TEST_c_f): Likewise.
55963         (RUN_TEST_LOOP_c_f): Likewise.
55964         (RUN_TEST_f_f1): Likewise.
55965         (RUN_TEST_LOOP_f_f1): Likewise.
55966         (RUN_TEST_fF_f1): Likewise.
55967         (RUN_TEST_LOOP_fF_f1): Likewise.
55968         (RUN_TEST_fI_f1): Likewise.
55969         (RUN_TEST_LOOP_fI_f1): Likewise.
55970         (RUN_TEST_ffI_f1): Likewise.
55971         (RUN_TEST_LOOP_ffI_f1): Likewise.
55972         (RUN_TEST_c_c): Likewise.
55973         (RUN_TEST_LOOP_c_c): Likewise.
55974         (RUN_TEST_cc_c): Likewise.
55975         (RUN_TEST_LOOP_cc_c): Likewise.
55976         (RUN_TEST_f_i): Likewise.
55977         (RUN_TEST_LOOP_f_i): Likewise.
55978         (RUN_TEST_f_i_tg): Likewise.
55979         (RUN_TEST_LOOP_f_i_tg): Likewise.
55980         (RUN_TEST_ff_i_tg): Likewise.
55981         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55982         (RUN_TEST_f_b): Likewise.
55983         (RUN_TEST_LOOP_f_b): Likewise.
55984         (RUN_TEST_f_b_tg): Likewise.
55985         (RUN_TEST_LOOP_f_b_tg): Likewise.
55986         (RUN_TEST_f_l): Likewise.
55987         (RUN_TEST_LOOP_f_l): Likewise.
55988         (RUN_TEST_f_L): Likewise.
55989         (RUN_TEST_LOOP_f_L): Likewise.
55990         (RUN_TEST_sincos): Likewise.
55991         (RUN_TEST_LOOP_sincos): Likewise.
55993 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55995         [BZ #15480]
55996         [BZ #15485]
55997         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55998         main case of finite arguments, set rounding mode to FE_TONEAREST
55999         and discard exceptions.
56000         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56001         exceptions.
56002         (remainder_tonearest_test_data): New variable.
56003         (remainder_test_tonearest): New function.
56004         (remainder_towardzero_test_data): New variable.
56005         (remainder_test_towardzero): New function.
56006         (remainder_downward_test_data): New variable.
56007         (remainder_test_downward): New function.
56008         (remainder_upward_test_data): New variable.
56009         (remainder_test_upward): New function.
56010         (main): Call the new test functions.
56012         * math/libm-test.inc (struct test_f_f1_data): Remove field
56013         extra_init.
56014         (struct test_fF_f1_data): Likewise.
56015         (struct test_ffI_f1_data): Likewise.
56016         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56017         based on value of EXTRA_EXPECTED.
56018         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56019         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56020         EXTRA_VAR based on value of EXTRA_EXPECTED.
56021         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56022         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56023         EXTRA_VAR based on value of EXTRA_EXPECTED.
56024         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56025         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56026         EXTRA_VAR based on value of EXTRA_EXPECTED.
56027         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56028         * math/gen-libm-test.pl (parse_args): Don't output initializers
56029         for extra output values.
56031         * math/libm-test.inc (check_int): Expect result to be exactly
56032         equal to expected value and do not handle ulps.
56033         (check_long): Likewise.
56034         (check_longlong): Likewise.
56036         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56037         exceptions.
56038         (cimag_test_data): Likewise.
56039         (conj_test_data): Likewise.
56040         (copysign_test_data): Likewise.
56041         (cproj_test_data): Likewise.
56042         (creal_test_data): Likewise.
56043         (fabs_test_data): Likewise.
56044         (fdim_test_data): Likewise.
56045         (finite_test_data): Likewise.
56046         (floor_test_data): Likewise.
56047         (fmax_test_data): Likewise.
56048         (fmin_test_data): Likewise.
56049         (fmod_test_data): Likewise.
56050         (fpclassify_test_data): Likewise.
56051         (frexp_test_data): Likewise.
56052         (ilogb_test_data): Likewise.
56053         (isfinite_test_data): Likewise.
56054         (isgreater_test_data): Likewise.
56055         (isgreaterequal_test_data): Likewise.
56056         (isinf_test_data): Likewise.
56057         (isless_test_data): Likewise.
56058         (islessequal_test_data): Likewise.
56059         (islessgreater_test_data): Likewise.
56060         (isnan_test_data): Likewise.
56061         (isnormal_test_data): Likewise.
56062         (issignaling_test_data): Likewise.
56063         (isunordered_test_data): Likewise.
56064         (ldexp_test_data): Likewise.
56065         (lrint_test_data): Likewise.
56066         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56067         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56068         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56069         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56070         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56071         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56072         test input.
56073         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56074         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56075         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56076         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56077         that test input.
56078         (lrint_downward_test_data): Test for "inexact" exceptions.
56079         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56080         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56081         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56082         test input.
56083         (lrint_upward_test_data): Test for "inexact" exceptions.
56084         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56085         test input.
56086         (llrint_test_data): Test for "inexact" exceptions.
56087         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56088         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56089         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56090         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56091         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56092         (llrint_downward_test_data): Test for "inexact" exceptions.
56093         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56094         (llrint_upward_test_data): Test for "inexact" exceptions.
56095         (logb_test_data): Likewise.
56096         (logb_downward_test_data): Likewise.
56097         (nextafter_test_data): Likewise.
56098         (nexttoward_test_data): Likewise.
56099         (remainder_test_data): Likewise.
56100         (remquo_test_data): Likewise.
56101         (scalbn_test_data): Likewise.
56102         (scalbln_test_data): Likewise.
56103         (signbit_test_data): Likewise.
56104         (sqrt_test_data): Likewise.
56105         (significand_test_data): Likewise.
56107 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56109         [BZ #15424]
56110         * benchtests/bench-modf.c (struct args): Mark arg0 as
56111         volatile.
56112         * scripts/bench.pl: Mark members of struct args as volatile.
56114 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56116         [BZ # 15497]
56117         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56118         negative infinity on POWER6 or lower.
56119         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56121 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56123         [BZ #15442]
56124         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56125         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56126         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56127         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56128         (_FP_SETQNAN): New macro.
56129         (_FP_SETQNAN_SEMIRAW): Likewise.
56130         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56131         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56132         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56133         (FP_EXTEND): Use _FP_FRAC_SNANP.
56134         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56135         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56136         into account.
56137         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56138         New macro.
56139         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56140         Likewise.
56142 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56144         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56145         with DIVIDE_BY_ZERO_EXCEPTION.
56146         (gamma_test_data): Likewise.
56147         (lgamma_test_data): Likewise.
56148         (log_test_data): Likewise.
56149         (log10_test_data): Likewise.
56150         (log2_test_data): Likewise.
56151         (tgamma_test_data): Likewise.
56153         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56154         (acos_test_tonearest): Likewise.
56155         (acos_test_towardzero): Likewise.
56156         (acos_test_downward): Likewise.
56157         (acos_test_upward): Likewise.
56158         (acosh_test): Likewise.
56159         (asin_test): Likewise.
56160         (asin_test_tonearest): Likewise.
56161         (asin_test_towardzero): Likewise.
56162         (asin_test_downward): Likewise.
56163         (asin_test_upward): Likewise.
56164         (asinh_test): Likewise.
56165         (atan_test): Likewise.
56166         (atanh_test): Likewise.
56167         (atan2_test): Likewise.
56168         (cabs_test): Likewise.
56169         (cacos_test): Likewise.
56170         (cacosh_test): Likewise.
56171         (casin_test): Likewise.
56172         (casinh_test): Likewise.
56173         (catan_test): Likewise.
56174         (catanh_test): Likewise.
56175         (cbrt_test): Likewise.
56176         (ccos_test): Likewise.
56177         (ccosh_test): Likewise.
56178         (cexp_test): Likewise.
56179         (clog_test): Likewise.
56180         (clog10_test): Likewise.
56181         (cos_test): Likewise.
56182         (cos_test_tonearest): Likewise.
56183         (cos_test_towardzero): Likewise.
56184         (cos_test_downward): Likewise.
56185         (cos_test_upward): Likewise.
56186         (cosh_test): Likewise.
56187         (cosh_test_tonearest): Likewise.
56188         (cosh_test_towardzero): Likewise.
56189         (cosh_test_downward): Likewise.
56190         (cosh_test_upward): Likewise.
56191         (cpow_test): Likewise.
56192         (csin_test): Likewise.
56193         (csinh_test): Likewise.
56194         (csqrt_test): Likewise.
56195         (ctan_test): Likewise.
56196         (ctan_test_tonearest): Likewise.
56197         (ctan_test_towardzero): Likewise.
56198         (ctan_test_downward): Likewise.
56199         (ctan_test_upward): Likewise.
56200         (ctanh_test): Likewise.
56201         (ctanh_test_tonearest): Likewise.
56202         (ctanh_test_towardzero): Likewise.
56203         (ctanh_test_downward): Likewise.
56204         (ctanh_test_upward): Likewise.
56205         (erf_test): Likewise.
56206         (erfc_test): Likewise.
56207         (exp_test): Likewise.
56208         (exp_test_tonearest): Likewise.
56209         (exp_test_towardzero): Likewise.
56210         (exp_test_downward): Likewise.
56211         (exp_test_upward): Likewise.
56212         (exp10_test): Likewise.
56213         (exp2_test): Likewise.
56214         (expm1_test): Likewise.
56215         (fmod_test): Likewise.
56216         (gamma_test): Likewise.
56217         (hypot_test): Likewise.
56218         (j0_test): Likewise.
56219         (j1_test): Likewise.
56220         (jn_test): Likewise.
56221         (lgamma_test): Likewise.
56222         (log_test): Likewise.
56223         (log10_test): Likewise.
56224         (log1p_test): Likewise.
56225         (log2_test): Likewise.
56226         (logb_test_downward): Likewise.
56227         (pow_test): Likewise.
56228         (pow_test_tonearest): Likewise.
56229         (pow_test_towardzero): Likewise.
56230         (pow_test_downward): Likewise.
56231         (pow_test_upward): Likewise.
56232         (remainder_test): Likewise.
56233         (remquo_test): Likewise.
56234         (sin_test): Likewise.
56235         (sin_test_tonearest): Likewise.
56236         (sin_test_towardzero): Likewise.
56237         (sin_test_downward): Likewise.
56238         (sin_test_upward): Likewise.
56239         (sincos_test): Likewise.
56240         (sinh_test): Likewise.
56241         (sinh_test_tonearest): Likewise.
56242         (sinh_test_towardzero): Likewise.
56243         (sinh_test_downward): Likewise.
56244         (sinh_test_upward): Likewise.
56245         (sqrt_test): Likewise.
56246         (tan_test): Likewise.
56247         (tan_test_tonearest): Likewise.
56248         (tan_test_towardzero): Likewise.
56249         (tan_test_downward): Likewise.
56250         (tan_test_upward): Likewise.
56251         (tanh_test): Likewise.
56252         (tgamma_test): Likewise.
56253         (y0_test): Likewise.
56254         (y1_test): Likewise.
56255         (yn_test): Likewise.
56257         * math/gen-libm-test.pl (adjust_arg): Remove function.
56258         (special_function): Remove argument $in_func.  Only handle
56259         generating output for tables of tests, not inside functions.
56260         (parse_args): Likewise.
56261         (generate_testfile): Remove variable $in_func.  Update call to
56262         parse_args.
56263         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56264         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56265         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56266         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56267         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56268         (MAX_VALUE_INIT): Rename macro to max_value.
56269         (MIN_VALUE_INIT): Rename macro to min_value.
56270         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56271         (plus_zero): Remove variable.
56272         (minus_zero): Likewise.
56273         (plus_infty): Likewise.
56274         (minus_infty): Likewise.
56275         (qnan_value): Likewise.
56276         (max_value): Likewise.
56277         (min_value): Likewise.
56278         (min_subnorm_value): Likewise.
56280 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56282         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56283         uint64_t or uint32_t usage.
56284         * crypt/sha256-block.c: Likewise.
56285         * crypt/sha256-crypt.c: Likewise.
56286         * crypt/sha256.c: Likewise.
56287         * crypt/sha512-block.c: Likewise.
56288         * crypt/sha512-crypt.c: Likewise.
56289         * crypt/sha512.c: Likewise.
56290         * debug/backtrace-tst.c: Likewise.
56291         * debug/pcprofiledump.c: Likewise.
56292         * elf/cache.c: Likewise.
56293         * elf/dl-cache.c: Likewise.
56294         * elf/dl-misc.c: Likewise.
56295         * elf/dl-profile.c: Likewise.
56296         * elf/dl-support.c: Likewise.
56297         * elf/ldconfig.c: Likewise.
56298         * elf/sprof.c: Likewise.
56299         * iconv/dummy-repertoire.c: Likewise.
56300         * iconv/iconv_charmap.c: Likewise.
56301         * iconv/skeleton.c: Likewise.
56302         * iconvdata/8bit-generic.c: Likewise.
56303         * iconvdata/cp737.h: Likewise.
56304         * iconvdata/cp775.h: Likewise.
56305         * iconvdata/ibm1008.h: Likewise.
56306         * iconvdata/ibm1025.h: Likewise.
56307         * iconvdata/ibm1046.h: Likewise.
56308         * iconvdata/ibm1097.h: Likewise.
56309         * iconvdata/ibm1112.h: Likewise.
56310         * iconvdata/ibm1122.h: Likewise.
56311         * iconvdata/ibm1123.h: Likewise.
56312         * iconvdata/ibm1124.h: Likewise.
56313         * iconvdata/ibm1129.h: Likewise.
56314         * iconvdata/ibm1130.h: Likewise.
56315         * iconvdata/ibm1132.h: Likewise.
56316         * iconvdata/ibm1133.h: Likewise.
56317         * iconvdata/ibm1137.h: Likewise.
56318         * iconvdata/ibm1140.h: Likewise.
56319         * iconvdata/ibm1141.h: Likewise.
56320         * iconvdata/ibm1142.h: Likewise.
56321         * iconvdata/ibm1143.h: Likewise.
56322         * iconvdata/ibm1144.h: Likewise.
56323         * iconvdata/ibm1145.h: Likewise.
56324         * iconvdata/ibm1146.h: Likewise.
56325         * iconvdata/ibm1147.h: Likewise.
56326         * iconvdata/ibm1148.h: Likewise.
56327         * iconvdata/ibm1149.h: Likewise.
56328         * iconvdata/ibm1153.h: Likewise.
56329         * iconvdata/ibm1154.h: Likewise.
56330         * iconvdata/ibm1155.h: Likewise.
56331         * iconvdata/ibm1156.h: Likewise.
56332         * iconvdata/ibm1157.h: Likewise.
56333         * iconvdata/ibm1158.h: Likewise.
56334         * iconvdata/ibm1160.h: Likewise.
56335         * iconvdata/ibm1161.h: Likewise.
56336         * iconvdata/ibm1162.h: Likewise.
56337         * iconvdata/ibm1163.h: Likewise.
56338         * iconvdata/ibm1164.h: Likewise.
56339         * iconvdata/ibm1166.h: Likewise.
56340         * iconvdata/ibm1167.h: Likewise.
56341         * iconvdata/ibm12712.h: Likewise.
56342         * iconvdata/ibm1390.h: Likewise.
56343         * iconvdata/ibm1399.h: Likewise.
56344         * iconvdata/ibm16804.h: Likewise.
56345         * iconvdata/ibm4517.h: Likewise.
56346         * iconvdata/ibm4899.h: Likewise.
56347         * iconvdata/ibm4909.h: Likewise.
56348         * iconvdata/ibm4971.h: Likewise.
56349         * iconvdata/ibm5347.h: Likewise.
56350         * iconvdata/ibm803.h: Likewise.
56351         * iconvdata/ibm856.h: Likewise.
56352         * iconvdata/ibm901.h: Likewise.
56353         * iconvdata/ibm902.h: Likewise.
56354         * iconvdata/ibm9030.h: Likewise.
56355         * iconvdata/ibm9066.h: Likewise.
56356         * iconvdata/ibm921.h: Likewise.
56357         * iconvdata/ibm922.h: Likewise.
56358         * iconvdata/ibm9448.h: Likewise.
56359         * iconvdata/isiri-3342.h: Likewise.
56360         * iconvdata/jis0201.h: Likewise.
56361         * include/link.h: Likewise.
56362         * include/netdb.h: Likewise.
56363         * inet/check_native.c: Likewise.
56364         * inet/check_pf.c: Likewise.
56365         * inet/getipv4sourcefilter.c: Likewise.
56366         * inet/getnameinfo.c: Likewise.
56367         * inet/getsourcefilter.c: Likewise.
56368         * inet/htonl.c: Likewise.
56369         * inet/setipv4sourcefilter.c: Likewise.
56370         * inet/setsourcefilter.c: Likewise.
56371         * inet/test-inet6_opt.c: Likewise.
56372         * inet/tst-network.c: Likewise.
56373         * locale/C-collate.c: Likewise.
56374         * locale/C-ctype.c: Likewise.
56375         * locale/C-time.c: Likewise.
56376         * locale/C-translit.h: Likewise.
56377         * locale/loadarchive.c: Likewise.
56378         * locale/programs/3level.h: Likewise.
56379         * locale/programs/charmap.c: Likewise.
56380         * locale/programs/charmap.h: Likewise.
56381         * locale/programs/ld-address.c: Likewise.
56382         * locale/programs/ld-collate.c: Likewise.
56383         * locale/programs/ld-ctype.c: Likewise.
56384         * locale/programs/ld-identification.c: Likewise.
56385         * locale/programs/ld-measurement.c: Likewise.
56386         * locale/programs/ld-messages.c: Likewise.
56387         * locale/programs/ld-monetary.c: Likewise.
56388         * locale/programs/ld-name.c: Likewise.
56389         * locale/programs/ld-numeric.c: Likewise.
56390         * locale/programs/ld-paper.c: Likewise.
56391         * locale/programs/ld-telephone.c: Likewise.
56392         * locale/programs/ld-time.c: Likewise.
56393         * locale/programs/linereader.c: Likewise.
56394         * locale/programs/locale.c: Likewise.
56395         * locale/programs/locarchive.c: Likewise.
56396         * locale/programs/locfile.h: Likewise.
56397         * locale/programs/repertoire.c: Likewise.
56398         * locale/programs/simple-hash.c: Likewise.
56399         * locale/programs/simple-hash.h: Likewise.
56400         * malloc/memusage.c: Likewise.
56401         * malloc/memusagestat.c: Likewise.
56402         * nis/nis_defaults.c: Likewise.
56403         * nis/nis_hash.c: Likewise.
56404         * nis/nis_print.c: Likewise.
56405         * nis/nis_xdr.c: Likewise.
56406         * nscd/connections.c: Likewise.
56407         * nscd/hstcache.c: Likewise.
56408         * nscd/nscd_gethst_r.c: Likewise.
56409         * nscd/nscd_getserv_r.c: Likewise.
56410         * nscd/nscd_helper.c: Likewise.
56411         * nscd/servicescache.c: Likewise.
56412         * nss/makedb.c: Likewise.
56413         * nss/nss_db/db-XXX.c: Likewise.
56414         * nss/nss_db/db-initgroups.c: Likewise.
56415         * nss/nss_db/db-netgrp.c: Likewise.
56416         * nss/nss_files/files-network.c: Likewise.
56417         * nss/nss_files/files-parse.c: Likewise.
56418         * posix/bug-regex5.c: Likewise.
56419         * posix/fnmatch_loop.c: Likewise.
56420         * posix/regcomp.c: Likewise.
56421         * posix/regexec.c: Likewise.
56422         * posix/tst-rfc3484-2.c: Likewise.
56423         * posix/tst-rfc3484-3.c: Likewise.
56424         * posix/tst-rfc3484.c: Likewise.
56425         * resolv/nss_dns/dns-canon.c: Likewise.
56426         * resolv/nss_dns/dns-network.c: Likewise.
56427         * resolv/res_init.c: Likewise.
56428         * resolv/res_mkquery.c: Likewise.
56429         * resolv/tst-aton.c: Likewise.
56430         * stdlib/cxa_atexit.c: Likewise.
56431         * stdlib/cxa_finalize.c: Likewise.
56432         * stdlib/gen-fpioconst.c: Likewise.
56433         * stdlib/strtol_l.c: Likewise.
56434         * string/tst-endian.c: Likewise.
56435         * sunrpc/auth_des.c: Likewise.
56436         * sunrpc/clnt_udp.c: Likewise.
56437         * sunrpc/rtime.c: Likewise.
56438         * sunrpc/svcauth_des.c: Likewise.
56439         * sunrpc/xdr.c: Likewise.
56440         * sunrpc/xdr_intXX_t.c: Likewise.
56441         * sunrpc/xdr_rec.c: Likewise.
56442         * sysdeps/generic/ldconfig.h: Likewise.
56443         * sysdeps/generic/ldsodefs.h: Likewise.
56444         * sysdeps/generic/memusage.h: Likewise.
56445         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56446         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56447         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56448         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56449         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56451         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56452         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56453         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56454         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56455         * sysdeps/posix/getaddrinfo.c: Likewise.
56456         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56457         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56458         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56459         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56460         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56461         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56462         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56463         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56464         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56465         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56466         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56467         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56468         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56469         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56470         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56471         * sysdeps/x86_64/dl-tls.h: Likewise.
56472         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56473         * time/alt_digit.c: Likewise.
56474         * time/era.c: Likewise.
56475         * wcsmbs/tst-c16c32-1.c: Likewise.
56477 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56479         * math/libm-test.inc (struct test_sincos_data): New type.
56480         (RUN_TEST_LOOP_sincos): New macro.
56481         (sincos_test_data): New variable.
56482         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56484 2013-05-16  Richard Henderson  <rth@redhat.com>
56486         * math/atest-exp2.c (LIMB64): New macro.
56487         (CONSTSZ): New macro.
56488         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56489         (hexdig): Move ...
56490         (print_mpn_fp): ... to function scope.
56491         (read_mpn_hex): Remove.
56492         (get_log2): Remove.
56493         (exp2_mpn): Use mp_log2.
56494         (main): Use mp_exp1.
56496 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56498         * math/libm-test.inc: Remove comment about not testing "inexact"
56499         exceptions.
56500         (INEXACT_EXCEPTION): New macro.
56501         (NO_INEXACT_EXCEPTION): Likewise.
56502         (INVALID_EXCEPTION_OK): Update value.
56503         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56504         (OVERFLOW_EXCEPTION_OK): Likewise.
56505         (UNDERFLOW_EXCEPTION_OK): Likewise.
56506         (IGNORE_ZERO_INF_SIGN): Likewise.
56507         (ERRNO_UNCHANGED): Likewise.
56508         (ERRNO_EDOM): Likewise.
56509         (ERRNO_ERANGE): Likewise.
56510         (test_exceptions): Handle testing "inexact" exceptions.
56511         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56512         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56513         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56514         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56515         INEXACT_EXCEPTION.
56516         (rint_towardzero_test_data): Likewise.
56517         (rint_downward_test_data): Likewise.
56518         (rint_upward_test_data): Likewise.
56520         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56521         with OVERFLOW_EXCEPTION.
56522         (exp10_test_data): Likewise.
56523         (exp2_test_data): Likewise.
56524         (expm1_test_data): Likewise.
56525         (lgamma_test_data): Likewise.
56526         (pow_test_data): Likewise.
56527         (tgamma_test_data): Likewise.
56528         (yn_test_data): Remove duplicate test of overflow.
56530         * math/libm-test.inc (struct test_cc_c_data): New type.
56531         (RUN_TEST_LOOP_cc_c): New macro.
56532         (cpow_test_data): New variable.
56533         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56535         * math/libm-test.inc (struct test_f_L_data): New type.
56536         (RUN_TEST_LOOP_f_L): New macro.
56537         (llrint_test_data): New variable.
56538         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56539         (llrint_tonearest_test_data): New variable.
56540         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56541         (llrint_towardzero_test_data): New variable.
56542         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56543         (llrint_downward_test_data): New variable.
56544         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56545         (llrint_upward_test_data): New variable.
56546         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56547         (llround_test_data): New variable.
56548         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56550 2013-05-13  Peter Collingbourne  <pcc@google.com>
56552         * math/atest-exp2.c (get_log2): Remove const attribute.
56554 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56556         * math/libm-test.inc (struct test_f_l_data): New type.
56557         (RUN_TEST_LOOP_f_l): New macro.
56558         (lrint_test_data): New variable.
56559         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56560         (lrint_tonearest_test_data): New variable.
56561         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56562         (lrint_towardzero_test_data): New variable.
56563         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56564         (lrint_downward_test_data): New variable.
56565         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56566         (lrint_upward_test_data): New variable.
56567         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56568         (lround_test_data): New variable.
56569         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56571 2013-05-15  Peter Collingbourne  <pcc@google.com>
56573         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56574         (EXTRACT_WORDS64) Use where appropriate.
56575         (INSERT_WORDS64) Likewise.
56577         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56578         constraints with x constraints.
56579         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56581         * malloc/obstack.c (_obstack_compat): Add initializer.
56583 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56585         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56586         si_trapno and add si_addr_lsb to _sifields.sigfault.
56587         (si_trapno): Remove macro.
56588         (si_addr_lsb): Define new macro.
56589         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56591 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56593         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56594         instead of TEST_f_l.
56595         (llrint_test_tonearest): Likewise.
56596         (llrint_test_towardzero): Likewise.
56597         (llrint_test_downward): Likewise.
56598         (llrint_test_upward): Likewise.
56599         (llround_test): Likewise.
56601         * math/libm-test.inc (struct test_f_i_data): Add comment.
56602         (RUN_TEST_LOOP_f_b): New macro.
56603         (RUN_TEST_LOOP_f_b_tg): Likewise.
56604         (finite_test_data): New variable.
56605         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56606         (isfinite_test_data): New variable.
56607         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56608         (isinf_test_data): New variable.
56609         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56610         (isnan_test_data): New variable.
56611         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56612         (isnormal_test_data): New variable.
56613         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56614         (issignaling_test_data): New variable.
56615         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56616         (signbit_test_data): New variable.
56617         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56619         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56620         with INVALID_EXCEPTION.
56621         (acosh_test_data): Likewise.
56622         (asin_test_data): Likewise.
56623         (atanh_test_data): Likewise.
56624         (fmod_test_data): Likewise.
56625         (log_test_data): Likewise.
56626         (log10_test_data): Likewise.
56627         (log2_test_data): Likewise.
56628         (pow_test_data): Likewise.
56629         (sqrt_test_data): Likewise.
56630         (y0_test_data): Likewise.
56631         (y1_test_data): Likewise.
56632         (yn_test_data): Likewise.
56634         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56635         function contents.
56637         * math/libm-test.inc (struct test_ff_i_data): New type.
56638         (RUN_TEST_LOOP_ff_i_tg): New macro.
56639         (isgreater_test_data): New variable.
56640         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56641         (isgreaterequal_test_data): New variable.
56642         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56643         (isless_test_data): New variable.
56644         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56645         (islessequal_test_data): New variable.
56646         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56647         (islessgreater_test_data): New variable.
56648         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56649         (isunordered_test_data): New variable.
56650         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56652 2013-05-14  David S. Miller  <davem@davemloft.net>
56654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56656 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56658         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56660         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56661         extra_test to int.
56662         (struct test_f_i_data): Change type of max_ulp to int.
56664         * math/libm-test.inc (test_ffI_f1_data): New type.
56665         (RUN_TEST_LOOP_ffI_f1): New macro.
56666         (remquo_test_data): New variable.
56667         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56669         * setjmp/tst-setjmp-fp.c: New file.
56670         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56671         (link-libm): New variable.
56672         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56674         * math/libm-test.inc (struct test_f_i_data): New type.
56675         (RUN_TEST_LOOP_f_i): New macro.
56676         (RUN_TEST_LOOP_f_i_tg): Likewise.
56677         (fpclassify_test_data): New variable.
56678         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56679         (ilogb_test_data): New variable.
56680         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56682         * math/libm-test.inc (scalbln_test): Correct function name in END
56683         call.
56685         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56686         (RUN_TEST_LOOP_fI_f1): New macro.
56687         (frexp_test_data): New variable.
56688         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56690         * math/libm-test.inc (struct test_fF_f1_data): New type.
56691         (RUN_TEST_LOOP_fF_f1): New macro.
56692         (modf_test_data): New variable.
56693         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56695         * math/libm-test.inc (struct test_f_f1_data): New type.
56696         (RUN_TEST_LOOP_f_f1): New macro.
56697         (gamma_test_data): New variable.
56698         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56699         (lgamma_test_data): New variable.
56700         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56702 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56704         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56705         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56706         (main): Comment "tls" pseudo-hwcap.
56708 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56710         * math/libm-test.inc (struct test_fl_f_data): New type.
56711         (RUN_TEST_LOOP_fl_f): New variable.
56712         (scalbln_test_data): New variable.
56713         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56715         * math/libm-test.inc (struct test_fi_f_data): New type.
56716         (RUN_TEST_LOOP_fi_f): New macro.
56717         (ldexp_test_data): New variable.
56718         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56719         (scalbn_test_data): New variable.
56720         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56722         * math/libm-test.inc (struct test_c_f_data): New type.
56723         (RUN_TEST_LOOP_c_f): New macro.
56724         (cabs_test_data): New variable.
56725         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56726         (carg_test_data): New variable.
56727         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56728         (cimag_test_data): New variable.
56729         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56730         (creal_test_data): New variable.
56731         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56733         * math/libm-test.inc (struct test_if_f_data): New type.
56734         (RUN_TEST_LOOP_if_f): New macro.
56735         (jn_test_data): New variable.
56736         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56737         (yn_test_data): New variable.
56738         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56740         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56742 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56744         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56745         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56747 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56749         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56750         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56751         (bench-deps): Add bench-timing.h.
56752         * benchtests-bench-skeleton.c: Include bench-timing.h.
56753         (main): Use TIMING_* macros instead of clock_gettime.
56754         * benchtests/bench-timing.h: New file.
56756         [BZ #14582]
56757         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56758         Renamed from _LIB_VERSION.
56759         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56761 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56763         * math/libm-test.inc (struct test_fff_f_data): New type.
56764         (RUN_TEST_LOOP_fff_f): New macro.
56765         (fma_test_data): New variable.
56766         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56767         (fma_towardzero_test_data): New variable.
56768         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56769         (fma_downward_test_data): New variable.
56770         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56771         (fma_upward_test_data): New variable.
56772         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56774         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56775         (struct test_c_c_data): New type.
56776         (RUN_TEST_LOOP_c_c): New macro.
56777         (cacos_test_data): New variable.
56778         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56779         (cacosh_test_data): New variable.
56780         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56781         (casin_test_data): New variable.
56782         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56783         (casinh_test_data): New variable.
56784         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56785         (catan_test_data): New variable.
56786         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56787         (catanh_test_data): New variable.
56788         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56789         (ccos_test_data): New variable.
56790         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56791         (ccosh_test_data): New variable.
56792         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56793         (cexp_test_data): New variable.
56794         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56795         (clog_test_data): New variable.
56796         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56797         (clog10_test_data): New variable.
56798         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56799         (conj_test_data): New variable.
56800         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56801         (cproj_test_data): New variable.
56802         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56803         (csin_test_data): New variable.
56804         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56805         (csinh_test_data): New variable.
56806         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56807         (csqrt_test_data): New variable.
56808         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56809         (ctan_test_data): New variable.
56810         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56811         (ctan_tonearest_test_data): New variable.
56812         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56813         (ctan_towardzero_test_data): New variable.
56814         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56815         (ctan_downward_test_data): New variable.
56816         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56817         (ctan_upward_test_data): New variable.
56818         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56819         (ctanh_test_data): New variable.
56820         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56821         (ctanh_tonearest_test_data): New variable.
56822         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56823         (ctanh_towardzero_test_data): New variable.
56824         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56825         (ctanh_downward_test_data): New variable.
56826         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56827         (ctanh_upward_test_data): New variable.
56828         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56829         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56830         of BUILD_COMPLEX.
56832         * math/libm-test.inc (struct test_ff_f_data): New type.
56833         (struct test_ff_f_data_nexttoward): Likewise.
56834         (RUN_TEST_LOOP_2_f): New macro.
56835         (RUN_TEST_LOOP_ff_f): Likewise.
56836         (atan2_test_data): New variable.
56837         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56838         (copysign_test_data): New variable.
56839         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56840         (fdim_test_data): New variable.
56841         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56842         (fmax_test_data): New variable.
56843         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56844         (fmin_test_data): New variable.
56845         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56846         (fmod_test_data): New variable.
56847         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56848         (hypot_test_data): New variable.
56849         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56850         (nextafter_test_data): New variable.
56851         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56852         (nexttoward_test_data): New variable.
56853         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56854         (pow_test_data): New variable.
56855         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56856         (pow_tonearest_test_data): New variable.
56857         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56858         (pow_towardzero_test_data): New variable.
56859         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56860         (pow_downward_test_data): New variable.
56861         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56862         (pow_upward_test_data): New variable.
56863         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56864         (remainder_test_data): New variable.
56865         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56866         (scalb_test_data): New variable.
56867         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56868         * sysdeps/i386/fpu/libm-test-ulps: Update.
56870 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56872         * math/libm-test.inc (fma_test): Use max_value instead of local
56873         variable fltmax.
56874         (nextafter_test): Likewise.
56876         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56877         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56878         (acos_downward_test_data): New variable.
56879         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56880         (acos_upward_test_data): New variable.
56881         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56882         (acosh_test_data): New variable.
56883         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56884         (asin_test_data): New variable.
56885         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56886         (asin_tonearest_test_data): New variable.
56887         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56888         (asin_towardzero_test_data): New variable.
56889         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56890         (asin_downward_test_data): New variable.
56891         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56892         (asin_upward_test_data): New variable.
56893         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56894         (asinh_test_data): New variable.
56895         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56896         (atan_test_data): New variable.
56897         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56898         (atanh_test_data): New variable.
56899         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56900         (cbrt_test_data): New variable.
56901         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56902         (ceil_test_data): New variable.
56903         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56904         (cos_test_data): New variable.
56905         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56906         (cos_tonearest_test_data): New variable.
56907         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56908         (cos_towardzero_test_data): New variable.
56909         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56910         (cos_downward_test_data): New variable.
56911         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56912         (cos_upward_test_data): New variable.
56913         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56914         (cosh_test_data): New variable.
56915         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56916         (cosh_tonearest_test_data): New variable.
56917         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56918         (cosh_towardzero_test_data): New variable.
56919         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56920         (cosh_downward_test_data): New variable.
56921         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56922         (cosh_upward_test_data): New variable.
56923         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56924         (erf_test_data): New variable.
56925         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56926         (erfc_test_data): New variable.
56927         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56928         (exp_test_data): New variable.
56929         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56930         (exp_tonearest_test_data): New variable.
56931         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56932         (exp_towardzero_test_data): New variable.
56933         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56934         (exp_downward_test_data): New variable.
56935         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56936         (exp_upward_test_data): New variable.
56937         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56938         (exp10_test_data): New variable.
56939         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56940         (exp2_test_data): New variable.
56941         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56942         (expm1_test_data): New variable.
56943         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56944         (fabs_test_data): New variable.
56945         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56946         (floor_test_data): New variable.
56947         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56948         (j0_test_data): New variable.
56949         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56950         (j1_test_data): New variable.
56951         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56952         (log_test_data): New variable.
56953         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56954         (log10_test_data): New variable.
56955         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56956         (log1p_test_data): New variable.
56957         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56958         (log2_test_data): New variable.
56959         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56960         (logb_test_data): New variable.
56961         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56962         (logb_downward_test_data): New variable.
56963         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56964         (nearbyint_test_data): New variable.
56965         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56966         (rint_test_data): New variable.
56967         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56968         (rint_tonearest_test_data): New variable.
56969         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56970         (rint_towardzero_test_data): New variable.
56971         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56972         (rint_downward_test_data): New variable.
56973         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56974         (rint_upward_test_data): New variable.
56975         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56976         (round_test_data): New variable.
56977         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56978         (sin_test_data): New variable.
56979         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56980         (sin_tonearest_test_data): New variable.
56981         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56982         (sin_towardzero_test_data): New variable.
56983         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56984         (sin_downward_test_data): New variable.
56985         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56986         (sin_upward_test_data): New variable.
56987         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56988         (sinh_test_data): New variable.
56989         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56990         (sinh_tonearest_test_data): New variable.
56991         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56992         (sinh_towardzero_test_data): New variable.
56993         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56994         (sinh_downward_test_data): New variable.
56995         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56996         (sinh_upward_test_data): New variable.
56997         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56998         (sqrt_test_data): New variable.
56999         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57000         (tan_test_data): New variable.
57001         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57002         (tan_tonearest_test_data): New variable.
57003         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57004         (tan_towardzero_test_data): New variable.
57005         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57006         (tan_downward_test_data): New variable.
57007         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57008         (tan_upward_test_data): New variable.
57009         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57010         (tanh_test_data): New variable.
57011         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57012         (tgamma_test_data): New variable.
57013         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57014         (trunc_test_data): New variable.
57015         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57016         (y0_test_data): New variable.
57017         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57018         (y1_test_data): New variable.
57019         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57020         (significand_test_data): New variable.
57021         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57023 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57025         [BZ #12387]
57026         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57028 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57030         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57032 2013-05-10  Andreas Jaeger  <aj@suse.de>
57034         [BZ #15448]
57035         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57036         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57038 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57040         * math/gen-libm-test.pl (adjust_arg): New function.
57041         (special_functions): Handle generating output in both functions
57042         and arrays.
57043         (parse_args): Likewise.
57044         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57045         $in_func argument to parse_args.
57046         * math/libm-test.inc (struct test_f_f_data): New type.
57047         (IF_ROUND_INIT_): New macro.
57048         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57049         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57050         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57051         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57052         (ROUND_RESTORE_): Likewise.
57053         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57054         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57055         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57056         (ROUND_RESTORE_FE_UPWARD): Likewise.
57057         (RUN_TEST_LOOP_f_f): New macro.
57058         (acos_test_data): New variable.
57059         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57060         (acos_tonearest_test_data): New variable.
57061         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57063 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57065         * benchtests/bench-skeleton.c (startup): Fix coding style.
57067 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57069         [BZ #6809]
57070         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57071         negative infinity argument.
57072         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57073         negative infinity argument.
57074         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57075         negative infinity argument.
57076         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57077         domain errors.
57079 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57081         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57082         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57083         * iconv/iconv_prog.c (main): Likewise.
57084         * locale/programs/charmap-dir.c (charmap_readdir)
57085         (fopen_uncompressed): Likewise.
57086         * locale/programs/locfile.c (siblings_uncached)
57087         (write_locale_data): Use lstat64 instead of lstat.
57088         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57089         stat.
57091 2013-05-10  Andreas Jaeger  <aj@suse.de>
57093         [BZ #15395]
57094         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57095         localization.
57096         Include <locale.h>.
57098 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57100         * elf/dl-close.c (_dl_close_worker): Add comments.
57102 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57104         [BZ #15359]
57105         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57106         high part of pi/2.
57107         (__ieee754_rem_pio2l): Update comments.
57109         [BZ #15429]
57110         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57111         high part of pi/2.
57112         (__ieee754_rem_pio2l): Update comments.
57114         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57115         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57117         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57118         M_PI_4l.
57120         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57121         (M_PI_34_LOG10El): Likewise.
57122         (M_PI2_LOG10El): Likewise.
57123         (M_PI4_LOG10El): Likewise.
57124         (M_PI_LOG10El): Likewise.
57126 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57130 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57132         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57133         (MINUS_ZERO_INIT): Likewise.
57134         (PLUS_INFTY_INIT): Likewise.
57135         (MINUS_INFTY_INIT): Likewise.
57136         (QNAN_VALUE_INIT): Likewise.
57137         (MAX_VALUE_INIT): Likewise.
57138         (MIN_VALUE_INIT): Likewise.
57139         (MIN_SUBNORM_VALUE_INIT): Likewise.
57140         (plus_zero): Initialize with PLUS_ZERO_INIT.
57141         (minus_zero): Initialize with MINUS_ZERO_INIT.
57142         (plus_infty): Initialize with PLUS_INFTY_INIT.
57143         (minus_infty): Initialize with MINUS_INFTY_INIT.
57144         (qnan_value): Initialize with QNAN_VALUE_INIT.
57145         (max_value): Initialize with MAX_VALUE_INIT.
57146         (min_value): Initialize with MIN_VALUE_INIT.
57147         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57149         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57150         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57151         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57152         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57154         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57155         (RUN_TEST_2_f): Likewise.
57156         (RUN_TEST_ff_f): Likewise.
57157         (RUN_TEST_fi_f): Likewise.
57158         (RUN_TEST_fl_f): Likewise.
57159         (RUN_TEST_fff_f): Likewise.
57160         (RUN_TEST_c_f): Likewise.
57161         (RUN_TEST_f_f1): Likewise.
57162         (RUN_TEST_fF_f1): Likewise.
57163         (RUN_TEST_fI_f1): Likewise.
57164         (RUN_TEST_ffI_f1): Likewise.
57165         (RUN_TEST_c_c): Likewise.
57166         (RUN_TEST_cc_c): Likewise.
57167         (RUN_TEST_f_i): Likewise.
57168         (RUN_TEST_f_i_tg): Likewise.
57169         (RUN_TEST_ff_i_tg): Likewise.
57170         (RUN_TEST_f_b): Likewise.
57171         (RUN_TEST_f_b_tg): Likewise.
57172         (RUN_TEST_f_l): Likewise.
57173         (RUN_TEST_f_L): Likewise.
57174         (RUN_TEST_sincos): Likewise.
57175         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57176         whether to show exceptions.  Do not include ");\n" in return
57177         value.
57178         (special_functions): Output call to RUN_TEST_sincos instead of
57179         check_float calls.  Update calls to new_test.
57180         (parse_args): Output call to single RUN_TEST_* macro instead of
57181         check_* calls and other assignments.  Update calls to new_test.
57183         [BZ #2546]
57184         [BZ #2560]
57185         [BZ #5159]
57186         [BZ #15426]
57187         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57188         input to result for tgamma overflow.
57189         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57190         (gamma_coeff): New variable.
57191         (NCOEFF): New macro.
57192         (gamma_positive): New function.
57193         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57194         underflow here.  Use gamma_positive instead of exp (lgamma) for
57195         other arguments.
57196         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57197         (gamma_coeff): New variable.
57198         (NCOEFF): New macro.
57199         (gammaf_positive): New function.
57200         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57201         underflow here.  Use gamma_positive instead of exp (lgamma) for
57202         other arguments.
57203         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57204         (gamma_coeff): New variable.
57205         (NCOEFF): New macro.
57206         (gammal_positive): New function.
57207         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57208         underflow here.  Use gamma_positive instead of exp (lgamma) for
57209         other arguments.
57210         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57211         (gamma_coeff): New variable.
57212         (NCOEFF): New macro.
57213         (gammal_positive): New function.
57214         (__ieee754_gammal_r): Handle positive infinity, overflow and
57215         underflow here.  Handle NaN the same as positive infinity.  Remove
57216         check x < 0xffffffff for negative integers.  Use gamma_positive
57217         instead of exp (lgamma) for other arguments.
57218         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57219         (gamma_coeff): New variable.
57220         (NCOEFF): New macro.
57221         (gammal_positive): New function.
57222         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57223         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57224         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57225         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57226         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57227         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57228         * sysdeps/generic/math_private.h (__gamma_productf): New
57229         prototype.
57230         (__gamma_product): Likewise.
57231         (__gamma_productl): Likewise.
57232         * math/Makefile (libm-calls): Add gamma_product.
57233         * math/libm-test.inc (tgamma_test): Add more tests.
57234         * sysdeps/i386/fpu/libm-test-ulps: Update.
57235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57237 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57239         * benchtests/bench-skeleton.c (main): Preheat CPU.
57241 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57243         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57245 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57247         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57248         and _dl_skip_args_internal.
57250 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57252         * manual/message.texi (Message Translation): Talk about users.
57253         Message to key mapping impacts design.
57255 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57257         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57259         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57261         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57262         * sysdeps/wordsize-64/glob64.c: ... here.
57264         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57265         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57266         New macros.
57268         * debug/getlogin_r_chk.c: Moved to ...
57269         * login/getlogin_r_chk.c: ... here.
57270         * debug/Makefile (routines): Move getlogin_r_chk to ...
57271         * login/Makefile (routines): ... here.
57272         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57273         * login/Versions (libc: GLIBC_2.4): ... here.
57275         * io/poll.c (__poll): Renamed from poll.
57276         Add libc_hidden_def.
57277         (poll): Define as weak alias.
57279         * debug/ptsname_r_chk.c: Moved to ...
57280         * login/ptsname_r_chk.c: ... here.
57281         * debug/Makefile (routines): Move ptsname_r_chk to ...
57282         * login/Makefile (routines): ... here.
57283         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57284         * login/Versions (libc: GLIBC_2.4): ... here.
57286         * posix/getlogin.c: Moved to ...
57287         * login/getlogin.c: ... here.
57288         * posix/getlogin_r.c: Moved to ...
57289         * login/getlogin_r.c: ... here.
57290         * posix/getlogin_r.c: Moved to ...
57291         * login/getlogin_r.c: ... here.
57292         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57293         * login/Makefile (routines): ... here.
57294         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57295         * login/Versions (libc: GLIBC_2.0): ... here.
57297         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57298         (setrlimit): Define as weak alias.
57300         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57301         Call __ names for open, ftruncate, and close.
57302         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57303         (truncate): Define as weak alias.
57305 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57307         * math/gen-libm-test.pl (parse_args): Initialize x before each
57308         test of frexp, modf and remquo.
57310         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57311         test signgam value.
57313 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57315         [BZ #15418]
57316         [BZ #15419]
57317         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57318         internal tests.
57319         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57321 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57323         * elf/dl-writev.h: New file.
57324         * elf/dl-misc.c: Include it.
57325         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57326         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57328 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57330         * math/libm-test.inc (noXFails): Remove variable.
57331         (noXPasses): Likewise.
57332         (BUILD_COMPLEX_INT): Remove macro.
57333         (print_screen): Remove xfail argument.
57334         (print_screen_max_error): Likewise.
57335         (update_stats): Likewise.
57336         (print_max_error): Likewise.  Update calls to other affected
57337         functions.
57338         (print_complex_max_error): Likewise.
57339         (test_single_exception): Update calls to print_screen.
57340         (test_single_errno): Likewise.
57341         (check_float_internal): Remove xfail argument.  Update calls to
57342         other affected functions.
57343         (check_float): Likewise.
57344         (check_complex): Likewise.
57345         (check_int): Likewise.
57346         (check_long): Likewise.
57347         (check_bool): Likewise.
57348         (check_longlong): Likewise.
57349         (main): Don't print noXFails and noXPasses.
57350         * math/gen-libm-test.pl (top level): Don't mention expected
57351         failure handling in comment.
57352         (new_test): Don't handle expected failures.
57353         (parse_args): Don't mention expected failure handling in comment.
57354         (generate_testfile): Don't handle expected failures.
57355         (parse_ulps): Likewise.
57356         (print_ulps_file): Likewise.
57357         (get_failure): Remove function.
57358         (output_test): Don't handle expected failures.
57359         * make/README.libm-test: Don't mention expected failure handling.
57361         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57362         (minus_zero): Likewise.
57363         (plus_infty): Likewise.
57364         (minus_infty): Likewise.
57365         (qnan_value): Likewise.
57366         (max_value): Likewise.
57367         (min_value): Likewise.
57368         (min_subnorm_value): Likewise.
57369         (initialize): Do not initialize those variables dynamically.
57371 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57373         * io/open.c (__open_2): Moved to ...
57374         * io/open_2.c: ... this new file.
57375         * io/open64.c (__open64_2): Moved to ...
57376         * io/open64_2.c: ... this new file.
57377         * io/openat.c (__openat_2): Moved to ...
57378         * io/openat_2.c: ... this new file.
57379         * io/openat64.c (__openat64_2): Moved to ...
57380         * io/openat64_2.c: ... this new file.
57381         * io/Makefile (routines): Add them.
57382         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57383         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57384         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57385         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57386         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57387         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57388         (__openat64): Add hidden_ver.
57389         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57390         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57392         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57393         Separately conditionalize setting of GLRO(dl_sysinfo) so
57394         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57395         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57397 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57399         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57401         definition.
57402         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57403         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57404         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57405         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57406         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57408 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57410         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57411         test signgam value.
57413         * math/libm-test.inc (hypot_test): Do not use
57414         IGNORE_ZERO_INF_SIGN.
57416 2013-05-03  Andreas Jaeger  <aj@suse.de>
57418         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57419         Linux 3.9.
57420         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57421         (PF_MAX): Adjust for VSOCK change.
57423 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57427 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57429         [BZ #15264]
57430         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57431         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57432         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57434 2013-05-02  David S. Miller  <davem@davemloft.net>
57436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57438 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57440         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57442 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57444         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57446 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57448         [BZ #14952]
57449         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57450         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57451         Use __attribute__ ((__gnu_inline__)).
57452         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57453         Don't use __attribute__ ((__gnu_inline__)).
57455 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57457         [BZ #15423]
57458         * math/s_catan.c (__catan): Handle small real or imaginary part of
57459         input specially to avoid spurious underflow.
57460         * math/s_catanf.c (__catanf): Likewise.
57461         * math/s_catanh.c (__catanh): Likewise.
57462         * math/s_catanhf.c (__catanhf): Likewise.
57463         * math/s_catanhl.c (__catanhl): Likewise.
57464         * math/s_catanl.c (__catanl): Likewise.
57465         * math/libm-test.inc (catan_test): Add more tests.
57466         (catanh_test): Likewise.
57467         * sysdeps/i386/fpu/libm-test-ulps: Update.
57468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57470 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57474 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57476         [BZ #15416]
57477         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57478         accurately for denominator in atan2.
57479         * math/s_catanf.c (__catanf): Likewise.
57480         * math/s_catanh.c (__catanh): Likewise.
57481         * math/s_catanhf.c (__catanhf): Likewise.
57482         * math/s_catanhl.c (__catanhl): Likewise.
57483         * math/s_catanl.c (__catanl): Likewise.
57484         * math/libm-test.inc (catan_test): Add more tests.
57485         (catanh_test): Likewise.
57486         * sysdeps/i386/fpu/libm-test-ulps: Update.
57487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57489 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57491         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57493         * benchtests/Makefile (bench): Remove slow benchmarks.
57494         * benchtests/atan-inputs: Add slow benchmark inputs.
57495         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57496         (BENCH_FUNC): Accept variant offset.
57497         (VARIANT): Define.
57498         * benchtests/bench-skeleton.c (main): Run benchmark for each
57499         variant.
57500         * benchtests/cos-inputs: Add slow benchmark inputs.
57501         * benchtests/exp-inputs: Likewise.
57502         * benchtests/pow-inputs: Likewise.
57503         * benchtests/sin-inputs: Likewise.
57504         * benchtests/slowatan-inputs: Remove.
57505         * benchtests/slowatan.c: Remove.
57506         * benchtests/slowcos-inputs: Remove.
57507         * benchtests/slowcos.c: Remove.
57508         * benchtests/slowexp-inputs: Remove.
57509         * benchtests/slowexp.c: Remove.
57510         * benchtests/slowpow-inputs: Remove.
57511         * benchtests/slowpow.c: Remove.
57512         * benchtests/slowsin-inputs: Remove.
57513         * benchtests/slowsin.c: Remove.
57514         * benchtests/slowtan-inputs: Remove.
57515         * benchtests/slowtan.c: Remove.
57516         * benchtests/tan-inputs: Add slow benchmark inputs.
57517         * scripts/bench.pl: Parse comments and directives.
57519         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57520         in CPPFLAGS.
57521         ($(objpfx)bench-%.c): Remove *-ITER.
57522         * benchtests/bench-modf.c: Remove definition of ITER.
57523         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57524         (main): Loop for DURATION seconds instead of fixed number of
57525         iterations.
57526         * scripts/bench.pl: Don't expect iterations in parameters.
57528 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57530         * io/fchdir.c (__fchdir): Renamed from fchdir.
57531         (fchdir): Define as weak alias.
57533 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57535         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57536         (ERRNO_EDOM): Likewise.
57537         (ERRNO_ERANGE): Likewise.
57538         (noErrnoTests): New variable.
57539         (init_max_error): Set errno to 0.
57540         (test_single_errno): New function.
57541         (test_errno): Likewise.
57542         (check_float_internal): Call test_errno.  Set errno to 0.
57543         (check_complex): Refer to errno tests in comment.
57544         (check_int): Call test_errno.  Set errno to 0.
57545         (check_long): Likewise.
57546         (check_bool): Likewise.
57547         (check_longlong): Likewise.
57548         (cos_test): Use ERRNO_* flags for errno tests instead of
57549         check_int.
57550         (expm1_test): Likewise.
57551         (fmod_test): Likewise.
57552         (ilogb_test): Likewise.
57553         (lgamma_test): Likewise.
57554         (pow_test): Likewise.
57555         (remainder_test): Likewise.
57556         (sin_test): Likewise.
57557         (tan_test): Likewise.
57558         (yn_test): Likewise.
57559         (initialize): Set errno to 0.
57560         (main): Print number of errno tests.
57561         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57563 2013-04-29  Andreas Jaeger  <aj@suse.de>
57565         [BZ #15084]
57566         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57567         and RES_USEVC.
57569         [BZ #15085]
57570         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57571         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57572         unimplemented.
57574         [BZ #15380]
57575         * stdlib/random.c (__initstate): Return NULL if
57576         __initstate fails.
57578         [BZ #15086]
57579         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57580         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57581         RES_SNGLKUPREOP.
57583 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57587 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57589         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57590         of individual tests.
57591         (casin_test): Likewise.
57592         (casinh_test): Likewise.
57594 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57596         [BZ #15409]
57597         * math/s_catan.c (__catan): Handle arguments with large real or
57598         imaginary part separately without squaring.
57599         * math/s_catanf.c (__catanf): Likewise.
57600         * math/s_catanh.c (__catanh): Likewise.
57601         * math/s_catanhf.c (__catanhf): Likewise.
57602         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57603         and redefine.
57604         (__catanhl): Handle arguments with large real or imaginary part
57605         separately without squaring.
57606         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57607         and redefine.
57608         (__catanl): Handle arguments with large real or imaginary part
57609         separately without squaring.
57610         * math/libm-test.inc (catan_test): Add more tests.
57611         (catanh_test): Likewise.
57612         * sysdeps/i386/fpu/libm-test-ulps: Update.
57613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57615 2013-04-27  Andreas Jaeger  <aj@suse.de>
57617         [BZ #15007]
57618         * stdlib/stdlib.h: Update guards for qecvt.
57619         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57620         <stdlib.h>.
57622 2013-04-27  Allan McRae  <allan@archlinux.org>
57624         * sysdeps/i386/fpu/libm-test-ulps: Update.
57626 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57628         [BZ #15406]
57629         * math/s_catan.c: Include <float.h>.
57630         (__catan): Ensure underflow exception occurs for underflowed
57631         result.
57632         * math/s_catanf.c: Include <float.h>.
57633         (__catanf): Ensure underflow exception occurs for underflowed
57634         result.
57635         * math/s_catanh.c: Include <float.h>.
57636         (__catanh): Ensure underflow exception occurs for underflowed
57637         result.
57638         * math/s_catanhf.c: Include <float.h>.
57639         (__catanhf): Ensure underflow exception occurs for underflowed
57640         result.
57641         * math/s_catanhl.c: Include <float.h>.
57642         (__catanhl): Ensure underflow exception occurs for underflowed
57643         result.
57644         * math/s_catanl.c: Include <float.h>.
57645         (__catanl): Ensure underflow exception occurs for underflowed
57646         result.
57647         * math/libm-test.inc (catan_test): Add more tests.
57648         (catanh_test): Likewise.
57650         [BZ #15405]
57651         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57652         underflowed result.
57653         * math/s_ccoshf.c (__ccoshf): Likewise.
57654         * math/s_ccoshl.c (__ccoshl): Likewise.
57655         * math/s_csin.c (__csin): Likewise.
57656         * math/s_csinf.c (__csinf): Likewise.
57657         * math/s_csinh.c (__csinh): Likewise.
57658         * math/s_csinhf.c (__csinhf): Likewise.
57659         * math/s_csinhl.c (__csinhl): Likewise.
57660         * math/s_csinl.c (__csinl): Likewise.
57661         * math/libm-test.inc (ccos_test): Add more tests.
57662         (ccosh_test): Likewise.
57663         (csin_test): Likewise.
57664         (csinh_test): Likewise.
57666 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57668         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57669         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57670         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57671         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57672         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57673         powerpc/power5+/fpu folders.
57674         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57677 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57679         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57681 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57683         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57684         additions to variable.
57685         [$(config-machine) = x86_64] (modules-names): Likewise.
57686         ($(objpfx)tst-audit3): Remove dependency.
57687         ($(objpfx)tst-audit3.out): Likewise.
57688         ($(objpfx)tst-audit4): Likewise.
57689         ($(objpfx)tst-audit4.out): Likewise.
57690         ($(objpfx)tst-audit5): Likewise.
57691         ($(objpfx)tst-audit5.out): Likewise.
57692         ($(objpfx)tst-audit6): Likewise.
57693         ($(objpfx)tst-audit6.out): Likewise.
57694         ($(objpfx)tst-audit7): Likewise.
57695         ($(objpfx)tst-audit7.out): Likewise.
57696         (tst-audit3-ENV): Remove variable.
57697         (tst-audit4-ENV): Likewise.
57698         (tst-audit5-ENV): Likewise.
57699         (tst-audit6-ENV): Likewise.
57700         (tst-audit7-ENV): Likewise.
57701         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57702         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57703         addition to variable.
57704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57709         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57710         tst-audit3, tst-audit4 and tst-audit5.
57711         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57712         tst-audit6 and tst-audit7.
57713         [$(subdir) = elf] (modules-names): Add audit modules for those
57714         tests.
57715         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57716         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57717         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57718         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57719         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57720         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57721         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57722         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57723         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57724         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57725         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57726         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57727         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57728         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57729         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57730         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57731         Likewise.
57732         [$(subdir) = elf && $(config-cflags-avx) = yes]
57733         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57734         [$(subdir) = elf && $(config-cflags-avx) = yes]
57735         (CFLAGS-tst-auditmod4a.c): Likewise.
57736         [$(subdir) = elf && $(config-cflags-avx) = yes]
57737         (CFLAGS-tst-auditmod4b.c): Likewise.
57738         [$(subdir) = elf && $(config-cflags-avx) = yes]
57739         (CFLAGS-tst-auditmod6b.c): Likewise.
57740         [$(subdir) = elf && $(config-cflags-avx) = yes]
57741         (CFLAGS-tst-auditmod6c.c): Likewise.
57742         [$(subdir) = elf && $(config-cflags-avx) = yes]
57743         (CFLAGS-tst-auditmod7b.c): Likewise.
57744         * elf/tst-audit3.c: Move to ...
57745         * sysdeps/x86_64/tst-audit3.c: ... here.
57746         * elf/tst-audit4.c: Move to ...
57747         * sysdeps/x86_64/tst-audit4.c: ... here.
57748         * elf/tst-audit5.c: Move to ...
57749         * sysdeps/x86_64/tst-audit5.c: ... here.
57750         * elf/tst-audit6.c: Move to ...
57751         * sysdeps/x86_64/tst-audit6.c: ... here.
57752         * elf/tst-audit7.c: Move to ...
57753         * sysdeps/x86_64/tst-audit7.c: ... here.
57754         * elf/tst-auditmod3a.c: Move to ...
57755         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57756         * elf/tst-auditmod3b.c: Move to ...
57757         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57758         * elf/tst-auditmod4a.c: Move to ...
57759         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57760         * elf/tst-auditmod4b.c: Move to ...
57761         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57762         * elf/tst-auditmod5a.c: Move to ...
57763         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57764         * elf/tst-auditmod5b.c: Move to ...
57765         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57766         * elf/tst-auditmod6a.c: Move to ...
57767         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57768         * elf/tst-auditmod6b.c: Move to ...
57769         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57770         * elf/tst-auditmod6c.c: Move to ...
57771         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57772         * elf/tst-auditmod7a.c: Move to ...
57773         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57774         * elf/tst-auditmod7b.c: Move to ...
57775         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57777 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57779         [BZ #15366]
57780         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57781         define unconditionally.
57782         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57783         define unconditionally.
57784         (INT8_C, INT16_C, etc.): Likewise.
57786 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57788         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57789         __ehdr_start with hidden visibility.
57791         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57793 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57795         * math/libm-test.inc (cos_test): Use accurate hex constants.
57796         (sincost_test): Likewise.
57798 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57800         * math/libm-test.inc (catan_test): Add more tests.
57801         (catanh_test): Likewise.
57803         * math/s_catanf.c (__catanf): Use suffixed floating-point
57804         constants.
57805         * math/s_catanhf.c (__catanhf): Likewise.
57806         * math/s_catanhl.c (__catanhl): Likewise.
57807         * math/s_catanl.c (__catanl): Likewise.
57809         [BZ #15394]
57810         * math/s_catan.c (__catan): Calculate imaginary part of result
57811         with log1p not log unless computing log of number close to 0.
57812         * math/s_catanf.c (__catanf): Likewise.
57813         * math/s_catanl.c (__catanl): Likewise.
57814         * math/s_catanh.c (__catanh): Calculate real part of result with
57815         log1p not log unless computing log of number close to 0.
57816         * math/s_catanhf.c (__catanhf): Likewise.
57817         * math/s_catanhl.c (__catanhl): Likewise.
57818         * math/libm-test.inc (catan_test): Add more tests.
57819         (catanh_test): Likewise.
57820         * sysdeps/i386/fpu/libm-test-ulps: Update.
57821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57823 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57825         * benchtests/Makefile: Mention files in which fast and slow
57826         paths of math functions are implemented.
57828 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57830         * sysdeps/posix/timespec_get.c: New file.
57832 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57834         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57835         POWER.
57836         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57837         for POWER.
57838         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57839         powerpc/power5/fpu folders.
57840         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57841         * benchtests/Makefile: Add modf testcase.
57842         * benchtests/bench-modf.c: New file: Benchmark test for mo
57844 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57846         [BZ #14888]
57847         * time/Makefile (tests): Add tst-strptime-whitespace.
57848         * time/strptime_l.c (get_number): Use ISSPACE.
57849         (__strptime_internal): Likewise.
57850         * time/tst-strptime-whitespace.c: New test case.
57852 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57854         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57855         member.
57856         (_nss_files_init): Set it here.
57858 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57860         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57861         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57862         unsigned.
57864 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57866         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57868 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57870         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57871         size just once.
57873 2013-04-21  David S. Miller  <davem@davemloft.net>
57875         * po/ru.po: Update Russion translation from translation project.
57877 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57879         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57880         and setfsgid.
57882 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57884         * configure.in: Remove i386 configure warning. Remove i386 case.
57885         * configure: Regenerate.
57886         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57887         Add example to error message.
57888         * sysdeps/i386/configure: Regenerate.
57890 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57892         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57893         slowtan.
57894         * benchtests/cos-inputs: New file.
57895         * benchtests/slowcos-inputs: New file.
57896         * benchtests/slowcos.c: New file.
57897         * benchtests/slowtan-inputs: New file.
57898         * benchtests/slowtan.c: New file.
57899         * benchtests/tan-inputs: New file.
57901 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57903         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57904         considered kosher.
57906 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57908         * benchtests/Makefile: Include cppflags-iterator.mk to add
57909         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57911         * Makefile.in (bench-clean): New target.
57912         * benchtests/Makefile (bench-clean): Likewise.
57914 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57916         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57918 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57920         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57922 2013-04-15  Andreas Schwab  <schwab@suse.de>
57924         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57925         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57926         * nscd/pwdcache.c (cache_addpw): Likewise.
57927         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57928         more than recsize.
57930 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57932         * benchtests/Makefile (bench): Write all output to
57933         bench-out.tmp together.
57935 2013-04-15  Andreas Schwab  <schwab@suse.de>
57937         * nscd/nscd.c (main): Don't fork again after closing files.
57939 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57941         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57943         * benchtests/Rules (bench-deps): Collect dependencies into a
57944         single variable.  Add Makefile to dependencies.
57945         ($(objpfx)bench-%.c): Depend on bench-deps.
57947 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57948             Xavier Roche  <roche+kml2@exalead.com>
57950         [BZ #15361]
57951         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57952         just that it's a file descriptor.
57953         * manual/llio.texi (Synchronizing AIO Operations): Update description
57954         for EBADF error from aio_fsync.
57956 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57958         * Rules (bench): Move target definition...
57959         * benchtests/Makefile: ... here.
57961 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57963         * math/libm-test.inc (cos_test): Fix PI/2 test.
57964         (sincos_test): Likewise.
57965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57966         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57968 2013-04-11  Andreas Schwab  <schwab@suse.de>
57970         [BZ #13988]
57971         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57972         accept exponent character only when digits were seen.
57973         * stdio-common/Makefile (tests): Add bug26.
57974         * stdio-common/bug26.c: New file.
57976         [BZ #14293]
57977         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57978         non-freeable.
57980 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57982         * Makeconfig (rtld-prefix): Define built linker prefix.
57983         * Rules (run-bench): Use it.
57984         * math/Makefile (run-regen-ulps): Likewise.
57986         * Rules (bench): Remove eval.
57988 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57989             Roland McGrath  <roland@hack.frob.com>
57990             Ondrej Bilka  <neleai@seznam.cz>
57992         [BZ #15346]
57993         * time/getdate.c: Include ctype.h and alloca.h.
57994         (__getdate_r): Trim leading and trailing spaces of input.
57995         * time/tst-getdate.c (tests): Add tests with leading and
57996         trailing spaces.
57998 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58000         [BZ #14280]
58001         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58002         when computing value.
58004 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58006         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58007         Use testrun.sh to run libm tests.
58009         [BZ #15309]
58010         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58012 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58014         [BZ #15264]
58015         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58017 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58019         * Makefile.in (regen-ulps): New target.
58020         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58021         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58022         [ifneq (no,$(PERL)] (regen-ulps): New target.
58023         [ifeq (no,$(PERL)] (regen-ulps): New target.
58024         * math/libm-test.inc (ulps_file_name): Define.
58025         (output_dir): New variable.
58026         (options): Add "output-dir" option.
58027         (parse_opt): Handle 'o' case.
58028         (main): If output_dir is non-NULL use it as a prefix
58029         otherwise use "".
58030         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58032 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58034         [BZ #10060, #10062]
58035         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58036         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58037         fail configure if __sync_val_compare_and_swap is not inlined.
58038         * sysdeps/i386/configure: Regenerate.
58039         * configure.in: Build for i686 when configured for i386.
58040         * configure: Regenerate.
58041         * README: Remove i386 reference.
58043 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58045         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58046         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58048 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58050         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58051         (lmsnanval): New variables.
58052         (F): Add conversion tests.
58053         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58054         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58056         * stdio-common/tstdiomisc.c (F): Properly collect individual
58057         tests' results.
58059         [BZ #14686, #15336]
58060         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58061         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58062         Instead, use input NaN values or generate a qNaN by arithmetic
58063         operation.  Also fix bugs to comply with the standard.
58064         * math/libm-test.inc (remainder_test): Add more tests.
58066         [BZ #15335, #15342]
58067         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58068         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58069         input NaN values or generate a qNaN by arithmetic operation.
58071         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58072         unreachable code.
58074         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58075         definitions.
58077 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58079         [BZ #14478]
58080         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58081         underflowed result.
58082         * math/s_cexpf.c (__cexpf): Likewise.
58083         * math/s_cexpl.c (__cexpl): Likewise.
58084         * math/libm-test.inc (cexp_test): Add more tests.
58086 2013-04-03  Andreas Schwab  <schwab@suse.de>
58088         [BZ #15330]
58089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58090         order arrays from heap if bigger than alloca cutoff.
58092 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58094         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58095         (SNAN_TESTS_double): Refer to GCC PR56831.
58096         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58097         GCC PR56828.
58099 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58101         * Rules (bench): Move bench.out after the run is complete.
58103         * Rules (bench): Echo currently running benchmark.
58105         * benchtests/Makefile (bench): Add atan and slowatan.
58106         * benchtests/atan-inputs: New file.
58107         * benchtests/slowatan-inputs: New file.
58108         * benchtests/slowatan.c: New file.
58110         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58111         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58112         its value.
58114         [BZ #15305]
58115         * sysdeps/unix/sysv/linux/kernel-features.h
58116         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58117         __ASSUME_XFS_RESTRICTED_CHOWN.
58118         * sysdeps/unix/sysv/linux/pathconf.c
58119         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58120         Save and restore errno.
58122 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58124         [BZ #15327]
58125         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58126         arguments using __kernel_casinh.
58127         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58128         arguments using __kernel_casinhf.
58129         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58130         arguments using __kernel_casinhl.
58131         * math/libm-test.inc (cacosh_test): Add more tests.
58132         * sysdeps/i386/fpu/libm-test-ulps: Update.
58133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58135 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58137         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58140         * bench/Makefile (bench): Add sin and slowsin.
58141         * benchtests/sin-inputs: New file.
58142         * benchtests/slowsin-inputs: New file.
58143         * benchtests/slowsin.c: New file.
58145         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58146         (bench): Add slowexp and slowpow.
58147         (exp-ITER): Increase iterations.
58148         (pow-ITER): Likewise.
58149         * benchtests/exp-inputs: Change input.
58150         * benchtests/pow-inputs: Likewise.
58151         * benchtests/slowexp-inputs: New file.
58152         * benchtests/slowexp.c: New file.
58153         * benchtests/slowpow-inputs: New file.
58154         * benchtests/slowpow.c: New file.
58156 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58158         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58159         instructions.
58160         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58161         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58162         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58163         * benchtests/Makefile: Add rint benchtest.
58164         * benchtests/rint-inputs: Input for rint benchtest.
58166 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58168         * Versions.def (libm): Add GLIBC_2.18.
58169         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58170         hidden libm prototypes.
58171         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58172         * math/Makefile (libm-calls): Add s_issignaling.
58173         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58174         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58175         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58176         declaration.
58177         * math/math.h [__USE_GNU] (issignaling): New macro.
58178         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58179         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58180         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58181         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58182         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58183         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58184         * manual/arith.texi (issignaling): New section.
58185         * manual/libm-err-tab.pl (@all_functions): Update comment.
58186         * math/gen-libm-test.pl (parse_args): Apply special handling for
58187         issignaling.
58188         * math/libm-test.inc (print_float, issignaling_test): New
58189         functions.
58190         (check_float_internal): Add issignaling checks.
58191         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58192         default definition.
58193         * sysdeps/powerpc/math-tests.h: New file.
58194         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58195         tests.
58196         * math/test-snan.c (TEST_FUNC): Likewise.
58198 2013-03-30  David S. Miller  <davem@davemloft.net>
58200         * po/de.po: Update from translation team.
58202 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58204         [BZ #10357]
58205         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58206         imaginary part less than 1.0 and real part less than 0.5
58207         specially.
58208         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58209         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58210         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58211         (cacos_test): Add more tests.
58212         (casin_test): Likewise.
58213         (casinh_test): Likewise.
58214         * sysdeps/i386/fpu/libm-test-ulps: Update.
58215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58217 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58219         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58220         ONE with its value.
58222         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58223         (__pow_mp): Replace ONE and MONE with their values.
58224         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58225         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58226         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58227         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58228         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58229         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58231         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58233         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58234         (__pow_mp): Replace ZERO and MZERO with their values.
58235         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58236         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58237         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58239         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58240         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58241         (__sqr): Likewise.
58243         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58245         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58247 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58249         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58250         Declare with __attribute__ ((weak)).
58251         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58252         Call __call_tls_dtors only if it's not NULL.
58254 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58256         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58257         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58258         magic __ehdr_start linker symbol if it's defined.
58259         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58260         them up here if it was already done.
58262         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58263         (_dl_aux_init): Use const in cast when setting it.
58264         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58265         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58266         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58268         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58269         Declare them here.
58270         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58271         * csu/libc-tls.c: Nor here.
58272         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58274         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58275         (__libc_message): Never call vsyslog.
58277 2013-03-28  Alan Modra  <amodra@gmail.com>
58279         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58280         Define as empty.
58281         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58282         Likewise.
58284 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58286         [BZ #15214]
58287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58288         underflow.
58289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58291 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58293         [BZ #15304]
58294         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58295         Don't add gid passed as argument.
58297         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58299 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58301         [BZ #15307]
58302         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58303         imaginary part between 1.0 and 1.5 and real part less than 0.5
58304         specially.
58305         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58306         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58307         * math/libm-test.inc (cacos_test): Add more tests.
58308         (casin_test): Likewise.
58309         (casinh_test): Likewise.
58310         * sysdeps/i386/fpu/libm-test-ulps: Update.
58311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58313 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58315         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58316         constants.
58317         (norm): Likewise.
58318         (denorm): Likewise.
58319         (__dbl_mp): Likewise.
58320         (add_magnitudes): Likewise.
58321         (sub_magnitudes): Likewise.
58322         (__add): Likewise.
58323         (__sub): Likewise.
58324         (__mul): Likewise.
58325         (__sqr): Likewise.
58326         (__inv): Likewise.
58327         (__dvd): Likewise.
58329         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58330         commented code.
58331         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58332         (__dubcos): Likewise.
58333         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58334         (__ieee754_acos): Likewise.
58335         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58336         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58337         (__exp1): Likewise.
58338         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58339         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58340         (log1): Likewise.
58341         (my_log2): Likewise.
58342         (checkint): Likewise.
58343         * sysdeps/ieee754/dbl-64/e_remainder.c
58344         (__ieee754_remainder): Likewise.
58345         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58347         (bsloww): Likewise.
58348         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58350         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58351         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58352         MANTISSA_STORE_T to store computations on mantissa.  Use
58353         macros for rounding and division.
58354         (denorm): Likewise.
58355         (__dbl_mp): Likewise.
58356         (add_magnitudes): Likewise.
58357         (sub_magnitudes): Likewise.
58358         (__mul): Likewise.
58359         (__sqr): Likewise.
58360         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58361         powers of two in terms of TWOPOW macro.
58362         (mp_no): Make type of mantissa as MANTISSA_T.
58363         [!RADIXI]: Define RADIXI.
58364         [!TWO52]: Define TWO52.
58365         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58367 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58369         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58370         llroundl symbol when building for PPC32.
58372 2013-03-24  Mark H Weaver  <mhw@netris.org>
58374         * manual/arith.texi (Normalization Functions): Fix prototypes for
58375         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58377 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58379         [BZ #13889]
58380         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58381         high value to check if expl overflow.
58382         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58383         to check for underflow and overflow.
58384         * math/libm-test.inc: Add exp test.
58386 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58388         [BZ #11120]
58389         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58390         with NOT_IN_libc.
58392 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58394         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58395         symbol.
58397 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58399         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58400         wrap blocks consisting of several statements.
58402         * sysdeps/generic/math-tests.h: New file.
58403         * sysdeps/i386/fpu/math-tests.h: Likewise.
58404         * math/test-snan.c: Include it.
58405         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58407 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58409         [BZ #15285]
58410         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58411         (__ieee754_j0l): Do not improve calculations using cos of twice
58412         input for inputs above LDBL_MAX / 2.0L.
58413         (__ieee754_y0l): Likewise.
58414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58415         (__ieee754_j1l): Do not improve calculations using cos of twice
58416         input for inputs above LDBL_MAX / 2.0L.
58417         (__ieee754_y1l): Likewise.
58418         * math/libm-test.inc (j0_test): Add another test.
58419         (j1_test): Likewise.
58420         (y0_test): Likewise.
58421         (y1_test): Likewise.
58422         * sysdeps/i386/fpu/libm-test-ulps: Update.
58424 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58426         * Rules ($(objpfx)bench-%.c): Include code from a C source
58427         file.
58429 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58431         [BZ #15287]
58432         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58433         imaginary part 1.0 and real part less than 0.5 specially.
58434         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58435         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58436         * math/libm-test.inc (cacos_test): Add more tests.
58437         (casin_test): Likewise.
58438         (casinh_test): Likewise.
58439         * sysdeps/i386/fpu/libm-test-ulps: Update.
58440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58442 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58444         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58445         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58447 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58449         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58450         * config.make.in (config-cflags-sse4): Remove variable.
58451         (config-cflags-avx): Likewise.
58452         (config-cflags-sse2avx): Likewise.
58453         (config-cflags-novzeroupper): Likewise.
58454         (config-asflags-i686): Likewise.
58455         (have-mfma4): Likewise.
58456         (have-as-vis3): Likewise.
58457         (MIG): Likewise.
58458         * configure.in (MIG): Do not AC_SUBST.
58459         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58460         (libc_cv_cc_sse4): Do not AC_SUBST.
58461         (libc_cv_cc_avx): Likewise.
58462         (libc_cv_cc_sse2avx): Likewise.
58463         (libc_cv_cc_novzeroupper): Likewise.
58464         (libc_cv_cc_fma4): Likewise.
58465         (libc_cv_as_i686): Likewise.
58466         (libc_cv_sparc_as_vis3): Likewise.
58467         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58468         LIBC_CONFIG_VAR.
58469         (config-asflags-i686): Likewise.
58470         (config-cflags-avx): Likewise.
58471         (config-cflags-sse2avx): Likewise.
58472         (have-mfma4): Likewise.
58473         (config-cflags-novzeroupper): Likewise.
58474         * sysdeps/mach/configure.in (MIG): Likewise.
58475         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58476         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58477         LIBC_CONFIG_VAR.
58478         (config-cflags-avx): Likewise.
58479         (config-cflags-sse2avx): Likewise.
58480         (have-mfma4): Likewise.
58481         (config-cflags-novzeroupper): Likewise.
58482         * configure: Regenerated.
58483         * sysdeps/i386/configure: Likewise.
58484         * sysdeps/mach/configure: Likewise.
58485         * sysdeps/sparc/configure: Likewise.
58486         * sysdeps/x86_64/configure: Likewise.
58488 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58490         [BZ #14812]
58491         * locale/programs/localedef.c (options): Put N_ translation marker
58492         on argument names, not just descriptions.
58494 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58496         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58498 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58500         [BZ #14176]
58501         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58503 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58505         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58506         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58507         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58508         [!BEFORE_ABORT] (before_abort): New function.
58509         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58510         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58511         (writev_for_fatal): New function.
58512         (WRITEV_FOR_FATAL): New macro; call that.
58513         (backtrace_and_maps): New function.
58514         (BEFORE_ABORT): New macro; call that.
58515         (struct str_list): Type removed.
58516         (__libc_message, __libc_fatal): Functions removed.
58517         Include <sysdeps/posix/libc_fatal.c> instead.
58519 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58521         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58522         constants.
58523         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58524         double constants.
58526 2013-03-19  Andreas Schwab  <schwab@suse.de>
58528         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58529         * sysdeps/gnu/configure: Regenerate.
58531         * configure.in: Substitute libc_cv_rtlddir.
58532         * configure: Regenerate.
58533         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58534         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58535         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58536         * elf/Makefile (install-others, CFLAGS-interp.c)
58537         (ldso_install, common-ldd-rewrite): Likewise.
58538         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58539         $(inst_slibdir)/$(rtld-installed-name).
58540         * scripts/rellns-sh: Add -p option.
58541         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58542         for source.
58544 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58546         * manual/nptl.texi: Renamed to ...
58547         * manual/threads.texi: ... this.
58548         * manual/Makefile (chapters): Update.
58550 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58552         [BZ #14812]
58553         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58554         on argument names, not just descriptions.
58555         * malloc/memusagestat.c (options): Likewise.
58556         * nss/getent.c (options): Likewise.
58558 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58560         [BZ #14812]
58561         * iconv/iconv_prog.c (options): Put N_ translation marker
58562         on argument names, not just descriptions.
58563         * iconv/iconvconfig.c (options): Likewise.
58565 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58567         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58568         implementation which is faster on all x86_64 architectures.
58569         Tested on AMD, Intel Nehalem, SNB, IVB.
58570         * sysdeps/x86_64/strnlen.S: Likewise.
58572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58573         Remove all multiarch strlen and strnlen versions.
58574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58575         Remove strlen and strnlen related parts.
58577         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58578         Inline strlen part.
58579         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58581         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58582         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58583         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58584         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58585         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58586         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58588 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58590         * manual/memory.texi (Malloc Tunable Parameters):
58591         Sort parameters alphabetically. Add comments for missing entries.
58593 2013-03-17  David S. Miller  <davem@davemloft.net>
58595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58597 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58599         [BZ #15283]
58600         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58601         for arguments at most half maximum finite value.
58602         * math/libm-test.inc (j0_test): Add more tests.
58603         (j1_test): Likewise.
58604         (y0_test): Likewise.
58605         (y1_test): Likewise.
58606         * sysdeps/i386/fpu/libm-test-ulps: Update.
58607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58609         [BZ #14155]
58610         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58611         1 / x and functions P and Q for arguments above 0x1p256L.
58612         (__ieee754_y0l): Likewise.
58613         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58614         (__ieee754_y1l): Likewise.
58615         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58616         (j1_test): Likewise.
58617         (y0_test): Likewise.
58618         (y1_test): Likewise.
58620 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58622         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58623         variable.
58625 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58627         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58628         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58629         zero since it's initialized to EXEC_PAGESIZE.
58631         * sysdeps/unix/sysv/linux/ldsodefs.h
58632         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58633         * sysdeps/generic/ldsodefs.h: ... here.
58635 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58637         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58639         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58640         math/test-snan.c.
58641         * math/test-snan.c: Renamed from
58642         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58643         * math/Makefile (tests): Add test-snan.
58644         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58645         test-powerpc-snan.
58647         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58648         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58649         functions.
58650         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58651         __builtin_nan family of functions.
58652         * math/libm-test.inc (initialize): Initialize qnan_value with
58653         __builtin_nan family of functions.
58654         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58655         Remove variables.
58656         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58657         Remove functions.
58658         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58659         storage class.  Initialize qNaN_var and sNaN_var with
58660         __builtin_nan and __builtin_nans families of functions,
58661         respectively.
58663         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58664         (sqrt_test): Remove duplicate test with qNaN input.
58665         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58666         (round_test, signbit_test, significand_test): Note missing +/-Inf
58667         as well as qNaN tests.
58669         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58670         qNaN_var.  Fix a few strings, too.
58671         * math/libm-test.inc (nan_value): Rename to qnan_value.
58672         * math/gen-libm-test.pl (%beautify): Adjust to that.
58673         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58674         * math/test-misc.c (main): Likewise.
58675         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58676         to __qnan_bytes, and __qnan_union, respectively.
58677         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58678         Likewise.
58679         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58680         and lqnanval, respectively.
58681         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58682         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58683         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58684         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58686         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58687         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58688         doubles.
58690         * math/test-misc.c (main): Fix copy'n'pastos.
58691         * misc/tst-efgcvt.c (special): Likewise.
58693         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58694         Remove declarations.
58696 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58698         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58699         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58700         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58701         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58703 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58705         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58706         macro to return vdso values correctly in IFUNC implementations.
58707         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58708         Optimization by using IFUNC.
58710 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58711             Richard Henderson  <rth@redhat.com>
58712             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58714         * Makefile.in (bench): New target.
58715         * NEWS: Mention the benchmark framework.
58716         * Rules (bench): Likewise.
58717         (binaries-bench): Generate binaries for functions to
58718         benchmark.
58719         * benchtests/Makefile: New makefile for benchmark tests.
58720         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58721         programs.
58722         * benchtests/exp-inputs: New input file for EXP function.
58723         * benchtests/pow-inputs: New input file for POW function.
58724         * scripts/bench.pl: New script to generate source files for
58725         benchmark programs.
58727 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58729         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58730         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58731         computations on mantissa.  Use macros for rounding and
58732         division.
58733         (denorm): Likewise.
58734         (__dbl_mp): Likewise.
58735         (add_magnitudes): Likewise.
58736         (sub_magnitudes): Likewise.
58737         (__mul): Likewise.
58738         (__sqr): Likewise.
58739         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58740         powers of two in terms of TWOPOW macro.
58741         (mp_no): Make type of mantissa as MANTISSA_T.
58742         [!RADIXI]: Define RADIXI.
58743         [!TWO52]: Define TWO52.
58744         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58746         * manual/nptl.texi (cindex): Modify threads to pthreads.
58748 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58750         * sysdeps/x86_64/preconfigure: Regenerated.
58752 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58754         [BZ #14155]
58755         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58756         0x1p28 and above.
58757         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58758         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58759         0x1p28 and above.
58760         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58761         * math/libm-test.inc (j0_test): Do not allow one spurious
58762         underflow exception.
58763         (y1_test): Likewise.
58765 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58767         * manual/Makefile (chapters): Add nptl.
58768         * manual/debug.texi (Debugging Support): Add link to Threads
58769         chapter.
58770         * manual/nptl.texi: New file.
58772         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58774 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58776         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58777         for non-NULL pointer before the memory validity test. Pointed
58778         out by Holger Brunck <holger.brunck@keymile.com>.
58780 2013-03-13  Andreas Schwab  <schwab@suse.de>
58782         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58783         instead of .os.
58785 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58787         * timezone/zic.c: Update from tzcode 2013b.
58789 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58791         * manual/install.texi (Configuring and compiling):
58792         Mention i686 and i586.
58793         * INSTALL: Regenerate.
58795 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58797         * sysdeps/init_array/elf-init.c: New file.
58798         * csu/elf-init.c
58799         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58800         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58802         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58803         __gmon_start__ as global, but as static with a .preinit_array pointer.
58804         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58805         * sysdeps/init_array/crti.S: New file, empty except for comments.
58806         * sysdeps/init_array/crtn.S: Likewise.
58808 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58810         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58811         definining bcopy.
58812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58813         Remove Prefer_SSE_for_memop.
58814         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58815         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58816         HAS_PREFER_SSE_FOR_MEMOP.
58817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58818         memset-x86-64.
58819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58820         Remove bzero, memset ifunc support.
58821         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58822         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58823         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58824         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58826 2013-03-11  Andreas Schwab  <schwab@suse.de>
58828         [BZ #15234]
58829         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58830         by SHLIB_COMPAT.
58831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58832         (GLIBC_2.16): Remove pthread_atfork.
58834 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58836         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58837         (ptestcases.h): Likewise.
58839 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58841         * Makeconfig ($(common-objpfx)config.status): Depend on
58842         sysdeps/*/preconfigure{,.in} too.
58844 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58846         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58847         (__free_hook): Use void * instead of __malloc_ptr_t.
58848         (__malloc_hook): Likewise.
58849         (__realloc_hook): Likewise.
58850         (__memalign_hook): Likewise.
58851         (__after_morecore_hook): Likewise.
58852         * malloc/arena.c (save_malloc_hook): Likewise.
58853         (save_free_hook): Likewise.
58854         * malloc/hooks.c (malloc_hook_ini): Likewise.
58855         (realloc_hook_ini): Likewise.
58856         (memalign_hook_ini): Likewise.
58857         * malloc/malloc.c (malloc_hook_ini): Likewise.
58858         (realloc_hook_ini): Likewise.
58859         (memalign_hook_ini): Likewise.
58860         (__free_hook): Likewise.
58861         (__malloc_hook): Likewise.
58862         (__realloc_hook): Likewise.
58863         (__memalign_hook): Likewise.
58864         (__libc_malloc): Likewise.
58865         (__libc_free): Likewise.
58866         (__libc_realloc): Likewise.
58867         (__libc_memalign): Likewise.
58868         (__libc_valloc): Likewise.
58869         (__libc_pvalloc): Likewise.
58870         (__libc_calloc): Likewise.
58871         (__posix_memalign): Likewise.
58872         * malloc/morecore.c (__sbrk): Likewise.
58873         (__default_morecore): Likewise.
58875         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58877         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58878         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58879         __malloc_ptrdiff_t.
58881         * malloc/malloc.h (__malloc_size_t): Remove macro.
58882         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58883         __malloc_size_t.
58884         (old_memalign_hook): Likewise.
58885         (old_realloc_hook): Likewise.
58886         (struct hdr): Likewise.
58887         (flood): Likewise.
58888         (mallochook): Likewise.
58889         (memalignhook): Likewise.
58890         (reallochook): Likewise.
58891         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58892         (tr_old_realloc_hook): Likewise.
58893         (tr_old_memalign_hook): Likewise.
58894         (tr_mallochook): Likewise.
58895         (tr_reallochook): Likewise.
58896         (tr_memalignhook): Likewise.
58898 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58900         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58901         default_ldbl_pack and using as default implementation.
58902         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58903         implementation.
58904         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58905         redundant definition.
58906         (ldbl_insert_mantissa): Likewise.
58907         (ldbl_canonicalize): Likewise.
58908         (ldbl_nearbyint): Likewise.
58909         (ldbl_pack): Rename to ldbl_pack_ppc.
58910         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58911         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58912         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58914 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58917         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58918         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58919         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58921         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58922         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58923         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58925 2013-03-07  Andreas Jaeger  <aj@suse.de>
58927         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58928         bits/mman-linux.h.
58930 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58932         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58933         Include mpa.h and declare __MPEXP.
58934         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58935         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58936         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58937         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58938         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58939         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58940         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58942         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58943         (__slowpow): Use long double EXPL and LOGL functions to
58944         compute POW.
58945         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58946         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58947         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58948         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58949         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58950         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58953         intermediate variable to calculate exponent.
58954         (__sqr): Likewise.
58955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58956         Likewise.
58957         (__sqr): Likewise.
58959         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58960         [!NO__SQR]: Define __sqr.
58961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58962         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58963         sysdeps/ieee754/dbl-64/mpa.c.
58964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58966         [BZ #12723]
58967         * posix/Makefile (tests): Add tst-pathconf.
58968         * posix/tst-pathconf.c: New test case.
58969         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58970         _PC_PIPE_BUF.
58971         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58973 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58975         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58977 2013-03-06  Andreas Jaeger  <aj@suse.de>
58979         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58980         definition via __MAP_ANONYMOUS.
58982         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58983         it's not part of Linux headers.
58985         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58986         (MAP_HUGE_MASK): Define.
58988         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58989         Define.
58990         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58991         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58992         Define.
58993         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58994         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58995         Define.
58996         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58997         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58998         Define.
58999         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59001         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59002         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59003         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59004         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59005         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59006         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59008         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59009         Handle f2fs.
59011         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59012         Handle f2fs and efivarfs.
59014         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59015         f2fs.
59017         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59018         (EFIVARFS_MAGIC): Add.
59019         (F2FS_LINK_MAX): Add.
59021 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59023         * stdio-common/vfprintf.c: Replace __builtin_expect with
59024         __glibc_unlikely.
59026 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59028         [BZ #13550]
59029         * sysdeps/generic/bp-sym.h: Remove file.
59030         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59031         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59032         <bp-sym.h> and <bp-asm.h>.
59033         (__longjmp): Don't use BP_SYM.
59034         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59035         and <bp-asm.h>.
59036         (memcpy): Don't use BP_SYM.
59037         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59038         <bp-sym.h> and <bp-asm.h>.
59039         (memcpy): Don't use BP_SYM.
59040         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59041         <bp-asm.h>.
59042         (memcpy): Don't use BP_SYM.
59043         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59044         <bp-asm.h>.
59045         (memset): Don't use BP_SYM.
59046         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59047         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59048         (__bzero): Don't use BP_SYM.
59049         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59050         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59051         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59052         <bp-sym.h> and <bp-asm.h>.
59053         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59054         pointers.
59055         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59056         <bp-sym.h> and <bp-asm.h>.
59057         (memcpy): Don't use BP_SYM.
59058         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59059         <bp-sym.h> and <bp-asm.h>.
59060         (memset): Don't use BP_SYM.
59061         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59062         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59063         (__bzero): Don't use BP_SYM.
59064         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59065         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59066         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59067         <bp-sym.h> and <bp-asm.h>.
59068         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59069         pointers.
59070         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59071         <bp-sym.h> and <bp-asm.h>.
59072         (memcpy): Don't use BP_SYM.
59073         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59074         <bp-sym.h> and <bp-asm.h>.
59075         (memset): Don't use BP_SYM.
59076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59078         (__bzero): Don't use BP_SYM.
59079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59081         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59082         <bp-sym.h> and <bp-asm.h>.
59083         (__memchr): Don't use BP_SYM.
59084         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59085         <bp-sym.h> and <bp-asm.h>.
59086         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59087         pointers.
59088         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59089         <bp-sym.h> and <bp-asm.h>.
59090         (memcpy): Don't use BP_SYM.
59091         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59092         <bp-sym.h> and <bp-asm.h>.
59093         (__mempcpy): Don't use BP_SYM.
59094         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59095         <bp-sym.h> and <bp-asm.h>.
59096         (__memrchr): Don't use BP_SYM.
59097         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59098         <bp-sym.h> and <bp-asm.h>.
59099         (memset): Don't use BP_SYM.
59100         (__bzero): Likewise.
59101         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59102         <bp-sym.h> and <bp-asm.h>.
59103         (__rawmemchr): Don't use BP_SYM.
59104         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59105         <bp-sym.h> and <bp-asm.h>.
59106         (__STRCMP): Don't use BP_SYM.
59107         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59108         <bp-sym.h> and <bp-asm.h>.
59109         (strchr): Don't use BP_SYM.
59110         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59111         <bp-sym.h> and <bp-asm.h>.
59112         (__strchrnul): Don't use BP_SYM.
59113         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59114         <bp-sym.h> and <bp-asm.h>.
59115         (strlen): Don't use BP_SYM.
59116         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59117         <bp-sym.h> and <bp-asm.h>.
59118         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59119         pointers.
59120         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59121         <bp-sym.h> and <bp-asm.h>.
59122         (__strnlen): Don't use BP_SYM.
59123         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59124         <bp-sym.h> and <bp-asm.h>.
59125         (__GI__setjmp): Don't use BP_SYM.
59126         (_setjmp): Likewise.
59127         (__sigsetjmp): Likewise.
59128         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59129         (L(start_addresses)): Don't use BP_SYM.
59130         (_start): Likewise.
59131         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59132         <bp-asm.h>.
59133         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59134         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59135         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59136         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59137         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59138         <bp-asm.h>.
59139         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59140         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59141         about bounded pointers.
59142         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59143         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59144         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59145         <bp-asm.h>.
59146         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59147         about bounded pointers.  Remove GKM FIXME comments.
59148         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59149         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59150         <bp-asm.h>.
59151         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59152         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59153         Remove GKM FIXME comments.
59154         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59155         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59156         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59157         <bp-asm.h>.
59158         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59159         about bounded pointers.  Remove GKM FIXME comment.
59160         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59161         and <bp-asm.h>.
59162         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59163         pointers.
59164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59165         <bp-sym.h> and <bp-asm.h>.
59166         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59168         <bp-sym.h> and <bp-asm.h>.
59169         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59170         comment.
59172 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59174         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59175         call free(NULL).
59177 2013-03-05  David S. Miller  <davem@davemloft.net>
59179         * po/es.po: Update from translation team.
59181 2013-03-05  Andreas Jaeger  <aj@suse.de>
59183         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59184         <bits/mman-linux.h>.
59185         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59186         is fine.
59187         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59188         <bits/mman-linux.h> to end of file.
59189         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59190         is fine.
59191         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59192         <bits/mman-linux.h> to end of file.
59193         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59194         is fine.
59195         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59196         <bits/mman-linux.h> to end of file.
59198         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59199         (MCL_CURRENT, MCL_FUTURE): Define here.
59201 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59203         [BZ #15232]
59204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59205         attribute_hidden.
59206         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59208 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59210         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59211         fourth parameter needed for rt_sigprocmask syscall.
59212         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59213         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59214         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59215         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59216         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59217         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59219 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59221         [BZ #13550]
59222         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59223         comment about bounded pointers.
59224         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59225         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59227 2013-03-04  Andreas Jaeger  <aj@suse.de>
59229         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59230         common definitions.
59232         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59233         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59234         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59235         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59236         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59237         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59239 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59241         [BZ #15055]
59242         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59243         __ieee754_sqrl instead of __sqrl.
59245 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59247         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59248         * sysdeps/powerpc/fpu_control.h: ... here.
59249         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59250         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59251         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59252         * sysdeps/powerpc/bits/mathinline.h: ... here.
59254 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59256         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59257         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59258         to just [NEED_DL_SYSINFO_DSO].
59259         * elf/dl-support.c: Likewise.
59260         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59261         * elf/rtld.c (dl_main): Likewise.
59262         * elf/setup-vdso.h (setup_vdso): Likewise.
59263         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59264         * sysdeps/unix/sysv/linux/dl-sysdep.c
59265         (_dl_discover_osversion): Likewise.
59267 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59269         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59270         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59272 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59274         * NEWS: Mention libm performance improvements and non-x86 PI
59275         futex support.
59277         * csu/libc-start.c (__pthread_initialize_minimal): Change
59278         function arguments.
59279         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59281 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59283         [BZ #13550]
59284         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59285         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59286         <bp-sym.h> and <bp-asm.h>.
59287         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59288         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59289         and <bp-asm.h>.
59290         (memcpy): Don't use BP_SYM.
59291         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59292         <bp-asm.h>.
59293         (__mpn_add_n): Don't use BP_SYM.
59294         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59295         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59296         and <bp-asm.h>.
59297         (__mpn_addmul_1): Don't use BP_SYM.
59298         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59299         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59300         <bp-sym.h>.
59301         (_setjmp): Don't use BP_SYM.
59302         (__novmx_setjmp): Likewise.
59303         (__GI__setjmp): Likewise.
59304         (__vmx_setjmp): Likewise.
59305         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59306         <bp-sym.h>.
59307         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59308         (__bzero): Don't use BP_SYM.
59309         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59310         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59311         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59312         <bp-sym.h> and <bp-asm.h>.
59313         (memcpy): Don't use BP_SYM.
59314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59315         <bp-sym.h> and <bp-asm.h>.
59316         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59317         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59318         <bp-sym.h> and <bp-asm.h>.
59319         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59320         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59321         <bp-asm.h>.
59322         (__mpn_lshift): Don't use BP_SYM.
59323         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59324         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59325         <bp-asm.h>.
59326         (memset): Don't use BP_SYM.
59327         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59328         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59329         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59330         <bp-asm.h>.
59331         (__mpn_mul_1): Don't use BP_SYM.
59332         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59333         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59334         <bp-sym.h> and <bp-asm.h>.
59335         (memcmp): Don't use BP_SYM.
59336         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59337         <bp-sym.h> and <bp-asm.h>.
59338         (memcpy): Don't use BP_SYM.
59339         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59340         <bp-sym.h> and <bp-asm.h>.
59341         (memset): Don't use BP_SYM.
59342         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59343         <bp-sym.h> and <bp-asm.h>.
59344         (strncmp): Don't use BP_SYM.
59345         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59346         <bp-sym.h> and <bp-asm.h>.
59347         (memcpy): Don't use BP_SYM.
59348         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59349         <bp-sym.h> and <bp-asm.h>.
59350         (memset): Don't use BP_SYM.
59351         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59352         <bp-sym.h> and <bp-asm.h>.
59353         (__memchr): Don't use BP_SYM.
59354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59355         <bp-sym.h> and <bp-asm.h>.
59356         (memcmp): Don't use BP_SYM.
59357         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59358         <bp-sym.h> and <bp-asm.h>.
59359         (memcpy): Don't use BP_SYM.
59360         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59361         <bp-sym.h> and <bp-asm.h>.
59362         (__mempcpy): Don't use BP_SYM.
59363         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59364         <bp-sym.h> and <bp-asm.h>.
59365         (__memrchr): Don't use BP_SYM.
59366         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59367         <bp-sym.h> and <bp-asm.h>.
59368         (memset): Don't use BP_SYM.
59369         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59370         <bp-sym.h> and <bp-asm.h>.
59371         (__rawmemchr): Don't use BP_SYM.
59372         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59373         <bp-sym.h> and <bp-asm.h>.
59374         (__STRCMP): Don't use BP_SYM.
59375         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59376         <bp-sym.h> and <bp-asm.h>.
59377         (strchr): Don't use BP_SYM.
59378         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59379         <bp-sym.h> and <bp-asm.h>.
59380         (__strchrnul): Don't use BP_SYM.
59381         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59382         <bp-sym.h> and <bp-asm.h>.
59383         (strlen): Don't use BP_SYM.
59384         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59385         <bp-sym.h> and <bp-asm.h>.
59386         (strncmp): Don't use BP_SYM.
59387         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59388         <bp-sym.h> and <bp-asm.h>.
59389         (__strnlen): Don't use BP_SYM.
59390         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59391         <bp-asm.h>.
59392         (__mpn_rshift): Don't use BP_SYM.
59393         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59394         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59395         <bp-sym.h> and <bp-asm.h>.
59396         (__sigsetjmp): Don't use BP_SYM.
59397         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59398         (L(start_addresses)): Don't use BP_SYM.
59399         (_start): Likewise.
59400         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59401         <bp-asm.h>.
59402         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59403         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59404         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59405         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59406         <bp-asm.h>.
59407         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59408         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59409         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59410         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59411         <bp-asm.h>.
59412         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59413         comments.
59414         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59415         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59416         <bp-asm.h>.
59417         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59418         FIXME comments.
59419         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59420         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59421         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59422         <bp-asm.h>.
59423         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59424         comment.
59425         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59426         and <bp-asm.h>.
59427         (strncmp): Don't use BP_SYM,
59428         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59429         <bp-asm.h>.
59430         (__mpn_sub_n): Don't use BP_SYM.
59431         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59432         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59433         and <bp-asm.h>.
59434         (__mpn_submul_1): Don't use BP_SYM.
59435         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59437         <bp-sym.h> and <bp-asm.h>.
59438         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59440         <bp-sym.h> and <bp-asm.h>.
59441         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59442         comment.
59444 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59447         Use ZK to minimize writes to Z.
59448         (sub_magnitudes): Simplify code a bit.
59449         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59450         Use ZK to minimize writes to Z.
59451         (sub_magnitudes): Simplify code a bit.
59453 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59455         * csu/gmon-start.c: Add special exception to license text.
59457 2013-02-27  Richard Henderson  <rth@redhat.com>
59459         * scripts/config.guess: Update from config.git.
59460         * scripts/config.sub: Likewise.
59462 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59464         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59466         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59468         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59470         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59472         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59474 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59476         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59477         [$(build-shared = yes].
59479 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59481         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59482         (__mul): Reduce iterations for calculating mantissa.
59484         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59485         MPTWO.
59486         (__mpranred): Likewise.
59488         [BZ #15160]
59489         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59490         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59492 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59494         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59495         Define __attribute__.
59497 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59499         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59500         unused.
59501         * posix/regex_internal.h (__attribute): Remove.
59502         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59503         (re_string_context_at): Likewise.
59504         (bitset_not): Use __attribute__ and mark function as possibly
59505         unused.
59506         (bitset_merge): Likewise.
59507         (bitset_mask): Likewise.
59508         (re_string_char_size_at): Likewise.
59509         (re_string_wchar_at): Likewise.
59510         (re_string_elem_size_at): Likewise.
59512 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59514         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59515         code.
59516         (cc32): Likewise.
59518         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59519         (__acr): Likewise.
59520         (__cpy): Likewise.
59521         (norm): Likewise.
59522         (denorm): Likewise.
59523         (__dbl_mp): Likewise.
59524         (add_magnitudes): Likewise.
59525         (sub_magnitudes): Likewise.
59526         (__mul): Likewise.
59527         (__inv): Likewise.
59529         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59530         style.
59532         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59533         style.
59535         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59536         code.
59538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59539         up changes with default code.
59540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59541         Likewise.
59543 2013-02-24  Allan McRae  <allan@archlinux.org>
59545         * manual/socket.texi (The Internet Namespace): Order menu items
59546         to match that in the file.
59548         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59549         node listing of the info page menu.
59551 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59553         [BZ #13550]
59554         * sysdeps/i386/bp-asm.h: Remove file.
59555         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59556         (PARMS): Do not use macros from bp-asm.h.
59557         (S1): Likewise.
59558         (S2): Likewise.
59559         (SIZE): Likewise.
59560         (__mpn_add_n): Do not use BP_SYM
59561         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59562         "bp-asm.h".
59563         (PARMS): Do not use macros from bp-asm.h.
59564         (S1): Likewise.
59565         (SIZE): Likewise.
59566         (__mpn_addmul_1): Do not use BP_SYM
59567         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59568         "bp-asm.h".
59569         (PARMS): Do not use macros from bp-asm.h.
59570         (SIGMSK): Likewise.
59571         (_setjmp): Likewise.  Do not use BP_SYM.
59572         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59573         "bp-asm.h".
59574         (PARMS): Do not use macros from bp-asm.h.
59575         (SIGMSK): Likewise.
59576         (setjmp): Likewise.  Do not use BP_SYM.
59577         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59578         "bp-asm.h".
59579         (PARMS): Do not use macros from bp-asm.h.
59580         (__frexp): Do not use BP_SYM.
59581         (frexp): Likewise.
59582         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59583         "bp-asm.h".
59584         (PARMS): Do not use macros from bp-asm.h.
59585         (__frexpf): Do not use BP_SYM.
59586         (frexpf): Likewise.
59587         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59588         "bp-asm.h".
59589         (PARMS): Do not use macros from bp-asm.h.
59590         (__frexpl): Do not use BP_SYM.
59591         (frexpl): Likewise.
59592         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59593         "bp-asm.h".
59594         (PARMS): Do not use macros from bp-asm.h.
59595         (__remquo): Do not use BP_SYM.
59596         (remquo): Likewise.
59597         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59598         "bp-asm.h".
59599         (PARMS): Do not use macros from bp-asm.h.
59600         (__remquof): Do not use BP_SYM.
59601         (remquof): Likewise.
59602         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59603         "bp-asm.h".
59604         (PARMS): Do not use macros from bp-asm.h.
59605         (__remquol): Do not use BP_SYM.
59606         (remquol): Likewise.
59607         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59608         "bp-asm.h".
59609         (PARMS): Do not use macros from bp-asm.h.
59610         (DEST): Likewise.
59611         (SRC): Likewise.
59612         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59613         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59614         "bp-asm.h".
59615         (PARMS): Do not use macros from bp-asm.h.
59616         (strlen): Do not use BP_SYM.
59617         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59618         "bp-asm.h".
59619         (PARMS): Do not use macros from bp-asm.h.
59620         (S1): Likewise.
59621         (S2): Likewise.
59622         (SIZE): Likewise.
59623         (__mpn_add_n): Do not use BP_SYM.
59624         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59625         "bp-asm.h".
59626         (PARMS): Do not use macros from bp-asm.h.
59627         (S1): Likewise.
59628         (SIZE): Likewise.
59629         (__mpn_addmul_1): Do not use BP_SYM.
59630         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59631         weak_alias.
59632         (bzero): Likewise.
59633         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59634         "bp-asm.h".
59635         (PARMS): Do not use macros from bp-asm.h.
59636         (S): Likewise.
59637         (SIZE): Likewise.
59638         (__mpn_lshift): Do not use BP_SYM.
59639         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59640         "bp-asm.h".
59641         (PARMS): Do not use macros from bp-asm.h.
59642         (DEST): Likewise.
59643         (SRC): Likewise.
59644         (LEN): Likewise.
59645         (memcpy): Likewise.  Do not use BP_SYM.
59646         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59647         libc_hidden_def and weak_alias.
59648         (mempcpy): Do not use BP_SYM in weak_alias.
59649         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59650         "bp-asm.h".
59651         (PARMS): Do not use macros from bp-asm.h.
59652         (DEST): Likewise.
59653         (LEN): Likewise.
59654         [!BZERO_P] (CHR): Likewise.
59655         (memset): Likewise.  Do not use BP_SYM.
59656         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59657         "bp-asm.h".
59658         (PARMS): Do not use macros from bp-asm.h.
59659         (S1): Likewise.
59660         (SIZE): Likewise.
59661         (__mpn_mul_1): Do not use BP_SYM.
59662         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59663         "bp-asm.h".
59664         (PARMS): Do not use macros from bp-asm.h.
59665         (S): Likewise.
59666         (SIZE): Likewise.
59667         (__mpn_rshift): Do not use BP_SYM.
59668         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59669         "bp-asm.h".
59670         (PARMS): Do not use macros from bp-asm.h.
59671         (STR): Likewise.
59672         (CHR): Likewise.
59673         (strchr): Likewise.  Do not use BP_SYM.
59674         (index): Do not use BP_SYM in weak_alias.
59675         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59676         "bp-asm.h".
59677         (PARMS): Do not use macros from bp-asm.h.
59678         (DEST): Likewise.
59679         (SRC): Likewise.
59680         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59681         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59682         "bp-asm.h".
59683         (PARMS): Do not use macros from bp-asm.h.
59684         (strlen): Do not use BP_SYM.
59685         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59686         "bp-asm.h".
59687         (PARMS): Do not use macros from bp-asm.h.
59688         (S1): Likewise.
59689         (S2): Likewise.
59690         (SIZE): Likewise.
59691         (__mpn_sub_n): Do not use BP_SYM.
59692         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59693         "bp-asm.h".
59694         (PARMS): Do not use macros from bp-asm.h.
59695         (S1): Likewise.
59696         (SIZE): Likewise.
59697         (__mpn_submul_1): Do not use BP_SYM.
59698         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59699         "bp-asm.h".
59700         (PARMS): Do not use macros from bp-asm.h.
59701         (S1): Likewise.
59702         (S2): Likewise.
59703         (SIZE): Likewise.
59704         (__mpn_add_n): Do not use BP_SYM.
59705         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59706         weak_alias.
59707         (bzero): Likewise.
59708         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59709         "bp-asm.h".
59710         (PARMS): Do not use macros from bp-asm.h.
59711         (BLK2): Likewise.
59712         (LEN): Likewise.
59713         (memcmp): Do not use BP_SYM.
59714         (bcmp): Do not use BP_SYM in weak_alias.
59715         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59716         "bp-asm.h".
59717         (PARMS): Do not use macros from bp-asm.h.
59718         (DEST): Likewise.
59719         (SRC): Likewise.
59720         (LEN): Likewise.
59721         (memcpy): Likewise.  Do not use BP_SYM.
59722         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59723         "bp-asm.h".
59724         (PARMS): Do not use macros from bp-asm.h.
59725         (DEST): Likewise.
59726         (SRC): Likewise.
59727         (LEN): Likewise.
59728         (memmove): Likewise.  Do not use BP_SYM.
59729         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59730         "bp-asm.h".
59731         (PARMS): Do not use macros from bp-asm.h.
59732         (DEST): Likewise.
59733         (SRC): Likewise.
59734         (LEN): Likewise.
59735         (__mempcpy): Likewise.  Do not use BP_SYM.
59736         (mempcpy): Do not use BP_SYM in weak_alias.
59737         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59738         "bp-asm.h".
59739         (PARMS): Do not use macros from bp-asm.h.
59740         (DEST): Likewise.
59741         (LEN): Likewise.
59742         [!BZERO_P] (CHR): Likewise.
59743         (memset): Likewise.  Do not use BP_SYM.
59744         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59745         "bp-asm.h".
59746         (PARMS): Do not use macros from bp-asm.h.
59747         (STR2): Likewise.
59748         (strcmp): Do not use BP_SYM.
59749         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59750         "bp-asm.h".
59751         (PARMS): Do not use macros from bp-asm.h.
59752         (STR): Likewise.
59753         (DELIM): Likewise.
59754         [USE_AS_STRTOK_R] (SAVE): Likewise.
59755         (FUNCTION): Likewise.  Do not use BP_SYM.
59756         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59757         aliases.
59758         (strtok_r): Likewise.
59759         (__GI___strtok_r): Likewise.
59760         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59761         (PARMS): Do not use macros from bp-asm.h.
59762         (S): Likewise.
59763         (SIZE): Likewise.
59764         (__mpn_lshift): Do not use BP_SYM.
59765         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59766         (PARMS): Do not use macros from bp-asm.h.
59767         (STR): Likewise.
59768         (CHR): Likewise.
59769         (__memchr): Do not use BP_SYM.
59770         (memchr): Do not use BP_SYM in weak_alias.
59771         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59772         (PARMS): Do not use macros from bp-asm.h.
59773         (BLK2): Likewise.
59774         (LEN): Likewise.
59775         (memcmp): Do not use BP_SYM.
59776         (bcmp): Do not use BP_SYM in weak_alias.
59777         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59778         (PARMS): Do not use macros from bp-asm.h.
59779         (S1): Likewise.
59780         (SIZE): Likewise.
59781         (__mpn_mul_1): Do not use BP_SYM.
59782         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59783         "bp-asm.h".
59784         (PARMS): Do not use macros from bp-asm.h.
59785         (STR): Likewise.
59786         (CHR): Likewise.
59787         (__rawmemchr): Do not use BP_SYM.
59788         (rawmemchr): Do not use BP_SYM in weak_alias.
59789         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59790         (PARMS): Do not use macros from bp-asm.h.
59791         (S): Likewise.
59792         (SIZE): Likewise.
59793         (__mpn_rshift): Do not use BP_SYM.
59794         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59795         (PARMS): Do not use macros from bp-asm.h.
59796         (SIGMSK): Likewise.
59797         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59798         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59799         (_start): Do not use BP_SYM.
59800         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59801         (PARMS): Do not use macros from bp-asm.h.
59802         (DEST): Likewise.
59803         (SRC): Likewise.
59804         (__stpcpy): Likewise.  Do not use BP_SYM.
59805         (stpcpy): Do not use BP_SYM in weak_alias.
59806         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59807         "bp-asm.h".
59808         (PARMS): Do not use macros from bp-asm.h.
59809         (DEST): Likewise.
59810         (SRC): Likewise.
59811         (LEN): Likewise.
59812         (__stpncpy): Likewise.  Do not use BP_SYM.
59813         (stpncpy): Do not use BP_SYM in weak_alias.
59814         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59815         (PARMS): Do not use macros from bp-asm.h.
59816         (STR): Likewise.
59817         (CHR): Likewise.
59818         (strchr): Likewise.  Do not use BP_SYM.
59819         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59820         "bp-asm.h".
59821         (PARMS): Do not use macros from bp-asm.h.
59822         (STR): Likewise.
59823         (CHR): Likewise.
59824         (__strchrnul): Likewise.  Do not use BP_SYM.
59825         (strchrnul): Do not use BP_SYM in weak_alias.
59826         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59827         "bp-asm.h".
59828         (PARMS): Do not use macros from bp-asm.h.
59829         (STOP): Likewise.
59830         (strcspn): Do not use BP_SYM.
59831         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59832         "bp-asm.h".
59833         (PARMS): Do not use macros from bp-asm.h.
59834         (STR): Likewise.
59835         (STOP): Likewise.
59836         (strpbrk): Likewise.  Do not use BP_SYM.
59837         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59838         "bp-asm.h".
59839         (PARMS): Do not use macros from bp-asm.h.
59840         (STR): Likewise.
59841         (CHR): Likewise.
59842         (strrchr): Likewise.  Do not use BP_SYM.
59843         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59844         (PARMS): Do not use macros from bp-asm.h.
59845         (SKIP): Likewise.
59846         (strspn): Do not use BP_SYM.
59847         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59848         (PARMS): Do not use macros from bp-asm.h.
59849         (STR): Likewise.
59850         (DELIM): Likewise.
59851         (SAVE): Likewise.
59852         (FUNCTION): Likewise.  Do not use BP_SYM.
59853         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59854         aliases.
59855         (strtok_r): Likewise.
59856         (__GI___strtok_r): Likewise.
59857         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59858         (PARMS): Do not use macros from bp-asm.h.
59859         (S1): Likewise.
59860         (S2): Likewise.
59861         (SIZE): Likewise.
59862         (__mpn_sub_n): Do not use BP_SYM.
59863         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59864         "bp-asm.h".
59865         (PARMS): Do not use macros from bp-asm.h.
59866         (S1): Likewise.
59867         (SIZE): Likewise.
59868         (__mpn_submul_1): Do not use BP_SYM.
59869         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59870         <bp-sym.h>.
59871         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59872         and <bp-asm.h>.
59873         (PARMS): Do not use macros from bp-asm.h.
59874         (FLAGS): Likewise.
59875         (PTID): Likewise.
59876         (TLS): Likewise.
59877         (CTID): Likewise.
59878         (__clone): Do not use BP_SYM.
59879         (clone): Do not use BP_SYM in weak_alias.
59880         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59881         and <bp-asm.h>.
59882         (PARMS): Do not use macros from bp-asm.h.
59883         (LEN): Likewise.
59884         (__mmap64): Do not use BP_SYM.
59885         (mmap64): Do not use BP_SYM in weak_alias.
59886         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59887         <bp-sym.h> and <bp-asm.h>.
59888         (PARMS): Do not use macros from bp-asm.h.
59889         (__posix_fadvise64_l64): Do not use BP_SYM.
59890         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59891         (PARMS): Do not use macros from bp-asm.h.
59892         (NSOPS): Likewise.
59893         (semtimedop): Do not use BP_SYM.
59894         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59895         and <bp-asm.h>.
59897 2013-02-21  Allan McRae  <allan@archlinux.org>
59899         * manual/message.texi (Charset conversion in gettext):
59900         Move @end statement to beginning of line.
59902 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59905         static.
59906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59907         Likewise.
59909         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59910         (denorm): Likewise.
59911         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59914 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59916         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59917         tail-call to the resolved function if pltexit isn't needed.
59919 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59921         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59922         or Y being zero as being unlikely.
59923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59924         Likewise.
59926 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59928         * manual/nss.texi (System Databases and Name Service Switch):
59929         Remove frobnicate @pxref.
59931 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59933         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59934         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59936 2013-02-20  Petr Machata  <pmachata@redhat.com>
59938         * elf/elf.h (R_ARM_TARGET1): New macro.
59939         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59940         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59941         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59942         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59943         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59944         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59945         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59946         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59947         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59948         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59949         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59950         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59951         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59952         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59953         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59954         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59955         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59956         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59957         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59958         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59959         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59960         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59961         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59962         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59963         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59964         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59965         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59966         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59967         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59968         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59969         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59970         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59971         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59972         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59973         (R_ARM_THM_GOT_BREL12): Likewise.
59974         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59975         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59976         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59977         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59978         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59979         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59980         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59981         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59982         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59984 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59986         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59987         __attribute_used__ to __attribute__ ((unused)).
59989 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59991         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59992         powerpc mpa.c.
59993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59994         comment formatting.
59995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59997 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59999         [BZ #13550]
60000         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60001         Remove macro.
60002         (ENTER): Remove both macro definitions.
60003         (LEAVE): Likewise.
60004         (CHECK_BOUNDS_LOW): Likewise.
60005         (CHECK_BOUNDS_HIGH): Likewise.
60006         (CHECK_BOUNDS_BOTH): Likewise.
60007         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60008         (RETURN_BOUNDED_POINTER): Likewise.
60009         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60010         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60011         (POP_ERRNO_LOCATION_RETURN): Likewise.
60012         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60013         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60014         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60015         macros.
60016         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60017         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60018         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60019         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60020         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60021         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60022         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60023         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60024         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60025         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60026         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60027         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60028         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60029         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60030         removed macros.
60031         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60032         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60033         macros.
60034         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60035         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60036         * sysdeps/i386/i586/memset.S (memset): Likewise.
60037         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60038         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60039         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60040         macros.
60041         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60042         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60043         Change uses of L(2) to L(out).
60044         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60045         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60046         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60047         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60048         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60049         removed macros.
60050         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60051         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60052         macros.
60053         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60054         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60055         (RETURN): Do not use macro LEAVE.
60056         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60057         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60058         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60059         * sysdeps/i386/i686/memset.S (memset): Likewise.
60060         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60061         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60062         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60063         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60064         Likewise.
60065         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60066         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60067         L(1_2) and L(1_3) into L(1).
60068         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60069         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60070         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60071         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60072         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60073         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60074         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60075         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60076         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60077         macros.
60078         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60079         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60080         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60081         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60082         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60083         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60084         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60085         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60086         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60087         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60088         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60089         * sysdeps/i386/strspn.S (strspn): Likewise.
60090         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60091         conditional code.
60092         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60093         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60094         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60095         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60096         L(1_3) into L(1_1).
60097         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60098         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60099         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60100         macros.
60101         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60103 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60105         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60106         macro.
60108 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60110         * math/atest-exp.c (exp_mpn): Remove ROUND.
60111         * math/atest-exp2.c (exp_mpn): Likewise.
60112         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60114         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60115         * stdlib/tst-tls-atexit-lib.c: Likewise.
60116         * stdlib/tst-tls-atexit.c: Likewise.
60118 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60120         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60121         and __attribute_alloc_size__.
60123 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60125         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60126         __attribute_alloc_size__.
60127         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60128         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60130 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60132         * include/programs/xmalloc.h: New file.
60133         * catgets/gencat.c: Include it.
60134         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60135         * elf/pldd.c: Likewise.
60136         * iconv/iconv_charmap.c: Likewise.
60137         * iconv/iconvconfig.c: Likewise.
60138         * iconv/strtab.c: Likewise.
60139         * locale/programs/locale.c: Likewise.
60140         * locale/programs/localedef.h: Likewise.
60141         * locale/programs/simple-hash.c: Likewise.
60142         * nscd/nscd.h: Likewise.
60143         * nss/makedb.c: Likewise.
60144         * sysdeps/generic/ldconfig.h: Likewise.
60146 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60148         * Versions.def: Add GLIBC_2.18.
60149         * include/link.h (struct link_map): New member l_tls_dtor_count.
60150         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60151         (__call_tls_dtors): Likewise.
60152         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60153         __cxa_thread_atexit_impl.
60154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60155         Likewise.
60156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60157         Likewise.
60158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60159         Likewise.
60160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60161         Likewise.
60162         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60163         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60164         Likewise.
60165         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60166         Likewise.
60167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60169         Likewise.
60170         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60171         (tests): Add test case tst-tls-atexit.
60172         (modules-names): Add shared library for tst-tls-atexit.
60173         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60174         (GLIBC_PRIVATE): Add __call_tls_dtors.
60175         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60176         for libstdc++.
60177         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60178         * stdlib/tst-tls-atexit.c: New test case.
60179         * stdlib/tst-tls-atexit-lib.c: New test case.
60181         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60183         * elf/Versions (ld): Add _dl_find_dso_for_object.
60184         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60185         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60186         (dl_open_worker): Use _dl_find_dso_for_object.
60187         * elf/dl-sym.c (do_sym): Likewise.
60188         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60190 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60192         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60193         Syntactic changes only.
60194         (_dl_runtime_profile): Do a tail-call to the resolved function.
60196 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60198         [BZ #13550]
60199         * sysdeps/x86_64/bp-asm.h: Remove file.
60200         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60201         <bp-sym.h> and <bp-asm.h>.
60202         (__clone): Do not use BP_SYM.
60203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60204         <bp-sym.h> and <bp-asm.h>.
60205         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60206         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60207         "bp-asm.h".
60208         (_setjmp): Do not use BP_SYM.
60209         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60210         "bp-asm.h".
60211         (setjmp): Do not use BP_SYM.
60212         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60213         libc_hidden_def.
60214         (mempcpy): Do not use BP_SYM in weak_alias.
60215         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60216         "bp-asm.h".
60217         (strchr): Do not use BP_SYM.
60218         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60219         "bp-asm.h".
60220         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60221         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60222         (_start): Do not use BP_SYM.
60223         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60224         "bp-asm.h".
60225         (strcat): Do not use BP_SYM.
60226         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60227         "bp-asm.h".
60228         (STRCMP): Do not use BP_SYM.
60229         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60230         "bp-asm.h".
60231         (STRCPY): Do not use BP_SYM.
60232         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60233         "bp-asm.h".
60234         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60235         "bp-asm.h".
60236         (FUNCTION): Do not use BP_SYM.
60237         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60238         weak_alias.
60239         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60241 2013-02-17  Andreas Jaeger  <aj@suse.de>
60243         * time/Versions: Sort entries.
60244         * string/Versions: Likewise.
60245         * resolv/Versions: Likewise.
60246         * posix/Versions: Likewise.
60247         * iconv/Versions: Likewise.
60248         * elf/Versions: Likewise.
60249         * wcsmbs/Versions: Likewise.
60251 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60253         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60254         loop termination condition.
60256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60257         variable to calculate EZ.
60258         (__sqr): Likewise.
60260         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60261         the lower precision input.
60263 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60265         [BZ #13550]
60266         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60267         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60268         (run-via-rtld-prefix): Do not handle %-bp tests.
60269         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60270         (all-object-suffixes): Remove .ob.
60271         (bppfx): Remove variable.
60272         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60273         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60274         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60275         [$(build-bounded) = yes] (libtype.ob): Likewise.
60276         * Makerules (elide-routines.ob): Remove variable.
60277         (do-tests-clean): Do not handle *-bp.out.
60278         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60279         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60280         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60281         (tests): Do not include $(tests-bp.out).
60282         (xtests): Do not include $(xtests-bp.out).
60283         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60284         [$(build-bounded) = yes] ($(addprefix
60285         $(objpfx),$(binaries-bounded))): Remove rule.
60286         ($(objpfx)%-bp.out): Remove rule.
60287         * config.make.in (build-bounded): Remove variable.
60288         * crypt/Makefile [$(build-bounded) = yes]
60289         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60290         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60291         append to variable.
60292         [$(build-bounded) = yes] (install-lib): Likewise.
60293         [$(build-bounded) = yes] (generated): Likewise.
60294         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60295         Remove rule.
60296         * intl/Makefile [$(build-bounded) = yes]
60297         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60298         * math/Makefile [$(build-bounded) = yes]
60299         ($(tests:%=$(objpfx)%-bp): Likewise.
60300         * misc/Makefile [$(build-bounded) = yes]
60301         ($(objpfx)tst-tsearch-bp): Likewise.
60302         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60303         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60304         Remove dependency.
60305         * string/Makefile (o-objects.ob): Remove variable.
60306         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60307         (CFLAGS-.ob): Remove variable.
60308         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60309         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60310         both definitions of variable.
60311         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60312         (ASFLAGS-.ob): Remove variable.
60314 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60316         [BZ #13550]
60317         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60318         Remove __BOUNDED_POINTERS__ from condition.
60319         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60320         * string/bits/string2.h [!__NO_STRING_INLINES &&
60321         !__BOUNDED_POINTERS__]: Likewise.
60322         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60323         Likewise.
60324         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60325         Remove conditional code.
60326         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60327         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60328         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60329         condition.
60331         [BZ #13550]
60332         * csu/libc-start.c: Do not include <bp-sym.h>.
60333         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60334         * elf/dl-open.c: Do not include <bp-sym.h>.
60335         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60336         * math/fegetenv.c: Do not include <bp-sym.h>.
60337         (fegetenv): Do not use BP_SYM in versioned symbols.
60338         * nptl/sysdeps/pthread/bits/libc-lockP.h
60339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60340         <bp-sym.h>.
60341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60342         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60344         (__pthread_mutex_destroy): Likewise.
60345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60346         (__pthread_mutex_lock): Likewise.
60347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60348         (__pthread_mutex_trylock): Likewise.
60349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60350         (__pthread_mutex_unlock): Likewise.
60351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60352         (__pthread_mutexattr_init): Likewise.
60353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60354         (__pthread_mutexattr_destroy): Likewise.
60355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60356         (__pthread_mutexattr_settype): Likewise.
60357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60358         (__pthread_rwlock_init): Likewise.
60359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60360         (__pthread_rwlock_destroy): Likewise.
60361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60362         (__pthread_rwlock_rdlock): Likewise.
60363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60364         (__pthread_rwlock_tryrdlock): Likewise.
60365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60366         (__pthread_rwlock_wrlock): Likewise.
60367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60368         (__pthread_rwlock_trywrlock): Likewise.
60369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60370         (__pthread_rwlock_unlock): Likewise.
60371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60372         (__pthread_key_create): Likewise.
60373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60374         (__pthread_setspecific): Likewise.
60375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60376         (__pthread_getspecific): Likewise.
60377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60378         Likewise.
60379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60380         (_pthread_cleanup_push_defer): Likewise.
60381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60382         (_pthread_cleanup_pop_restore): Likewise.
60383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60384         (pthread_setcancelstate): Likewise.
60385         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60386         <bp-sym.h>.
60387         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60388         (memchr): Do not use BP_SYM in weak_alias.
60389         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60390         (fegetenv): Do not use BP_SYM in versioned symbols.
60391         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60392         (fesetenv): Do not use BP_SYM in versioned symbols.
60393         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60394         (feupdateenv): Do not use BP_SYM in versioned symbols.
60395         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60396         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60397         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60398         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60399         (open64): Do not use BP_SYM in weak_alias.
60400         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60401         (fegetenv): Do not use BP_SYM in versioned symbols.
60402         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60403         (fesetenv): Do not use BP_SYM in versioned symbols.
60404         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60405         (feupdateenv): Do not use BP_SYM in versioned symbols.
60406         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60407         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60408         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60409         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60410         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60411         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60412         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60413         <bp-sym.h>.
60414         (__libc_start_main): Do not use BP_SYM.
60416 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60418         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60419         redundant return line.
60420         (norm): Likewise.
60421         (denorm): Likewise.
60422         (dbl_mp): Likewise.
60423         (sub_magnitudes): Likewise.
60424         (__add): Likewise.
60425         (__sub): Likewise.
60426         (__mul): Likewise.
60427         (__inv): Likewise.
60428         (__dvd): Likewise.
60429         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60430         (norm): Likewise.
60431         (denorm): Likewise.
60432         (dbl_mp): Likewise.
60433         (sub_magnitudes): Likewise.
60434         (__add): Likewise.
60435         (__sub): Likewise.
60436         (__mul): Likewise.
60437         (__inv): Likewise.
60438         (__dvd): Likewise.
60440         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60441         instead of __mul.
60442         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60443         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60444         (cc32): Likewise.
60446         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60447         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60449         of __mul for squares.
60450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60451         function
60452         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60453         Likewise.
60454         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60455         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60457 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60459         [BZ #13550]
60460         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60461         code.
60462         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60463         prototype or function definition.  Rename ubp_* variables and
60464         parameters.  Remove argv definitions conditional on
60465         [__BOUNDED_POINTERS__].
60466         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60467         * elf/dl-runtime.c (_dl_fixup): Likewise.
60468         * include/set-hooks.h (RUN_HOOK): Likewise.
60469         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60470         definition.
60471         * string/strcpy.c (strcpy): Do not use __unbounded.
60472         * sysdeps/generic/frame.h (struct layout): Likewise.
60473         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60474         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60475         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60476         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60477         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60478         (__backtrace): Likewise.
60479         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60480         use __ptrvalue.
60481         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60482         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60483         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60484         Likewise.
60485         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60486         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60487         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60488         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60489         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60490         Do not use __unbounded.
60491         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60492         Rename __unboundedrlimits parameter to rlimits in prototype.
60493         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60494         Do not use __unbounded.
60495         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60496         not use __ptrvalue.
60497         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60498         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60499         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60500         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60501         __ptrvalue or __unbounded.
60502         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60503         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60504         use __unbounded.
60505         (__new_msgctl): Do not use __ptrvalue.
60506         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60507         __unbounded.
60508         (__libc_msgrcv): Do not use __ptrvalue.
60509         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60510         startup_info): Do not use __unbounded.
60511         (__libc_start_main): Likewise.  Rename ubp_* variables and
60512         parameters.  Remove argv definitions conditional on
60513         [__BOUNDED_POINTERS__].
60514         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60515         __ptrvalue.
60516         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60517         use __unbounded.
60518         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60519         or __ptrvalue.
60520         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60521         use __unbounded.
60522         (__new_shmctl): Do not use __ptrvalue.
60523         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60524         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60525         Likewise.
60526         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60527         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60528         (__libc_sigaction): Likewise.
60529         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60530         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60531         Likewise.
60532         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60534 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60536         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60538         * string/mempcpy.c: Implement by calling memcpy.
60540 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60545         evaluation.
60547         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60548         values in the mantissa.
60550         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60551         minimize writes to Z.
60552         (sub_magnitudes): Simplify code a bit.
60554 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60556         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60557         from the message.  The linker prefixes all warnings with that already.
60559 2013-02-12  Andreas Schwab  <schwab@suse.de>
60561         [BZ #15078]
60562         * posix/regexec.c (extend_buffers): Add parameter min_len.
60563         (check_matching): Pass minimum needed length.
60564         (clean_state_log_if_needed): Likewise.
60565         (get_subexp): Likewise.
60566         * posix/Makefile (tests): Add bug-regex34.
60567         (bug-regex34-ENV): Define.
60568         * posix/bug-regex34.c: New file.
60570         [BZ #11561]
60571         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60572         elements compare against the byte sequence of it, not its name.
60573         * posix/Makefile (tests): Add bug-regex35.
60574         (bug-regex35-ENV): Define.
60575         * posix/bug-regex35.c: New file.
60577 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60579         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60580         comment.
60581         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60582         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60583         (CHECK_EOL): Add undef.
60585 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60587         * bits/stdlib-bsearch.h: New file.
60588         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60589         * stdlib/stdlib.h: Likewise.
60591 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60593         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60594         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60595         declaration.
60596         * manual/search.texi (Array Search Function): Add missing const in
60597         lfind prototype.
60598         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60599         declaration to use rlim_t.
60600         (Basic Scheduling Functions): Remove erroneous const from
60601         sched_getparam prototype.  Remove erroneous * from
60602         sched_get_priority_max and sched_get_priority_min prototypes.
60603         (Resource Usage): Fix summary @comment on vtimes to refer to
60604         sys/vtimes.h rather than vtimes.h.
60605         Add missing *s in vtimes prototype.
60606         (Limits on Resources): Fix ulimit prototype to return long int.
60607         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60608         prototypes to use long int rather than double.
60609         (BSD Random): Fix initstate and setstate to use char *, not void *.
60610         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60611         prototype to make second argument 'struct aiocb64 *const[]'.
60612         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60613         (Status of AIO Operations): Remove erroneous const in aio_return and
60614         aio_return64 prototypes.
60615         (Synchronizing I/O): Fix sync prototype to return void.
60616         * manual/startup.texi (Suboptions): Remove an erroneous const in
60617         getsubopt prototype.
60618         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60619         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60620         use size_t rather than int.
60621         (Scanning All Users): Likewise for getpwent_r.
60622         (Setting Groups): Add missing const to setgroups prototype.
60623         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60624         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60625         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60626         'const void *' rather than 'const char *'.
60627         (Host Address Functions): Likewise for inet_ntop.
60628         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60629         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60630         ssize_t for return value.
60631         (Sending Data): Likewise for send, sendto, sendmsg.
60632         (Socket Option Functions): Add a missing const in setsockopt prototype.
60633         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60634         use wchar_t for the argument.
60635         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60636         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60637         take no arguments.
60638         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60639         double/float/long double for second argument.
60640         Fix return types of significand, significandf, significandl.
60641         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60642         argument in fchmod prototype.
60643         (File Owner): Use uid_t and gid_t in fchown prototype.
60644         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60645         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60646         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60647         use 'const struct dirent **' as argument types to CMP function pointer
60648         argument.
60649         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60650         (File Times): Fix summary magic @comment for struct utimbuf and utime
60651         to refer to utime.h, not time.h.
60652         * manual/string.texi (Argz Functions): Add missing const in
60653         argz_extract and argz_next prototypes.
60654         (Finding Tokens in a String): Likewise for basename.
60655         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60656         (Copying and Concatenation): Fix typo in wmemmove prototype.
60657         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60658         (Signal Stack): Remove erroneous const in sigstack prototype.
60659         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60660         prototype.
60661         (Simple Calendar Time): Likewise for stime.
60662         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60663         prototype.
60664         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60665         say sys/sysctl.h instead.
60666         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60667         and vsyslog prototypes.
60669 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60671         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60672         Remove.
60674 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60676         * misc/sys/mman.h: Fix typo in mremap comment.
60678 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60680         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60681         the '\0' terminator.
60683 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60685         [BZ #13550]
60686         * debug/segfault.c: Don't include <bp-checks.h>.
60687         * sysdeps/generic/bp-checks.h: Remove file.
60688         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60689         (__GETDENTS): Don't use CHECK_N.
60690         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60691         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60692         (__getgroups): Don't use CHECK_N.
60693         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60694         (setgroups): Don't use CHECK_N.
60695         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60696         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60697         (__libc_msgrcv): Don't use CHECK_N.
60698         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60699         (__libc_msgsnd): Don't use CHECK_N.
60700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60701         <bp-checks.h>.
60702         (__libc_pread): Don't use CHECK_N.
60703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60704         include <bp-checks.h>.
60705         (__libc_pread64): Don't use CHECK_N.
60706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60707         include <bp-checks.h>.
60708         (__libc_pwrite): Don't use CHECK_N.
60709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60710         include <bp-checks.h>.
60711         (__libc_pwrite64): Don't use CHECK_N.
60712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60713         <bp-checks.h>.
60714         (__libc_pread): Don't use CHECK_N.
60715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60716         include <bp-checks.h>.
60717         (__libc_pread64): Don't use CHECK_N.
60718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60719         include <bp-checks.h>.
60720         (__libc_pwrite): Don't use CHECK_N.
60721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60722         include <bp-checks.h>.
60723         (__libc_pwrite64): Don't use CHECK_N.
60724         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60725         (do_pread): Don't use CHECK_N.
60726         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60727         (do_pread64): Don't use CHECK_N.
60728         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60729         (do_pwrite): Don't use CHECK_N.
60730         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60731         (do_pwrite64): Don't use CHECK_N.
60732         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60733         (__libc_readv): Don't use CHECK_N.
60734         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60735         (semop): Don't use CHECK_N.
60736         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60737         <bp-checks.h>.
60738         (semtimedop): Don't use CHECK_N.
60739         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60740         (__libc_pread): Don't use CHECK_N.
60741         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60742         <bp-checks.h>.
60743         (__libc_pread64): Don't use CHECK_N.
60744         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60745         <bp-checks.h>.
60746         (__libc_pwrite): Don't use CHECK_N.
60747         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60748         <bp-checks.h>.
60749         (__libc_pwrite64): Don't use CHECK_N.
60750         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60751         <bp-checks.h>.
60752         (__libc_msgrcv): Don't use CHECK_N.
60753         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60754         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60755         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60756         (__libc_writev): Don't use CHECK_N.
60758 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60760         * string/strcpy.c: Removed unused variable.
60762         * Makeconfig (+sysdep-includes): Define with := rather than =.
60763         Use an existing include/ subdir of each sysdeps dir before it.
60765 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60767         * nscd/connection.c (register_traced_file): Comment function.
60768         [HAVE_INOTIFY] (union __inev): Define.
60769         [HAVE_INOTIFY] (inotify_check_files): New function.
60770         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60771         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60772         clear_db_cache.
60773         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60775 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60777         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60778         loaded if not already and that a failure is permanent.
60780 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60782         [BZ #15006]
60783         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60784         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60786 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60788         [BZ #13550]
60789         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60790         (CHECK_1_NULL_OK): Likewise.
60791         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60792         (__fxstat): Do not use CHECK_1.
60793         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60794         <bp-checks.h>.
60795         (___fxstat64): Do not use CHECK_1.
60796         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60797         <bp-checks.h>.
60798         (__fxstatat): Do not use CHECK_1.
60799         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60800         <bp-checks.h>.
60801         (__fxstatat64): Do not use CHECK_1.
60802         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60803         <bp-checks.h>.
60804         (__fxstat): Do not use CHECK_1.
60805         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60806         <bp-checks.h>.
60807         (__fxstatat): Do not use CHECK_1.
60808         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60809         <bp-checks.h>.
60810         (__getresgid): Do not use CHECK_1.
60811         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60812         <bp-checks.h>.
60813         (__getresuid): Do not use CHECK_1.
60814         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60815         <bp-checks.h>.
60816         (__lxstat): Do not use CHECK_1.
60817         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60818         <bp-checks.h>.
60819         (__old_msgctl): Do not use CHECK_1.
60820         (__new_msgctl): Likewise.
60821         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60822         <bp-checks.h>.
60823         (__new_setrlimit): Do not use CHECK_1.
60824         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60825         <bp-checks.h>.
60826         (__old_shmctl): Do not use CHECK_1.
60827         (__new_shmctl): Likewise.
60828         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60829         <bp-checks.h>.
60830         (__xstat): Do not use CHECK_1.
60831         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60832         (__lxstat): Do not use CHECK_1.
60833         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60834         <bp-checks.h>.
60835         (___lxstat64): Do not use CHECK_1.
60836         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60837         (__old_msgctl): Do not use CHECK_1.
60838         (__new_msgctl): Likewise.
60839         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60840         <bp-checks.h>.
60841         (__gettimeofday): Do not use CHECK_1.
60842         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60843         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60844         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60845         <bp-checks.h>.
60846         (__gettimeofday): Do not use CHECK_1.
60847         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60848         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60849         (__new_shmctl): Do not use CHECK_1.
60850         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60851         <bp-checks.h>.
60852         (do_sigtimedwait): Do not use CHECK_1.
60853         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60854         <bp-checks.h>.
60855         (do_sigwaitinfo): Do not use CHECK_1.
60856         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60857         <bp-checks.h>.
60858         (msgctl): Do not use CHECK_1.
60859         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60860         <bp-checks.h>.
60861         (shmctl): Do not use CHECK_1.
60862         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60863         (ustat): Do not use CHECK_1.
60864         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60865         <bp-checks.h>.
60866         (__fxstat): Do not use CHECK_1.
60867         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60868         <bp-checks.h>.
60869         (__fxstatat): Do not use CHECK_1.
60870         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60871         <bp-checks.h>.
60872         (__lxstat): Do not use CHECK_1.
60873         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60874         <bp-checks.h>.
60875         (__xstat): Do not use CHECK_1.
60876         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60877         (__xstat): Do not use CHECK_1.
60878         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60879         (___xstat64): Do not use CHECK_1.
60881         [BZ #13550]
60882         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60883         definitions.
60884         (CHECK_BOUNDS_HIGH): Likewise.
60885         * string/strcpy.c: Do not include <bp-checks.h>.
60886         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60888 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60890         * nscd/nscd-client.h (__nscd_drop_map_ref):
60891         Add __attribute__ ((unused)).
60892         * nis/nss-nisplus.h (niserr2nss): Likewise.
60894         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60895         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60897         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60898         Remove inline keyword.
60899         * include/rounding-mode.h (round_away): Likewise.
60900         * libio/wfileops.c (adjust_wide_data): Likewise.
60901         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60902         (__m128i_strloadu_tolower): Likewise.
60903         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60904         (__m128i_strloadu_tolower): Likewise.
60905         * time/mktime.c (ydhms_diff): Likewise.
60906         * locale/elem-hash.h (elem_hash): Likewise.
60907         * locale/setlocale.c (setdata): Likewise.
60908         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60909         (re_string_wchar_at): Likewise.
60910         (bitset_not, bitset_merge, bitset_mask): Likewise.
60911         [!(__GNUC__ > 3)] (inline): Remove macro.
60912         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60913         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60914         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60915         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60916         * string/memcmp.c (memcmp_bytes): Likewise.
60917         * locale/programs/locarchive.c (compute_hashval): Likewise.
60918         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60919         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60920         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60921         * nss/getent.c (print_rpc, print_protocols): Likewise.
60922         (print_passwd, print_group, print_aliases): Likewise.
60923         * nis/nss-nisplus.h (niserr2nss): Likewise.
60924         * nscd/connections.c (restart_p): Likewise.
60925         Change return type to bool.
60927 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60929         * Makeconfig (all-Depend-files): Add existing
60930         $(sorted-subdirs:=/Depend) files.
60931         (all-subdirs): Remove nss.
60932         * sysdeps/unix/inet/Subdirs: Add it here instead.
60933         * hesiod/Depend: New file.
60935         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60936         instead of calling alloca.
60938         * io/lseek.c (__lseek): Rename to __libc_lseek.
60939         Define __lseek as an alias.
60941         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60943 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60945         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60946         else clause and remove check for non-standard endianness.
60948 2013-02-04  David S. Miller  <davem@davemloft.net>
60950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60952 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60954         [BZ #13550]
60955         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60956         (__ubp_memchr): Remove prototype.
60957         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60958         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60959         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60960         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60961         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60962         Remove alias.
60963         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60964         (__ubp_memchr): Likewise.
60965         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60966         (__ubp_memchr): Likewise.
60967         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60968         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60969         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60970         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60971         CHECK_STRING.
60972         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60973         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60974         (__getcwd): Do not use CHECK_STRING.
60975         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60976         <bp-checks.h>.
60977         (__real_chown): Do not use CHECK_STRING.
60978         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60979         <bp-checks.h>.
60980         (fchownat): Do not use CHECK_STRING.
60981         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60982         CHECK_STRING.
60983         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60984         <bp-checks.h>.
60985         (__lchown): Do not use CHECK_STRING.
60986         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60987         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60988         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60989         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60991         include <bp-checks.h>.
60992         (truncate64): Do not use CHECK_STRING.
60993         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60994         <bp-checks.h>.
60995         (__real_chown): Do not use CHECK_STRING.
60996         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60997         <bp-checks.h>.
60998         (__lchown): Do not use CHECK_STRING.
60999         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61000         <bp-checks.h>.
61001         (__chown): Do not use CHECK_STRING.
61002         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61003         <bp-checks.h>.
61004         (truncate64): Do not use CHECK_STRING.
61005         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61006         Likewise.
61007         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61008         (__xmknod): Do not use CHECK_STRING.
61009         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61010         <bp-checks.h>.
61011         (__xmknodat): Do not use CHECK_STRING.
61012         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61013         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61015 2013-02-04  Andreas Schwab  <schwab@suse.de>
61017         [BZ #14142]
61018         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61019         * include/netdb.h: Likewise for h_errno.
61020         * elf/tst-stackguard1.c: Include <tls.h>.
61022 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61024         * elf/link.h (struct link_map): Extend the l_addr comment.
61025         * include/link.h (struct link_map): Likewise.
61027 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61029         [BZ #13550]
61030         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61031         (BOUNDED_1): Remove macro.
61032         * debug/backtrace.c: Don't include <bp-checks.h>.
61033         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61034         (__backtrace): Likewise.
61035         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61036         <bp-checks.h>.
61037         (__backtrace): Don't use BOUNDED_1.
61038         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61039         <bp-checks.h>.
61040         (__backtrace): Don't use BOUNDED_1.
61041         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61042         (__backtrace): Don't use BOUNDED_1.
61043         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61044         (shmat): Don't use BOUNDED_N.
61046 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61048         [BZ #13550]
61049         * sysdeps/generic/bp-start.h: Remove file.
61050         * csu/libc-start.c: Don't include <bp-start.h>.
61051         (LIBC_START_MAIN): Set up __environ directly instead of using
61052         INIT_ARGV_and_ENVIRON.
61053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61054         <bp-start.h>.
61056         [BZ #13550]
61057         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61058         definitions.
61059         (CHECK_FCNTL): Likewise.
61060         (CHECK_N_PAGES): Likewise.
61062         [BZ #13550]
61063         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61064         definitions.
61065         (CHECK_SIGSET_NULL_OK): Likewise.
61066         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61067         <bp-checks.h>.
61068         (sigpending): Don't use CHECK_SIGSET.
61069         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61070         <bp-checks.h>.
61071         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61072         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61073         <bp-checks.h>.
61074         (do_sigsuspend): Don't use CHECK_SIGSET.
61075         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61076         use CHECK_SIGSET.
61077         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61078         (do_sigwait): Don't use CHECK_SIGSET.
61079         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61080         use CHECK_SIGSET.
61081         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61082         include <bp-checks.h>.
61083         (sigpending): Don't use CHECK_SIGSET.
61084         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61085         include <bp-checks.h>.
61086         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61087         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61088         <bp-checks.h>.
61089         (sigpending): Don't use CHECK_SIGSET.
61090         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61091         <bp-checks.h>.
61092         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61094         [BZ #13550]
61095         * sysdeps/generic/bp-semctl.h: Remove file.
61096         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61097         <bp-checks.h> and <bp-semctl.h>.
61098         (__old_semctl): Don't use CHECK_SEMCTL.
61099         (__new_semctl): Likewise.
61100         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61101         and <bp-semctl.h>.
61102         (__old_semctl): Don't use CHECK_SEMCTL.
61103         (__new_semctl): Likewise.
61104         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61105         <bp-checks.h> and <bp-semctl.h>.
61106         (__old_semctl): Don't use CHECK_SEMCTL.
61107         (__new_semctl): Likewise.
61108         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61109         <bp-checks.h> and <bp-semctl.h>.
61110         (semctl): Don't use CHECK_SEMCTL.
61112         [BZ #13550]
61113         * Makerules (elide-bp-thunks): Remove variable.
61114         (elide-routines.oS): Don't use $(elide-bp-thunks).
61115         (elide-routines.os): Likewise.
61116         (elide-routines.o): Likewise.
61117         (elide-routines.op): Likewise.
61118         (elide-routines.og): Likewise.
61119         (objects): Don't use $(bp-thunks).
61120         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61121         include.
61122         (common-generated): Do not add s-proto-bp.d.
61123         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61124         (int): Likewise.
61125         (typ): Likewise.
61126         Do not generate makefile rules for bounded-pointer thunks.
61127         * sysdeps/generic/bp-thunks.h: Remove file.
61128         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61129         * sysdeps/unix/s-proto-bp.S: Likewise.
61131         [BZ #15062]
61132         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61133         parts of result separately when argument is not close to line from
61134         -i to i and one part of argument is small.
61135         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61136         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61137         * math/libm-test.inc (cacos_test): Add more tests.
61138         (casin_test): Likewise.
61139         (casinh_test): Likewise.
61140         * sysdeps/i386/fpu/libm-test-ulps: Update.
61141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61143 2013-01-31  David S. Miller  <davem@davemloft.net>
61145         * po/de.po: Update from translation team.
61147 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61149         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61151 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61153         * configure.in (_AC_PROG_CC_C89): New definition.
61154         * configure: Regenerate.
61156         * configure.in (AC_PROG_CPP): New definition.
61157         * configure: Regenerate.
61159 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61161         * debug/tst-backtrace.h: New file.
61162         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61163         (ret): Remove variable.
61164         (x): Likewise.
61165         (FAIL): Remove macro.
61166         (NO_INLINE): Likewise.
61167         (fn1): Use match function instead of strstr.
61168         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61169         (ret): Remove variable.
61170         (x): Likewise.
61171         (FAIL): Remove macro.
61172         (NO_INLINE): Likewise.
61173         (fn): Use match function instead of strstr.
61174         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61175         (ret): Remove variable.
61176         (x): Likewise.
61177         (FAIL): Remove macro.
61178         (NO_INLINE): Likewise.
61179         (handle_signal): Use match function instead of strstr.
61180         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61181         (ret): Remove variable.
61182         (x): Likewise.
61183         (FAIL): Remove macro.
61184         (NO_INLINE): Likewise.
61185         (handle_signal): Use match function instead of strstr.
61187 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61189         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61191 2013-01-23  David S. Miller  <davem@davemloft.net>
61193         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61194         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61195         argument of CAS if possible.
61196         * sysdeps/sparc/sparc64/bits/atomic.h
61197         (__arch_compare_and_exchange_val_32_acq): Likewise.
61198         (__arch_compare_and_exchange_val_64_acq): Likewise.
61200 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61202         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61203         * sysdeps/posix/ulimit.c: ... this.
61204         Include <limits.h>.
61205         * sysdeps/unix/bsd/ulimit.c: Remove file.
61207 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61209         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61210         (LDFLAGS-tst-array5): Likewise.
61212 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61214         [BZ #15036]
61215         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61216         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61217         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61218         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61220 2013-01-21  David S. Miller  <davem@davemloft.net>
61222         * sysdeps/sparc/backtrace.c: New file.
61223         * sysdeps/sparc/sparc32/backtrace.h: New file.
61224         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61225         * sysdeps/sparc/sparc64/backtrace.h: New file.
61226         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61227         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61228         -funwind-tables.
61230 2013-01-21  Andreas Schwab  <schwab@suse.de>
61232         [BZ #15020]
61233         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61234         closed its stdout.
61236 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61239         "mpa2.h".
61240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61242 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61243             Mark Mitchell  <mark@codesourcery.com>
61244             Tom de Vries  <tom@codesourcery.com>
61245             Paul Pluzhnikov  <ppluzhnikov@google.com>
61247         * debug/tst-backtrace2.c: New file.
61248         * debug/tst-backtrace3.c: Likewise.
61249         * debug/tst-backtrace4.c: Likewise.
61250         * debug/tst-backtrace5.c: Likewise.
61251         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61252         (CFLAGS-tst-backtrace3.c): Likewise.
61253         (CFLAGS-tst-backtrace4.c): Likewise.
61254         (CFLAGS-tst-backtrace5.c): Likewise.
61255         (LDFLAGS-tst-backtrace2): Likewise.
61256         (LDFLAGS-tst-backtrace3): Likewise.
61257         (LDFLAGS-tst-backtrace4): Likewise.
61258         (LDFLAGS-tst-backtrace5): Likewise.
61259         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61260         tst-backtrace4 and tst-backtrace5.
61262 2013-01-18  Anton Blanchard  <anton@samba.org>
61263             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61265         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61266         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61267         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61268         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61270         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61271         "+r" and remove output regs list as redundant.  Add explicit inline
61272         asm to specify register of return val to work around compiler codegen
61273         bug.  Remove (int) cast on return value.  Add return type parameter to
61274         use in macro so that this macro does not truncate return value for
61275         64-bit values.
61276         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61277         pass to INTERNAL_VSYSCALL_NCS.
61278         (INLINE_VSYSCALL): Add 'long int' as return type to
61279         INTERNAL_VSYSCALL_NCS macro invocation.
61280         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61281         INTERNAL_VSYSCALL_NCS macro invocation.
61282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61284 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61286         [BZ #14496]
61287         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61288         Fix application of SIMD FP exception mask.
61290         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61291         mp_no from a power of two.
61292         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61293         __mpexp_twomm1.  Use __pow_mp.
61295         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61296         multiplication.
61298 2013-01-17  David S. Miller  <davem@davemloft.net>
61300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61302 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61304         [BZ #15023]
61305         * include/complex.h: Condition contents on [!_COMPLEX_H].
61306         (__kernel_casinhf): New prototype.
61307         (__kernel_casinh): Likewise.
61308         (__kernel_casinhl): Likewise.
61309         * math/Makefile (libm_calls): Add k_casinh.
61310         * math/k_casinh.c: New file.
61311         * math/k_casinhf.c: Likewise.
61312         * math/k_casinhl.c: Likewise.
61313         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61314         finite nonzero arguments.
61315         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61316         finite nonzero arguments.
61317         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61318         finite nonzero arguments.
61319         * math/s_casinh.c: Do not include <float.h>.
61320         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61321         * math/s_casinhf.c: Do not include <float.h>.
61322         (__casinhf): Move code for finite nonzero arguments to
61323         k_casinhf.c.
61324         * math/s_casinhl.c: Do not include <float.h>.
61325         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61326         redefine.
61327         (__casinhl): Move code for finite nonzero arguments to
61328         k_casinhl.c.
61329         * math/libm-test.inc (cacos_test): Add more tests.
61330         * sysdeps/i386/fpu/libm-test-ulps: Update.
61331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61333 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61335         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61336         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61337         [!HAVE_MREMAP]: Remove [defined linux] case.
61338         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61340 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61342         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61344 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61346         * elf/elf.h (R_386_SIZE32): New relocation.
61347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61348         R_386_SIZE32.
61349         (elf_machine_rela): Likewise.
61350         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61351         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61353 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61355         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61356         (FP_FAST_FMA): Do not define.
61357         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61358         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61359         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61360         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61361         !_SOFT_FLOAT]: Likewise.
61362         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61364         value.
61365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61366         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61368         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61369         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61370         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61371         file.
61373 2013-01-16  Andreas Schwab  <schwab@suse.de>
61375         [BZ #14327]
61376         * include/stdlib.h (__mktemp): Add declaration.
61377         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61378         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61380 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61382         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61383         definitions.
61384         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61385         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61386         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61387         definitions here.
61388         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61389         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61390         definitions.
61391         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61392         and ONE.
61393         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61394         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61395         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61396         definitions.
61397         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61398         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61399         definitions.
61400         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61402         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61404 2013-01-15  David S. Miller  <davem@davemloft.net>
61406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61407         trunc{,f} to libm-sysdep_routes.
61408         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61410         file.
61411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61413         file.
61414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61415         file.
61416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61418         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61421         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61422         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61423         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61426         nearbyint{,f} to libm-sysdep_routes.
61427         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61429         New file.
61430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61431         file.
61432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61433         New file.
61434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61435         file.
61436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61439         file.
61440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61441         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61442         file.
61443         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61444         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61445         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61447         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61448         libc_feholdexcept and libc_fesetenv.
61450 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61452         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61454 2013-01-14  David S. Miller  <davem@davemloft.net>
61456         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61457         (SPARC_ASM_VIS2_IFUNC): Likewise.
61458         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61460         use of 'siam' instruction.
61461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61462         Likewise.
61463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61464         Likewise.
61465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61466         Likewise.
61467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61472         file.
61473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61474         file.
61475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61476         file.
61477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61478         file.
61479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61484         new VIS2 routines.
61485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61488         Likewise.
61489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61494         routines to libm-sysdep_routines.
61495         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61498         fdim/fdimf to libm-sysdep_routines.
61499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61500         file.
61501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61503         file.
61504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61507         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61508         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61509         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61510         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61512 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61515         to optimize copies.
61517         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61518         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61521         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61522         local variable MPTWO.
61523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61524         Likewise.
61526 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61528         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61529         GLOB_NOESCAPE.
61531 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61533         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61535 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61537         * manual/pattern.texi (glob_t): Document gl_flags.
61538         (glob64_t): Likewise.
61540 2013-01-11  David S. Miller  <davem@davemloft.net>
61542         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61543         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61544         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61545         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61546         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61547         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61548         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61549         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61550         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61551         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61552         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61553         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61554         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61556         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61557         sparc V9 rather than using V8 code.
61558         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61559         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61561         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61562         Move to...
61563         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61564         Here.
61566 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61568         [BZ #14941]
61569         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61570         not in the main loop.
61571         * configure: Regenerated.
61573 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61575         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61576         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61577         to just #else.
61578         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61579         [!__GLIBC_HAVE_LONG_LONG] case.
61580         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61581         condition to just #else.
61582         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61583         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61584         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61585         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61586         unconditional.
61587         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61588         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61589         #elif condition to just #else.
61590         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61591         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61592         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61593         #elif condition to just #else.
61595 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61597         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61598         (EF_MIPS_ARCH_64): Fix value.
61599         (EF_MIPS_ARCH_32R2): New.
61600         (EF_MIPS_ARCH_64R2): New.
61602 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61604         * Makeconfig (+link-pie-before-libc): New.
61605         (+link-pie-after-libc): Likewise.
61606         (+link-pie-tests): Likewise.
61607         (+link-pie): Rewritten.
61608         (link-before-libc): Remove $(config-LDFLAGS).
61609         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61610         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61611         (config-LDFLAGS): Renamed to ...
61612         (rtld-LDFLAGS): This.
61613         (rtld-tests-LDFLAGS): New macro.
61614         (link-libc-rpath-link): Likewise.
61615         (link-libc-tests-rpath-link): Likewise.
61616         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61617         (link-libc): Prepand $(link-libc-rpath-link).
61618         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61619         (test-program-prefix): New macro.
61620         (test-via-rtld-prefix): Likewise.
61621         (test-program-cmd): Likewise.
61622         (host-test-program-cmd): Likewise.
61623         * Makefile ($(common-objpfx)testrun.sh): Replace
61624         $(run-program-prefix) with $(test-program-prefix).
61625         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61626         $(rtld-LDFLAGS).
61627         ($(common-objpfx)shlib.lds): Likewise.
61628         (build-module-helper): Likewise.
61629         ($(common-objpfx)format.lds): Likewise.
61630         * Rules (binaries-pie-tests): New.
61631         (binaries-pie-notests): Likewise.
61632         (binaries-pie): Rewritten.
61633         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61634         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61635         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61636         (make-test-out): Replace $(host-built-program-cmd) with
61637         $(host-test-program-cmd).
61638         * config.make.in (build-hardcoded-path-in-tests): New variable.
61639         * configure.in (--enable-hardcoded-path-in-tests): New configure
61640         option.
61641         (hardcoded_path_in_tests): New AC_SUBST.
61642         * configure: Regenerated.
61643         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61644         $(built-program-cmd) with $(test-program-cmd).
61645         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61646         (test_program_cmd): This.
61647         * elf/Makefile ($(objpfx)order.out): Run test with
61648         $(test-program-prefix).
61649         ($(objpfx)order2.out): Likewise.
61650         ($(objpfx)tst-initorder.out): Likewise.
61651         ($(objpfx)tst-initorder2.out): Likewise.
61652         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61653         $(test-program-cmd).
61654         ($(objpfx)tst-array1-static.out): Likewise.
61655         ($(objpfx)tst-array2.out): Likewise.
61656         ($(objpfx)tst-array3.out): Likewise.
61657         ($(objpfx)tst-array4.out): Likewise.
61658         ($(objpfx)tst-array5.out): Likewise.
61659         ($(objpfx)tst-array5-static.out): Likewise.
61660         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61661         $(test-program-cmd).
61662         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61663         $(run-program-prefix) with $(test-program-prefix).
61664         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61665         (test_program_prefix): This.
61666         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61667         $(run-program-prefix) with $(test-program-prefix).
61668         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61669         (test_program_prefix): This.
61670         * iconvdata/tst-tables.sh: Likewise.
61671         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61672         $(run-program-prefix) with $(test-program-prefix).
61673         ($(objpfx)tst-translit.out): Likewise.
61674         ($(objpfx)tst-gettext2.out): Likewise.
61675         ($(objpfx)tst-gettext4.out): Likewise.
61676         ($(objpfx)tst-gettext6.out): Likewise.
61677         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61678         (test_program_prefix): This.
61679         * intl/tst-gettext2.sh: Likewise.
61680         * intl/tst-gettext4.sh  Likewise.
61681         * intl/tst-gettext6.sh: Likewise.
61682         * intl/tst-translit.sh: Likewise.
61683         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61684         with $(test-program-cmd).
61685         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61686         $(run-program-prefix) with $(test-program-prefix).
61687         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61688         (test_program_prefix): This.
61689         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61690         $(run-program-prefix) with $(test-program-prefix).
61691         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61692         (test_program_prefix): This.
61693         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61694         * posix/Makefile ($(objpfx)globtest.out): Replace
61695         $(run-via-rtld-prefix) and $(test-wrapper) with
61696         $(test-program-prefix) and $(test-via-rtld-prefix).
61697         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61698         $(test-program-prefix).
61699         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61700         $(host-test-program-cmd).
61701         (tst-spawn-ARGS): Likewise.
61702         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61703         $(test-program-prefix).
61704         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61705         (test_via_rtld_prefix): This.
61706         (test_wrapper): Renamed to ...
61707         (test_program_prefix): This.
61708         (run_program_prefix): Replaced by test_program_prefix.
61709         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61710         (test_program_prefix): This.
61711         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61712         with $(host-test-program-cmd).
61713         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61714         $(run-program-prefix) with $(test-program-prefix).
61715         ($(objpfx)tst-printf.out): Likewise.
61716         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61717         $(test-program-cmd).
61718         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61719         (test_program_prefix): This.
61720         * stdio-common/tst-unbputc.sh: Likewise.
61721         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61722         $(run-program-prefix) with $(test-program-prefix).
61723         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61724         (test_program_prefix): This.
61725         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61726         $(built-program-cmd) with $(test-program-cmd).
61728 2013-01-11  Andreas Jaeger  <aj@suse.de>
61730         [BZ #15003]
61731         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61732         value. Sync with Linux 3.7.
61734 2013-01-10  David S. Miller  <davem@davemloft.net>
61736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61737         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61738         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61740 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61742         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61743         never set.
61744         * configure: Regenerated.
61746 2013-01-10  David S. Miller  <davem@davemloft.net>
61748         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61749         sparc V9 rather than using V8 code.
61750         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61751         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61753 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61755         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61756         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61757         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61758         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61759         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61760         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61761         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61762         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61763         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61764         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61765         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61766         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61767         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61768         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61769         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61770         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61771         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61772         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61773         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61774         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61775         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61776         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61777         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61778         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61779         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61780         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61781         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61783 2013-01-10  David S. Miller  <davem@davemloft.net>
61785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61787 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61789         * posix/Makefile (tests-static): New variable.
61790         (tests): Add $(tests-static).
61791         (tst-exec-static-ARGS): New variable.
61792         (tst-spawn-static-ARGS): Likewise.
61793         * posix/tst-exec-static.c: New file.
61794         * posix/tst-spawn-static.c: Likewise.
61795         * posix/tst-exec.c: Support run directly.
61796         * posix/tst-spawn.c: Likewise.
61798 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61800         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61801         long.
61802         * math/bits/mathcalls.h (llrint): Likewise.
61803         (llround): Likewise.
61804         * stdlib/stdlib.h (struct drand48_data): Likewise.
61805         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61806         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61807         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61808         Likewise.
61809         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61810         Likewise.
61811         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61812         (elf_greg_t): Likewise.
61813         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61814         (__jmp_buf): Likewise.
61815         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61816         definitions.
61817         (llrint): Likewise, for all definitions.
61818         (llrintl): Likewise.
61820         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61821         Remove [__GNUC__] condition.
61822         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61823         condition to just [__USE_ISOC99].
61824         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61826 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61828         [BZ #14200]
61829         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61830         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61831         defined.
61832         (_POSIX_V6_ILP32_OFF32): Likewise.
61833         (_XBS5_ILP32_OFF32): Likewise.
61834         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61835         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61837 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61839         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61841         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61842         doubles __mpexp_twomm1.  Adjust usage.
61843         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61844         Remove.
61846 2013-01-10  Andreas Schwab  <schwab@suse.de>
61848         [BZ #14964]
61849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61850         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61852 2013-01-09  David S. Miller  <davem@davemloft.net>
61854         [BZ #15003]
61855         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61856         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61857         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61858         (TCP_FASTOPEN): Define.
61859         (tcp_repair_opt): New structure.
61860         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61861         enum values.
61862         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61863         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61864         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61865         (tcp_cookie_transactions): New structure.
61867 2013-01-09  Anton Blanchard  <anton@samba.org>
61869         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61870         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61871         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61872         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61874 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61876         * include/features.h (__USE_ANSI): Remove.
61878 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61880         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61882         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61884 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61886         * sysdeps/s390/fpu/libm-test-ulps: Update.
61888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61890         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61891         (__acr): Likewise.
61892         (__cpy): Likewise.
61893         (norm): Likewise.
61894         (denorm): Likewise.
61895         (__mp_dbl): Likewise.
61896         (__dbl_mp): Likewise.
61897         (add_magnitudes): Likewise.
61898         (sub_magnitudes): Likewise.
61899         (__add): Likewise.
61900         (__sub): Likewise.
61901         (__mul): Likewise.
61902         (__inv): Likewise.
61903         (__dvd): Likewise.
61904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61905         (__acr): Likewise.
61906         (__cpy): Likewise.
61907         (norm): Likewise.
61908         (denorm): Likewise.
61909         (__mp_dbl): Likewise.
61910         (__dbl_mp): Likewise.
61911         (add_magnitudes): Likewise.
61912         (sub_magnitudes): Likewise.
61913         (__add): Likewise.
61914         (__sub): Likewise.
61915         (__mul): Likewise.
61916         (__inv): Likewise.
61917         (__dvd): Likewise.
61918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61919         (__acr): Likewise.
61920         (__cpy): Likewise.
61921         (norm): Likewise.
61922         (denorm): Likewise.
61923         (__mp_dbl): Likewise.
61924         (__dbl_mp): Likewise.
61925         (add_magnitudes): Likewise.
61926         (sub_magnitudes): Likewise.
61927         (__add): Likewise.
61928         (__sub): Likewise.
61929         (__mul): Likewise.
61930         (__inv): Likewise.
61931         (__dvd): Likewise.
61933 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61935         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61936         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61937         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61938         2 && __USE_EXTERN_INLINES]: Likewise.
61940 2013-01-08  Andreas Jaeger  <aj@suse.de>
61942         [BZ# 14985]
61943         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61944         Remove.
61945         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61946         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61948 2013-01-07  Anton Blanchard  <anton@samba.org>
61950         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61951         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61952         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61953         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61954         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61955         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61956         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61957         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61958         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61959         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61962         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61963         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61964         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61967         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61968         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61969         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61970         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61971         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61973         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61974         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61975         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61976         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61977         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61978         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61979         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61980         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61981         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61983         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61984         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61986         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61987         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61988         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61990         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61991         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61992         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61994 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61996         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61997         (__MALLOC_PMT): Likewise.
61998         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61999         [__GNUC__], only on [_LIBC].
62000         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62001         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62002         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62003         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62004         forward declaration.
62005         (realloc_hook_ini): Likewise.
62006         (memalign_hook_ini): Likewise.
62007         (__libc_memalign): Do not use __MALLOC_PMT in variable
62008         declaration.
62009         (__libc_valloc): Likewise.
62010         (__libc_pvalloc): Likewise.
62011         (__libc_calloc): Likewise.
62012         (__posix_memalign): Likewise.
62014         [BZ #14996]
62015         * math/s_casinh.c: Include <float.h>.
62016         (__casinh): Do not do computation with squaring and square root
62017         for large arguments.
62018         * math/s_casinhf.c: Include <float.h>.
62019         (__casinhf): Do not do computation with squaring and square root
62020         for large arguments.
62021         * math/s_casinhl.c: Include <float.h>.
62022         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62023         (__casinhl): Do not do computation with squaring and square root
62024         for large arguments.
62025         * math/libm-test.inc (casin_test): Add more tests.
62026         (casinh_test): Likewise.
62027         * sysdeps/i386/fpu/libm-test-ulps: Update.
62028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62030 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62032         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62033         (__x86_64_raw_data_cache_size): Likewise.
62034         (__x86_64_data_cache_size_half): Likewise.
62035         (__x86_64_raw_data_cache_size_half): Likewise.
62036         (__x86_64_shared_cache_size): Likewise.
62037         (__x86_64_raw_shared_cache_size): Likewise.
62038         (__x86_64_shared_cache_size_half): Likewise.
62039         (__x86_64_raw_shared_cache_size_half): Likewise.
62040         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62041         to ...
62042         (__x86_data_cache_size): This.
62043         (__x86_64_raw_data_cache_size): Renamed to ...
62044         (__x86_raw_data_cache_size): This.
62045         (__x86_64_data_cache_size_half): Renamed to ...
62046         (__x86_data_cache_size_half): This.
62047         (__x86_64_raw_data_cache_size_half): Renamed to ...
62048         (__x86_raw_data_cache_size_half): This.
62049         (__x86_64_shared_cache_size): Renamed to ...
62050         (__x86_shared_cache_size): This.
62051         (__x86_64_raw_shared_cache_size): Renamed to ...
62052         (__x86_raw_shared_cache_size): This.
62053         (__x86_64_shared_cache_size_half): Renamed to ...
62054         (__x86_shared_cache_size_half): This.
62055         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62056         (__x86_raw_shared_cache_size_half): This.
62057         * sysdeps/x86_64/memcpy.S: Updated.
62058         * sysdeps/x86_64/memset.S: Likewise.
62059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62061         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62063 2013-01-04  David S. Miller  <davem@davemloft.net>
62065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62067 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62069         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62070         1 to avoid redefinition warning.
62071         (__USE_GNU): Don't define.
62072         (init_signaling_nan): Protoize.
62074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62076 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62078         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62080         (__cpymn): Likewise.
62081         (norm): Remove commented code.
62082         (denorm): Likewise.
62083         (__mp_dbl): Likewise.
62084         (__inv): Likewise.
62085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62086         (__cpymn): Likewise.
62087         (norm): Remove commented code.
62088         (denorm): Likewise.
62089         (__mp_dbl): Likewise.
62090         (__inv): Likewise.
62092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62093         mp_no value for 1.0 and 2.0.
62094         (norm): Use RADIXI instead of radixi.d.
62095         (denorm): Likewise.
62096         (__mul): Use 0.0 instead of zero.d.
62097         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62098         mp_no value for 1.0 and 2.0.
62099         (norm): Use RADIXI instead of radixi.d.
62100         (denorm): Likewise.
62101         (__mul): Use 0.0 instead of zero.d.
62103 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62105         [BZ #14994]
62106         * math/s_casinh.c (__casinh): Reduce finite argument to first
62107         quadrant then set signs of results at the end.
62108         * math/s_casinhf.c (__casinhf): Likewise.
62109         * math/s_casinhl.c (__casinhl): Likewise.
62110         * math/libm-test.inc (casin_test): Add more tests.
62111         (casinh_test): Likewise.
62112         * sysdeps/i386/fpu/libm-test-ulps: Update.
62113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62115 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62117         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62119         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62121         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62122         declarations.
62123         (denorm): Likewise.
62124         (__mp_dbl): Likewise.
62125         (__inv): Likewise.
62127         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62128         and adjust the header comment.
62130         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62131         variable name from declaration.
62133 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62136         Initialize COMMON_CPUID_INDEX_7 element.
62137         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62138         (CPUID_RTM): Likewise.
62139         (HAS_RTM): Likewise.
62140         (COMMON_CPUID_INDEX_7): New enum.
62142 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62144         [BZ #14981]
62145         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62146         size is zero, record memory as freed.
62148 2013-01-03  Andreas Jaeger  <aj@suse.de>
62150         * po/ia.po: Add new Interlingua translation.
62152 2012-01-03  Allan McRae  <allan@archlinux.org>
62154         * locale/programs/localedef.c: Fix description of '--posix' flag.
62156 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62158         * NEWS: Update dates in second copyright notice.
62159         * README: Update copyright dates in example.
62160         * manual/libc.texinfo: Update copyright dates.
62161         * scripts/test-installation.pl: Update copyright date in --version
62162         output.
62164         * hurd/ctty-input.c: Fix copyright notice formatting.
62165         * hurd/ctty-output.c: Likewise.
62166         * hurd/dtable.c: Likewise.
62167         * hurd/hurd-raise.c: Likewise.
62168         * hurd/hurdprio.c: Likewise.
62169         * hurd/msgportdemux.c: Likewise.
62170         * misc/sys/file.h: Likewise.
62171         * misc/sys/ioctl.h: Likewise.
62172         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62173         * sysdeps/mach/hurd/chdir.c: Likewise.
62174         * sysdeps/mach/hurd/fchdir.c: Likewise.
62175         * sysdeps/mach/hurd/rename.c: Likewise.
62176         * sysdeps/mach/hurd/rmdir.c: Likewise.
62177         * sysdeps/mach/hurd/seekdir.c: Likewise.
62178         * sysdeps/mach/hurd/setsid.c: Likewise.
62179         * sysdeps/posix/wait3.c: Likewise.
62181         * All files with FSF copyright notices: Update copyright dates
62182         using scripts/update-copyrights.
62183         * intl/plural.c: Regenerated.
62184         * locale/programs/charmap-kw.h: Likewise.
62185         * locale/programs/locfile-kw.h: Likewise.
62187 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62189         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62190         four values.
62192         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62193         calculation loop and add branch prediction.
62195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62196         check access beyond bounds of m1np.
62198         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62199         MPTWO.
62200         (__inv): Remove local variable MPTWO to use the global
62201         constant.
62202         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62203         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62204         variable MPTWO.
62205         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62206         MP3HALFS static const.
62208 2013-01-01  David S. Miller  <davem@davemloft.net>
62210         * po/ca.po: Update from translation team.
62212 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62214         * scripts/update-copyrights: New file.
62215         * Makeconfig: Reformat copyright notice.
62216         * ctype/ctype.h: Likewise.
62217         * debug/swprintf_chk.c: Likewise.
62218         * elf/dl-cache.c: Likewise.
62219         * elf/dl-debug.c: Likewise.
62220         * elf/dl-object.c: Likewise.
62221         * grp/initgroups.c: Likewise.
62222         * hurd/Makefile: Likewise.
62223         * hurd/hurd/signal.h: Likewise.
62224         * hurd/hurdfault.c: Likewise.
62225         * hurd/hurdioctl.c: Likewise.
62226         * hurd/hurdlookup.c: Likewise.
62227         * hurd/intr-msg.c: Likewise.
62228         * iconv/gconv_open.c: Likewise.
62229         * libio/swprintf.c: Likewise.
62230         * locale/lc-ctype.c: Likewise.
62231         * locale/nl_langinfo.c: Likewise.
62232         * mach/Machrules: Likewise.
62233         * mach/Makefile: Likewise.
62234         * malloc/obstack.h: Likewise.
62235         * manual/Makefile: Likewise.
62236         * manual/tsort.awk: Likewise.
62237         * misc/bits/stab.def: Likewise.
62238         * nis/nis_print_group_entry.c: Likewise.
62239         * nis/nis_table.c: Likewise.
62240         * nis/nss_compat/compat-pwd.c: Likewise.
62241         * nis/nss_compat/compat-spwd.c: Likewise.
62242         * po/Makefile: Likewise.
62243         * posix/fnmatch.c: Likewise.
62244         * posix/regex.h: Likewise.
62245         * resolv/Makefile: Likewise.
62246         * resolv/nss_dns/dns-network.c: Likewise.
62247         * resolv/res_hconf.c: Likewise.
62248         * scripts/gen-sorted.awk: Likewise.
62249         * soft-fp/soft-fp.h: Likewise.
62250         * stdio-common/printf.h: Likewise.
62251         * stdlib/monetary.h: Likewise.
62252         * stdlib/random.c: Likewise.
62253         * stdlib/random_r.c: Likewise.
62254         * sysdeps/generic/Makefile: Likewise.
62255         * sysdeps/gnu/Makefile: Likewise.
62256         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62257         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62258         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62259         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62263         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62266         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62267         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62268         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62269         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62270         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62271         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62272         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62274         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62275         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62276         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62277         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62278         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62279         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62280         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62281         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62282         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62283         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62284         * sysdeps/mach/hurd/errnos.awk: Likewise.
62285         * sysdeps/mach/hurd/fork.c: Likewise.
62286         * sysdeps/mach/hurd/getcwd.c: Likewise.
62287         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62288         * sysdeps/mach/hurd/mmap.c: Likewise.
62289         * sysdeps/mach/hurd/utimes.c: Likewise.
62290         * sysdeps/mach/hurd/xmknod.c: Likewise.
62291         * sysdeps/posix/profil.c: Likewise.
62292         * sysdeps/posix/readdir_r.c: Likewise.
62293         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62294         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62295         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62296         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62298         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62299         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62300         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62301         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62302         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62303         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62304         * sysdeps/pthread/lio_listio.c: Likewise.
62305         * sysdeps/sparc/dl-procinfo.h: Likewise.
62306         * sysdeps/unix/i386/sysdep.S: Likewise.
62307         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62308         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62309         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62310         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62312         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62313         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62314         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62315         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62316         * sysdeps/wordsize-32/divdi3.c: Likewise.
62317         * time/sys/time.h: Likewise.
62318         * wcsmbs/Makefile: Likewise.
62320 2013-01-01  David S. Miller  <davem@davemloft.net>
62322         * po/fr.po: Update from translation team.
62324         * catgets/gencat.c: Update copyright year.
62325         * csu/version.c: Likewise.
62326         * debug/catchsegv.sh: Likewise.
62327         * debug/pcprofiledump.c: Likewise.
62328         * debug/xtrace.sh: Likewise.
62329         * elf/ldconfig.c: Likewise.
62330         * elf/ldd.bash.in: Likewise.
62331         * elf/pldd.c: Likewise.
62332         * elf/sotruss.ksh: Likewise.
62333         * elf/sprof.c: Likewise.
62334         * iconv/iconv_prog.c: Likewise.
62335         * iconv/iconvconfig.c: Likewise.
62336         * locale/programs/locale.c: Likewise.
62337         * locale/programs/localedef.c: Likewise.
62338         * login/programs/pt_chown.c: Likewise.
62339         * malloc/memusage.sh: Likewise.
62340         * malloc/memusagestat.c: Likewise.
62341         * malloc/mtrace.pl: Likewise.
62342         * nscd/nscd.c: Likewise.
62343         * nss/getent.c: Likewise.
62344         * nss/makedb.c: Likewise.
62345         * posix/getconf.c: Likewise.
62347 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62349         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62350         numbers.
62352 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62354         * math/bits/mathcalls.h (modf): Use __nonnull.
62356 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62358         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62359         (split): Use macro CN instead of the bare value.
62360         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62361         could be used.
62362         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62363         instead of the bare value.
62364         (power1): Likewise.
62366 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62368         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62369         __ATAN_TWOM.
62370         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62372         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62373         their values.
62374         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62375         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62376         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62377         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62379 2012-12-28  Andreas Jaeger  <aj@suse.de>
62381         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62382         values are from Linux 3.7.
62384         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62385         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62387 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62389         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62390         TRUE case.
62392         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62393         (norm): Likewise.
62394         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62395         variables with preprocessor constants.
62396         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62397         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62398         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62400 2012-12-27  Bruno Haible  <bruno@clisp.org>
62402         [BZ #14317]
62403         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62404         only if needed.
62406 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62408         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62409         and use variable directly.
62410         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62412         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62413         MPONE.
62414         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62415         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62416         variable MPONE.
62417         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62419         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62420         include directive.  Remove local variable MPONE.
62421         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62422         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62423         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62425 2012-12-25  David S. Miller  <davem@davemloft.net>
62427         * version.h (RELEASE): Set to "development".
62428         (VERSION): Set to "2.17.90".
62429         * NEWS: Add 2.18 section.
62431 2012-12-21  David S. Miller  <davem@davemloft.net>
62433         * po/hr.po: Update from translation team.
62435 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62437         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62439 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62441         * NEWS:  Mention new memcpy for MIPS.
62443 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62445         * manual/contrib.texi (Contributors): Spelling correction.
62447 2012-12-15  David S. Miller  <davem@davemloft.net>
62449         * po/ru.po: Update from translation team.
62451 2012-12-13  David S. Miller  <davem@davemloft.net>
62453         * NEWS: Mention IFUNC testsuite enhancements.
62455         * po/pl.po: Update from translation team.
62456         * po/bg.po: Likewise.
62458         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62459         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62461 2012-12-11  David S. Miller  <davem@davemloft.net>
62463         * po/sv.po: Update from translation team.
62465         * po/vi.po: Update from translation team.
62467         * po/cs.po: Update from translation team.
62469         * po/de.po: Update from translation team.
62470         * po/eo.po: Likewise.
62471         * po/nl.po: Likewise.
62473 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62475         [BZ #14246]
62476         * manual/argp.texi (Argp Helper Functions): Move node to follow
62477         Argp Parsing State.
62479         [BZ #14872]
62480         * manual/conf.texi (Limits on File System Capacity): Mention if
62481         terminating null is included in the max size.
62483 2012-12-10  Andreas Jaeger  <aj@suse.de>
62485         * po/cs.po: Update from translation team.
62487 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62489         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62490         void pointer and cast to uintptr_t.
62491         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62492         path.
62493         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62494         * sysdeps/s390/s390-64/memset.S: Likewise.
62496 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62498         [BZ #14833]
62499         * menual/message.texi (Message Translation): Fix typos.
62500         (Helper programs for gettext): Likewise.
62502 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62504         [BZ #14898]
62505         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62506         Change to -1.
62508 2012-12-07  David S. Miller  <davem@davemloft.net>
62510         * po/libc.pot: Update.
62512 2012-12-07  Richard Henderson  <rth@redhat.com>
62514         [BZ #10114]
62515         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62516         normal/normal case to before the switch.
62517         (_FP_DIV): Likewise.
62519 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62520             Mike Frysinger  <vapier@gentoo.org>
62522         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62523         check for __NR_fadvise64_64.
62525 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62527         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62528         0, not just to plain "0" as a statement.
62529         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62530         with cw.
62532 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62534         * NEWS: Use sourceware.org in Bugzilla URL.
62536 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62539         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62541         * stdio-common/tst-put-error.c (do_test): Add newline to the
62542         padded test to ensure flush.
62544 2012-12-05  Jeff Law  <law@redhat.com>
62546         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62548 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62550         * README: Don't refer to ports add-on as distributed separately.
62551         Mention AArch64 in list of systems supported in the ports add-on.
62553         * LICENSES: Add more non-FSF copyright and license notices.
62555         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62556         ((unused)).
62558         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62560         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62561         10000 as width of padded output.
62563 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62565         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62567         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62568         variable LX with __attribute__ ((unused)).
62569         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62570         Likewise.
62571         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62572         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62574         with __attribute__ ((unused)).
62576 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62578         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62580 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62582         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62583         (CFLAGS-nldbl-acos.c): New variable.
62584         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62585         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62586         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62587         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62588         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62589         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62590         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62591         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62592         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62593         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62594         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62595         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62596         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62597         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62598         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62599         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62600         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62601         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62602         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62603         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62604         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62605         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62606         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62607         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62608         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62609         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62610         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62611         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62612         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62613         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62614         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62615         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62616         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62617         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62618         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62619         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62620         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62621         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62622         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62623         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62624         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62625         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62626         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62627         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62628         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62629         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62630         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62631         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62632         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62633         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62634         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62635         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62636         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62637         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62638         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62639         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62640         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62641         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62642         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62643         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62644         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62645         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62646         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62647         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62648         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62649         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62650         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62651         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62652         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62653         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62654         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62655         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62656         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62657         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62658         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62659         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62660         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62661         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62662         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62663         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62664         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62665         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62666         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62667         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62668         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62669         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62670         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62671         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62672         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62673         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62674         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62675         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62676         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62677         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62678         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62679         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62680         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62683         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62685         [BZ #14914]
62686         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62687         whole low double instead of just low 47 bits when splitting values
62688         into two parts.
62690 2012-12-03  Allan McRae  <allan@archlinux.org>
62692         * manual/stdio.texi (Predefined Printf Handlers): Remove
62693         @hsep and @vsep usage.
62695 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62697         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62698         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62700 2012-12-03  Jeff Law  <law@redhat.com>
62702         * time/sys/time.h (settimeofday): Do not mark TV argument
62703         as __nonnull.
62705 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62707         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62708         when currently writing and seek to current position when not.
62709         * libio/Makefile (tests): Remove bug-fclose1.
62710         * libio/bug-fclose1.c: Delete.
62712 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62714         * manual/arith.texi (feenableexcept): Fix typo.
62715         (fedisableexcept): Likewise.
62717 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62719         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62720         second, differently-typed declaration, rather than a cast.
62722 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62724         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62725         * include/rpc/svc.h: ... here.
62727 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62729         [BZ #13013]
62730         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62731         depending n and resplen2 to catch cases where answer
62732         equals answerp2.
62734 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62736         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62737         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62739 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62741         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62743 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62745         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62747 2012-11-28  Jeff Law  <law@redhat.com>
62749         [BZ #13761]
62750         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62751         dataset_temporary.  Track alloca usage into alloca_used.
62752         If dataset is large allocate and release it via malloc/free.
62754 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62756         [BZ #14197]
62757         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62759 2012-11-28  David S. Miller  <davem@davemloft.net>
62761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62763 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62765         [BZ #14803]
62766         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62767         of pi/2 rounded to nearest to 64 bits.
62768         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62769         nearest to 64 bits.
62770         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62771         bits.
62773 2012-11-28  Jeff Law <law@redhat.com>
62774             Martin Osvald <mosvald@redhat.com>
62776         [BZ #14889]
62777         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62778         * sunrpc/svc.c: Include time.h.
62779         (__svc_accept_failed): New function.
62780         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62781         any reason other than EINTR, call __svc_accept_failed.
62782         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62783         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62785 2012-11-28  Andreas Schwab  <schwab@suse.de>
62787         * scripts/abilist.awk: Also handle indirect functions in .opd
62788         section.
62790 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62792         [BZ #13881]
62793         * sysdeps/x86/fpu/powl_helper.c: New file.
62794         * sysdeps/x86/fpu/Makefile: Likewise.
62795         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62796         (p3): New object.
62797         (__ieee754_powl): Use __powl_helper for finite arguments except
62798         integer exponents below 8.
62799         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62800         (p3): New object.
62801         (__ieee754_powl): Use __powl_helper for finite arguments except
62802         integer exponents below 8.
62803         * math/libm-test.inc (pow_test): Add more tests and enable some
62804         previously disabled tests.
62805         * sysdeps/i386/fpu/libm-test-ulps: Update.
62806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62808 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62809             Carlos O'Donell  <carlos_odonell@mentor.com>
62811         * nss/makedb.c (is_prime): Assert that input is odd and greater
62812         than 4.  Note that fact in a comment too.
62813         (next_prime): Add 4 to input.
62815 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62817         [BZ #11741]
62818         * libio/Makefile (tests): Add test case tst-fwrite-error.
62819         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62820         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62821         * libio/tst-fwrite-error.c: New test case.
62823 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62825         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62826         before casting to void *.
62827         * include/libc-internal.h (__pointer_type): New macro.
62828         (__integer_if_pointer_type_sub): Likewise.
62829         (__integer_if_pointer_type): Likewise.
62830         (cast_to_integer): Likewise.
62831         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62832         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62833         before casting to atomic64_t.
62834         (atomic_exchange_acq): Likewise.
62835         (__arch_exchange_and_add_body): Likewise.
62836         (__arch_add_body): Likewise.
62837         (atomic_add_negative): Likewise.
62838         (atomic_add_zero): Likewise.
62840 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62842         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62843         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62844         (add_fdes): Likewise.
62845         (linear_search_fdes): Likewise.
62846         (binary_search_unencoded_fdes): Likewise.
62848 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62850         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62852 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62854         * configure.in: Autodetect C++ header directories.
62855         * configure: Regenerated.
62857 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62859         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62861 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62863         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62865 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62867         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62868         LDBL_MANT_DIG == 106]: Disable some tests.
62869         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62870         Likewise.
62871         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62872         Likewise.
62874         [BZ #14871]
62875         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62876         input for small inputs.  Return +/- pi/2 for large inputs.
62877         * math/libm-test.inc (atan_test): Add more tests.
62879         * sysdeps/generic/unwind-dw2-fde-glibc.c
62880         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62881         __attribute__ ((unused)).
62883         [BZ #14645]
62884         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62885         x * y if x and y are nonzero and z is zero.
62887         [BZ #14811]
62888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62889         nonzero exponents with absolute value below 0x1p-117 to +/-
62890         0x1p-117.
62892         [BZ #14869]
62893         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62894         up arguments below 2**-450, not just those below 2**-500.
62895         * math/libm-test.inc (hypot_test): Add another test.
62897         [BZ #14868]
62898         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62899         Return a+b for ratio over 2**120, not 2**60.
62900         * math/libm-test.inc (hypot_test): Add another test.
62902         * math/libm-test.inc (clog_test): Use
62903         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62904         (clog10_test): Likewise.
62906         [BZ #6778]
62907         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62909 2012-11-22  Andreas Schwab  <schwab@suse.de>
62911         * sysdeps/i386/fpu/libm-test-ulps: Update.
62913 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62915         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62916         printf output with newline.
62918 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62920         [BZ #14865]
62921         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62922         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62923         -z nodlopen, -z initfirst and -z execstack support.
62924         * configure: Regenerated.
62926         * elf/elf.h (DF_1_NODIRECT): New macro.
62927         (DF_1_IGNMULDEF): Likewise.
62928         (DF_1_NOKSYMS): Likewise.
62929         (DF_1_NOHDR): Likewise.
62930         (DF_1_EDITED): Likewise.
62931         (DF_1_NORELOC): Likewise.
62932         (DF_1_SYMINTPOSE): Likewise.
62933         (DF_1_GLOBAUDIT): Likewise.
62934         (DF_1_SINGLETON): Likewise.
62935         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62936         DT_1_SUPPORTED_MASK bits.
62937         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62939 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62941         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62943 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62945         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62946         macro.
62948         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62949         (sendmmsg): Move declarations...
62950         * socket/sys/socket.h: ... here.
62951         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62952         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62953         include it from...
62954         * socket/recvmmsg.c: ... this new file.
62955         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62956         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62957         definition of __sendmmsg hidden.
62958         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62959         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62960         Move ENOSYS stub into and include it from...
62961         * socket/sendmmsg.c: ... this new file.
62962         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62963         (sysdep_routines): Move recvmmsg and sendmmsg...
62964         * socket/Makefile (routines): ... here.
62965         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62966         (GLIBC_PRIVATE): Add __sendmmsg.
62967         * include/sys/socket.h (__sendmmsg): Add declarations.
62968         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62969         sendmmsg.
62971 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62973         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62974         variable I1 with __attribute__ ((unused)).
62975         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62977 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62979         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62980         DUMMY variables with __attribute__ ((unused)).
62982         * bits/byteswap.h: Include <bits/types.h>.
62983         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62985 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62987         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62988         string_t.  Do not manually set errno.
62989         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62990         length with __strnlen.  Make sure to both set errno and return it on
62991         failure.
62993 2012-11-19  David S. Miller  <davem@davemloft.net>
62995         With help from Joseph Myers.
62996         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62997         very large arguments properly.
62998         * math/libm-test.inc (atan_test): New tests.
62999         (atan2_test): New tests.
63000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63001         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63003 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63005         [BZ #14856]
63006         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63007         Define to 3.
63009         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63010         [POSIX] (EADDRNOTAVAIL): Likewise.
63011         [POSIX] (EAFNOSUPPORT): Likewise.
63012         [POSIX] (EALREADY): Likewise.
63013         [POSIX] (ECONNABORTED): Likewise.
63014         [POSIX] (ECONNREFUSED): Likewise.
63015         [POSIX] (ECONNRESET): Likewise.
63016         [POSIX] (EDESTADDRREQ): Likewise.
63017         [POSIX] (EDQUOT): Likewise.
63018         [POSIX] (EHOSTUNREACH): Likewise.
63019         [POSIX] (EIDRM): Likewise.
63020         [POSIX] (EISCONN): Likewise.
63021         [POSIX] (ELOOP): Likewise.
63022         [POSIX] (EMULTIHOP): Likewise.
63023         [POSIX] (ENETDOWN): Likewise.
63024         [POSIX] (ENETUNREACH): Likewise.
63025         [POSIX] (ENOBUFS): Likewise.
63026         [POSIX] (ENODATA): Likewise.
63027         [POSIX] (ENOLINK): Likewise.
63028         [POSIX] (ENOMSG): Likewise.
63029         [POSIX] (ENOPROTOOPT): Likewise.
63030         [POSIX] (ENOSR): Likewise.
63031         [POSIX] (ENOSTR): Likewise.
63032         [POSIX] (ENOTCONN): Likewise.
63033         [POSIX] (ENOTSOCK): Likewise.
63034         [POSIX] (EOPNOTSUPP): Likewise.
63035         [POSIX] (EOVERFLOW): Likewise.
63036         [POSIX] (EPROTO): Likewise.
63037         [POSIX] (EPROTONOSUPPORT): Likewise.
63038         [POSIX] (EPROTOTYPE): Likewise.
63039         [POSIX] (ESTALE): Likewise.
63040         [POSIX] (ETIME): Likewise.
63041         [POSIX] (ETXTBSY): Likewise.
63042         [POSIX] (EWOULDBLOCK): Likewise.
63043         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63044         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63045         [POSIX] (SEEK_CUR): Likewise.
63046         [POSIX] (SEEK_END): Likewise.
63047         [POSIX || UNIX98] (mode_t): Do not require.
63048         [POSIX] (off_t): Likewise.
63049         [POSIX] (pid_t): Likewise.
63050         [POSIX] (sys/stat.h): Do not allow header.
63051         [POSIX] (unistd.h): Likewise.
63052         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63053         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63054         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63055         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63056         require.
63057         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63058         sigevent): Specify elements.
63059         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63060         entry.
63061         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63062         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63064         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63065         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63066         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63067         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63068         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63069         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63070         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63071         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63072         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63073         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63074         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63075         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63076         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63078         Likewise.
63079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63080         Likewise.
63081         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63082         Likewise.
63083         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63084         Likewise.
63085         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63089         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63090         Specify lower bound on value.
63091         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63092         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63093         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63094         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63095         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63096         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63097         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63098         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63099         value.
63100         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63101         as optional.
63102         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63103         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63104         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63105         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63106         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63107         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63108         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63110         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63112         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63113         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63114         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63115         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63116         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63117         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63118         entry.
63119         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63120         optional.
63121         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63123         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63124         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63125         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63126         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63127         Likewise.
63128         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63130         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63131         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63132         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63133         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63135         as optional.
63136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63139         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63140         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63141         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63142         specify as optional.
63143         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63144         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63145         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63146         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63147         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63148         [XPG3] (NL_LANGMAX): Likewise.
63149         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63150         [POSIX || XPG3] (NL_NMAX): Likewise.
63151         [POSIX || XPG3] (NL_SETMAX): Likewise.
63152         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63153         [XPG3] (NZERO): Likewise.
63154         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63155         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63156         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63157         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63158         (REG_ERANGE): Expect.
63159         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63160         optional-constant.
63161         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63162         Use (void) in prototype.
63163         [POSIX] (*_t): Allow.
63164         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63165         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63166         (WRDE_BADVAL): Expect.
63168         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63169         expect.
63170         [XPG3 || XPG4] (O_RSYNC): Likewise.
63171         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63172         Likewise.
63173         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63174         [XPG3 || XPG4] (sigqueue): Likewise.
63175         [XPG3 || XPG4] (sigtimedwait): Likewise.
63176         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63177         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63178         [XPG3 || XPG4] (vsnprintf): Likewise.
63179         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63180         Likewise.
63181         [XPG3 || XPG4] (blksize_t): Likewise.
63182         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63183         Likewise.
63184         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63185         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63186         [XPG3 || XPG4] (struct itimerspec): Likewise.
63187         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63188         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63189         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63190         [XPG3 || XPG4] (clockid_t): Likewise.
63191         [XPG3 || XPG4] (timer_t): Likewise.
63192         [XPG3 || XPG4] (clock_getres): Likewise.
63193         [XPG3 || XPG4] (clock_gettime): Likewise.
63194         [XPG3 || XPG4] (clock_settime): Likewise.
63195         [XPG3 || XPG4] (nanosleep): Likewise.
63196         [XPG3 || XPG4] (timer_create): Likewise.
63197         [XPG3 || XPG4] (timer_delete): Likewise.
63198         [XPG3 || XPG4] (timer_gettime): Likewise.
63199         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63200         [XPG3 || XPG4] (timer_settime): Likewise.
63201         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63202         [XPG3 || XPG4] (getlogin_r): Likewise.
63203         [XPG3 || XPG4] (pread): Likewise.
63204         [XPG3 || XPG4] (pthread_atfork): Likewise.
63205         [XPG3 || XPG4] (pwrite): Likewise.
63207         [BZ #14835]
63208         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63209         <bits/siginfo.h>.
63211 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63213         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63214         finalizing MALLSTREAM.
63216         * sysdeps/mach/hurd/syncfs.c: New file.
63218 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63220         [BZ #14719]
63221         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63222         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63223         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63224         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63225         (_nss_dns_gethostbyname4_r): Likewise.
63226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63227         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63229 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63231         [BZ #13763]
63232         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63234 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63236         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63237         * elf/cache.c (print_entry): Print ",AArch64" for
63238         FLAG_AARCH64_LIB64
63240         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63241         * elf/cache.c (print_entry): Print ",hard-float" for
63242         FLAG_ARM_LIBHF.
63244 2012-11-18  David S. Miller  <davem@davemloft.net>
63246         With help from Joseph Myers.
63247         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63248         cutoff to 2**-13.
63249         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63250         cutoff to 2**-25.
63251         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63252         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63253         small.
63254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63255         * math/libm-test.inc (y0_test): New tests.
63256         (y1_test): New tests.
63257         * sysdeps/i386/fpu/libm-test-ulps: Update.
63258         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63261 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63263         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63264         64-bit targets.
63265         * configure: Regenerated.
63267 2012-11-17  David S. Miller  <davem@davemloft.net>
63269         [BZ #14811]
63270         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63271         nonzero exponents with absolute value below 0x1p-128 to +/-
63272         0x1p-128.
63274 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63276         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63278         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63280         * posix/getconf-speclist.c: New file.
63281         * posix/posix-envs.def: Likewise.
63282         * posix/confstr.c (START_ENV_GROUP): New macro.
63283         (END_ENV_GROUP): Likewise.
63284         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63285         (KNOWN_PRESENT_ENV_STRING): Likewise.
63286         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63287         (UNKNOWN_ENVIRONMENT): Likewise.
63288         (confstr): Include posix-envs.def instead of handling
63289         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63290         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63291         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63292         (END_ENV_GROUP): Likewise.
63293         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63294         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63295         (UNKNOWN_ENVIRONMENT): Likewise.
63296         (__sysconf): Include posix-envs.def instead of handling associated
63297         cases directly here.
63298         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63299         preprocessing getconf-speclist.c rather than running getconf or
63300         generating empty file.
63302 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63304         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63306 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63308         [BZ #14672]
63309         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63311 2012-11-16  David S. Miller  <davem@davemloft.net>
63313         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63314         smaller than LDBL_EPSILON/2.0L, just return xm1.
63316 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63318         * elf/tst-array1.c (init): Set constructor priority to 1000.
63319         (fini): Set destructor priority to 1000.
63320         * elf/tst-array2dep.c: Likewise.
63322 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63324         [BZ #11741]
63325         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63326         (_IO_new_file_xsputn): Also return EOF if none of the input
63327         data was written when overflow failed.
63328         * libio/iopadn.c (_IO_padn): Likewise.
63329         * libio/iowpadn.c (_IO_wpadn): Likewise.
63330         * stdio-common/tst-put-error.c: Add copyright notice.
63331         (do_test): Add case for printing padded string.
63332         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63333         _IO_padn returned error.
63334         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63335         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63336         return EOF.
63338 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63340         * libio/libioP.h: Add comment note that the references to C++
63341         bits are now obsolete.
63343 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63345         * math/libm-test.inc (check_complex): Use asprintf.
63347 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63349         * debug/pcprofiledump.c (print_version): Update copyright year.
63350         * malloc/memusagestat.c (print_version): Likewise.
63352 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63354         [BZ #14831]
63355         * elf/Makefile (tests): Add tst-audit8.
63356         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63357         ($(objpfx)tst-audit8.out): New target.
63358         (tst-audit8-ENV): New variable.
63359         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63360         audit if l_reloc_result is NULL.
63361         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63362         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63363         * elf/tst-audit8.c: New file.
63365 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63367         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63368         * misc/Makefile (CFLAGS-select.c): Define.
63369         * posix/Makefile (CFLAGS-pause.c): Define.
63371 2012-11-13  David S. Miller  <davem@davemloft.net>
63373         * crypt/Makefile: Move test targets after toplevel Rules
63374         inclusion.  Grab any necessary sysdep routines when linking.
63375         * crypt/md5.c (md5_process_block): Remove define, we will always
63376         name it __md5_process_block.
63377         (md5_finish_ctx): Update md5_process_block call.
63378         (md5_stream): Likewise.
63379         (md5_process_bytes): Likewise.
63380         (md5_process_block): Rename to __md5_process_block and move to ...
63381         * crypt/md5-block.c: ... here.
63382         * crypt/sha256.c (sha256_process_block): Move to ...
63383         * crypt/sha256-block.c: ... here.
63384         * crypt/sha512.c (sha512_process_block): Move to ...
63385         * crypt/sha512-block.c: ... here.
63386         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63387         path.
63388         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63389         * sysdeps/sparc/sparc64/multiarch/Makefile
63390         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63391         crypt subdir.
63392         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63393         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63394         multiarch changes.
63395         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63396         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63397         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63398         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63399         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63400         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63401         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63404         file.
63405         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63407         file.
63408         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63410 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63412         * timezone/tzselect.ksh: Update from tzcode git revision
63413         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63414         * timezone/zdump.c: Likewise.
63415         * timezone/zic.c: Likewise.
63416         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63417         in TZVERSION setting, not $(PKGVERSION).
63418         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63419         REPORT_BUGS_TO settings.
63421         [BZ #14838]
63422         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63423         macro.
63425 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63427         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63428         detection to immediately after _FP_ROUND().
63429         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63430         bits are 0.
63432 2012-11-11  David S. Miller  <davem@davemloft.net>
63434         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63435         inttypes.h
63436         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63437         __close rather than their public counterparts.
63439 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63441         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63442         file.
63443         [UNIX98] (sem_timedwait): Do not expect.
63444         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63445         [XPG4 || UNIX98] (sockatmark): Do not expect.
63446         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63447         (clock_getcpuclockid): Do not expect.
63448         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63449         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63450         Do not expect.
63451         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63452         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63453         [UNIX98] (vwscanf): Likewise.
63454         [UNIX98] (vswscanf): Likewise.
63456 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63458         * timezone/version.h: Remove file.
63459         * timezone/README: Do not refer to version.h.
63460         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63461         $(objpfx)version.h.
63462         ($(objpfx)zdump.o): Likewise.
63463         ($(objpfx)version.h): New target.
63465         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63466         2012i.
63467         * timezone/README: Don't mention modification to tzselect.ksh.
63468         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63469         work on unmodified tzselect.ksh.  Substitute version numbers in
63470         tzselect.ksh.
63472         * Makefile (format-me): Remove.
63473         (INSTALL): Adjust indentation.  Use commands directly instead of
63474         using $(format-me).
63476         * aclocal.m4 (ACX_PKGVERSION): New macro.
63477         (ACX_BUGURL): Likewise.
63478         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63479         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63480         (REPORT_BUGS_TO): Likewise.
63481         * configure: Regenerated.
63482         * config.h.in (PKGVERSION): New macro.
63483         (REPORT_BUGS_TO): Likewise.
63484         * config.make.in (PKGVERSION): New variable.
63485         (PKGVERSION_TEXI): Likewise.
63486         (REPORT_BUGS_TO): Likewise.
63487         (REPORT_BUGS_TEXI): Likewise.
63488         * Makefile (format-me): Use -I$(common-objpfx)manual.
63489         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63490         ($(common-objpfx)manual/%): New target.
63491         (manual/%): Remove target.
63492         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63493         (print_version): Use PKGVERSION.
63494         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63495         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63496         and REPORT_BUGS_TO.
63497         ($(objpfx)xtrace): Likewise.
63498         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63499         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63500         (print_version): Use PKGVERSION.
63501         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63502         (do_version): Use PKGVERSION.
63503         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63504         REPORT_BUGS_TO.
63505         (common-ldd-rewrite): Likewise.
63506         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63507         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63508         (print_version): Use PKGVERSION.
63509         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63510         * elf/pldd.c (argp_program_bug_address): Remove variable.
63511         (more_help): New function.
63512         (argp): Use more_help.
63513         (print_version): Use PKGVERSION.
63514         * elf/sln.c (main): Use PKGVERSION.
63515         (usage): Use REPORT_BUGS_TO.
63516         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63517         (top level): Use PKGVERSION.
63518         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63519         (print_version): Use PKGVERSION.
63520         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63521         (print_version): Use PKGVERSION.
63522         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63523         (print_version): Use PKGVERSION.
63524         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63525         (print_version): Use PKGVERSION.
63526         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63527         (print_version): Use PKGVERSION.
63528         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63529         (print_version): Use PKGVERSION.
63530         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63531         and BUGURL.
63532         ($(objpfx)memusage): Likewise.
63533         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63534         (do_version): Use PKGVERSION.
63535         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63536         (print_version): Use PKGVERSION.
63537         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63538         ($PKGVERSION): New variable.
63539         ($REPORT_BUGS_TO): Likewise.
63540         (usage): Use $REPORT_BUGS_TO.
63541         (top level): Use $PKGVERSION.
63542         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63543         ($(objpfx)pkgvers.texi): New rule.
63544         ($(objpfx)stamp-pkgvers): Likewise.
63545         * manual/install.texi: Include pkgvers.texi.
63546         (--with-pkgversion): Document new configure option.
63547         (--with-bugurl): Likewise.
63548         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63549         than necessarily for this particular distribution.  Use
63550         REPORT_BUGS_TO for where to report bugs.
63551         * INSTALL: Regenerated.
63552         * manual/libc.texinfo: Include pkgvers.texi.
63553         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63554         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63555         (print_version): Use PKGVERSION.
63556         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63557         (print_version): Use PKGVERSION.
63558         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63559         (print_version): Use PKGVERSION.
63560         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63561         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63562         macro.
63563         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63564         (print_version): Use PKGVERSION.
63565         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63566         (print_version): Use PKGVERSION.
63567         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63568         and PKGVERSION.
63570         * timezone/checktab.awk: Update from tzcode 2012i.
63571         * timezone/ialloc.c: Likewise.
63572         * timezone/private.h: Likewise.
63573         * timezone/scheck.c: Likewise.
63574         * timezone/tzfile.h: Likewise.
63575         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63576         (TZVERSION): Hardcode tzcode version number.
63577         * timezone/zdump.c: Update from tzcode 2012i.
63578         * timezone/zic.c: Likewise.
63579         * timezone/version.h: New file.
63580         * timezone/README: Describe version.h.  Update upstream location.
63582         [BZ #14824]
63583         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63584         (mktemp): Enable declaration.
63585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63589         Likewise.
63590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63591         Likewise.
63592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63593         Likewise.
63594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63595         Likewise.
63596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63597         Likewise.
63598         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63599         Likewise.
63601         [BZ #14821]
63602         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63603         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63604         for copies of such integer values.
63605         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63606         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63608 2012-11-09  Andreas Jaeger  <aj@suse.de>
63610         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63611         definitions and declarations that are provided by
63612         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63614 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63616         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63617         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63618         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63619         definition.
63621 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63623         * elf/elf.h: Update comment before AArch64 relocations.
63625 2012-11-07  David S. Miller  <davem@davemloft.net>
63627         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63628         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63629         (__start_context): Declare.
63630         (__makecontext_ret): Delete.
63631         (__makecontext): Hook up __start_context instead of
63632         __makecontext_ret.
63633         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63634         (sysdep_routines): Add __start_context when in stdlib.
63636 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63638         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63639         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63640         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63641         hardcoded "nm".
63642         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63643         (READELF): New variable.  Use it instead of hardcoded "readelf".
63645 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63647         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63648         * sysdeps/x86/Makefile: Here.
63649         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63650         * sysdeps/x86/tst-xmmymm.sh: This.
63652 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63654         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63655         expectations.
63656         [UNIX98] (pthread_barrier_t): Do not expect.
63657         [UNIX98] (pthread_barrierattr_t): Likewise.
63658         [UNIX98] (pthread_spinlock_t): Likewise.
63659         [UNIX98] (pthread_barrier_destroy): Likewise.
63660         [UNIX98] (pthread_barrier_init): Likewise.
63661         [UNIX98] (pthread_barrier_wait): Likewise.
63662         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63663         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63664         [UNIX98] (pthread_barrierattr_init): Likewise.
63665         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63666         [UNIX98] (pthread_getcpuclockid): Likewise.
63667         [UNIX98] (pthread_mutex_timedlock): Likewise.
63668         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63669         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63670         [UNIX98] (pthread_sigmask): Likewise.
63671         [UNIX98] (pthread_spin_destroy): Likewise.
63672         [UNIX98] (pthread_spin_init): Likewise.
63673         [UNIX98] (pthread_spin_lock): Likewise.
63674         [UNIX98] (pthread_spin_trylock): Likewise.
63675         [UNIX98] (pthread_spin_unlock): Likewise.
63676         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63677         Do not expect.
63678         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63679         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63680         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63681         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63682         [XPG3 || XPG4] (pthread_key_t): Likewise.
63683         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63684         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63685         [XPG3 || XPG4] (pthread_once_t): Likewise.
63686         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63687         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63688         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63689         [XPG3 || XPG4] (pthread_t): Likewise.
63691         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63692         not expect.
63693         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63695         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63696         Change function return type to int.
63698         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63699         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63700         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63701         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63702         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63703         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63704         [!POSIX] (posix_madvise): Likewise.
63705         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63706         && !UNIX98].
63707         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63708         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63709         (mode_t): Likewise.
63710         (posix_mem_offset): Likewise.
63711         (posix_typed_mem_get_info): Likewise.
63712         (posix_typed_mem_open): Likewise.
63714         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63715         Change condition to [XOPEN2K8].
63717         * conform/conformtest.pl: Preprocess allow-header data with -x c
63718         instead of from stdin.
63719         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63720         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63721         [C99-based standards] (cerfc): Likewise.
63722         [C99-based standards] (cexp2): Likewise.
63723         [C99-based standards] (cexpm1): Likewise.
63724         [C99-based standards] (clog10): Likewise.
63725         [C99-based standards] (clog1p): Likewise.
63726         [C99-based standards] (clog2): Likewise.
63727         [C99-based standards] (clgamma): Likewise.
63728         [C99-based standards] (ctgamma): Likewise.
63729         [C99-based standards] (cerff): Likewise.
63730         [C99-based standards] (cerfcf): Likewise.
63731         [C99-based standards] (cexp2f): Likewise.
63732         [C99-based standards] (cexpm1f): Likewise.
63733         [C99-based standards] (clog10f): Likewise.
63734         [C99-based standards] (clog1pf): Likewise.
63735         [C99-based standards] (clog2f): Likewise.
63736         [C99-based standards] (clgammaf): Likewise.
63737         [C99-based standards] (ctgammaf): Likewise.
63738         [C99-based standards] (cerfl): Likewise.
63739         [C99-based standards] (cerfcl): Likewise.
63740         [C99-based standards] (cexp2l): Likewise.
63741         [C99-based standards] (cexpm1l): Likewise.
63742         [C99-based standards] (clog10l): Likewise.
63743         [C99-based standards] (clog1pl): Likewise.
63744         [C99-based standards] (clog2l): Likewise.
63745         [C99-based standards] (clgammal): Likewise.
63746         [C99-based standards] (ctgammal): Likewise.
63747         * conform/data/inttypes.h-data [C99-based standards]: Include
63748         stdint.h-data.  Remove all expectations for stdint.h contents.
63749         [C99-based standards] (PRI*): Do not allow.
63750         [C99-based standards] (SCN*): Likewise.
63751         [C99-based standards] (*_t): Likewise.
63752         [C99-based-standards] (PRId8): Expect macro.
63753         [C99-based-standards] (PRIi8): Likewise.
63754         [C99-based-standards] (PRIo8): Likewise.
63755         [C99-based-standards] (PRIu8): Likewise.
63756         [C99-based-standards] (PRIx8): Likewise.
63757         [C99-based-standards] (PRIX8): Likewise.
63758         [C99-based-standards] (SCNd8): Likewise.
63759         [C99-based-standards] (SCNi8): Likewise.
63760         [C99-based-standards] (SCNo8): Likewise.
63761         [C99-based-standards] (SCNu8): Likewise.
63762         [C99-based-standards] (SCNx8): Likewise.
63763         [C99-based-standards] (PRIdLEAST8): Likewise.
63764         [C99-based-standards] (PRIiLEAST8): Likewise.
63765         [C99-based-standards] (PRIoLEAST8): Likewise.
63766         [C99-based-standards] (PRIuLEAST8): Likewise.
63767         [C99-based-standards] (PRIxLEAST8): Likewise.
63768         [C99-based-standards] (PRIXLEAST8): Likewise.
63769         [C99-based-standards] (SCNdLEAST8): Likewise.
63770         [C99-based-standards] (SCNiLEAST8): Likewise.
63771         [C99-based-standards] (SCNoLEAST8): Likewise.
63772         [C99-based-standards] (SCNuLEAST8): Likewise.
63773         [C99-based-standards] (SCNxLEAST8): Likewise.
63774         [C99-based-standards] (PRIdFAST8): Likewise.
63775         [C99-based-standards] (PRIiFAST8): Likewise.
63776         [C99-based-standards] (PRIoFAST8): Likewise.
63777         [C99-based-standards] (PRIuFAST8): Likewise.
63778         [C99-based-standards] (PRIxFAST8): Likewise.
63779         [C99-based-standards] (PRIXFAST8): Likewise.
63780         [C99-based-standards] (SCNdFAST8): Likewise.
63781         [C99-based-standards] (SCNiFAST8): Likewise.
63782         [C99-based-standards] (SCNoFAST8): Likewise.
63783         [C99-based-standards] (SCNuFAST8): Likewise.
63784         [C99-based-standards] (SCNxFAST8): Likewise.
63785         [C99-based-standards] (PRId16): Likewise.
63786         [C99-based-standards] (PRIi16): Likewise.
63787         [C99-based-standards] (PRIo16): Likewise.
63788         [C99-based-standards] (PRIu16): Likewise.
63789         [C99-based-standards] (PRIx16): Likewise.
63790         [C99-based-standards] (PRIX16): Likewise.
63791         [C99-based-standards] (SCNd16): Likewise.
63792         [C99-based-standards] (SCNi16): Likewise.
63793         [C99-based-standards] (SCNo16): Likewise.
63794         [C99-based-standards] (SCNu16): Likewise.
63795         [C99-based-standards] (SCNx16): Likewise.
63796         [C99-based-standards] (PRIdLEAST16): Likewise.
63797         [C99-based-standards] (PRIiLEAST16): Likewise.
63798         [C99-based-standards] (PRIoLEAST16): Likewise.
63799         [C99-based-standards] (PRIuLEAST16): Likewise.
63800         [C99-based-standards] (PRIxLEAST16): Likewise.
63801         [C99-based-standards] (PRIXLEAST16): Likewise.
63802         [C99-based-standards] (SCNdLEAST16): Likewise.
63803         [C99-based-standards] (SCNiLEAST16): Likewise.
63804         [C99-based-standards] (SCNoLEAST16): Likewise.
63805         [C99-based-standards] (SCNuLEAST16): Likewise.
63806         [C99-based-standards] (SCNxLEAST16): Likewise.
63807         [C99-based-standards] (PRIdFAST16): Likewise.
63808         [C99-based-standards] (PRIiFAST16): Likewise.
63809         [C99-based-standards] (PRIoFAST16): Likewise.
63810         [C99-based-standards] (PRIuFAST16): Likewise.
63811         [C99-based-standards] (PRIxFAST16): Likewise.
63812         [C99-based-standards] (PRIXFAST16): Likewise.
63813         [C99-based-standards] (SCNdFAST16): Likewise.
63814         [C99-based-standards] (SCNiFAST16): Likewise.
63815         [C99-based-standards] (SCNoFAST16): Likewise.
63816         [C99-based-standards] (SCNuFAST16): Likewise.
63817         [C99-based-standards] (SCNxFAST16): Likewise.
63818         [C99-based-standards] (PRId32): Likewise.
63819         [C99-based-standards] (PRIi32): Likewise.
63820         [C99-based-standards] (PRIo32): Likewise.
63821         [C99-based-standards] (PRIu32): Likewise.
63822         [C99-based-standards] (PRIx32): Likewise.
63823         [C99-based-standards] (PRIX32): Likewise.
63824         [C99-based-standards] (SCNd32): Likewise.
63825         [C99-based-standards] (SCNi32): Likewise.
63826         [C99-based-standards] (SCNo32): Likewise.
63827         [C99-based-standards] (SCNu32): Likewise.
63828         [C99-based-standards] (SCNx32): Likewise.
63829         [C99-based-standards] (PRIdLEAST32): Likewise.
63830         [C99-based-standards] (PRIiLEAST32): Likewise.
63831         [C99-based-standards] (PRIoLEAST32): Likewise.
63832         [C99-based-standards] (PRIuLEAST32): Likewise.
63833         [C99-based-standards] (PRIxLEAST32): Likewise.
63834         [C99-based-standards] (PRIXLEAST32): Likewise.
63835         [C99-based-standards] (SCNdLEAST32): Likewise.
63836         [C99-based-standards] (SCNiLEAST32): Likewise.
63837         [C99-based-standards] (SCNoLEAST32): Likewise.
63838         [C99-based-standards] (SCNuLEAST32): Likewise.
63839         [C99-based-standards] (SCNxLEAST32): Likewise.
63840         [C99-based-standards] (PRIdFAST32): Likewise.
63841         [C99-based-standards] (PRIiFAST32): Likewise.
63842         [C99-based-standards] (PRIoFAST32): Likewise.
63843         [C99-based-standards] (PRIuFAST32): Likewise.
63844         [C99-based-standards] (PRIxFAST32): Likewise.
63845         [C99-based-standards] (PRIXFAST32): Likewise.
63846         [C99-based-standards] (SCNdFAST32): Likewise.
63847         [C99-based-standards] (SCNiFAST32): Likewise.
63848         [C99-based-standards] (SCNoFAST32): Likewise.
63849         [C99-based-standards] (SCNuFAST32): Likewise.
63850         [C99-based-standards] (SCNxFAST32): Likewise.
63851         [C99-based-standards] (PRId64): Likewise.
63852         [C99-based-standards] (PRIi64): Likewise.
63853         [C99-based-standards] (PRIo64): Likewise.
63854         [C99-based-standards] (PRIu64): Likewise.
63855         [C99-based-standards] (PRIx64): Likewise.
63856         [C99-based-standards] (PRIX64): Likewise.
63857         [C99-based-standards] (SCNd64): Likewise.
63858         [C99-based-standards] (SCNi64): Likewise.
63859         [C99-based-standards] (SCNo64): Likewise.
63860         [C99-based-standards] (SCNu64): Likewise.
63861         [C99-based-standards] (SCNx64): Likewise.
63862         [C99-based-standards] (PRIdLEAST64): Likewise.
63863         [C99-based-standards] (PRIiLEAST64): Likewise.
63864         [C99-based-standards] (PRIoLEAST64): Likewise.
63865         [C99-based-standards] (PRIuLEAST64): Likewise.
63866         [C99-based-standards] (PRIxLEAST64): Likewise.
63867         [C99-based-standards] (PRIXLEAST64): Likewise.
63868         [C99-based-standards] (SCNdLEAST64): Likewise.
63869         [C99-based-standards] (SCNiLEAST64): Likewise.
63870         [C99-based-standards] (SCNoLEAST64): Likewise.
63871         [C99-based-standards] (SCNuLEAST64): Likewise.
63872         [C99-based-standards] (SCNxLEAST64): Likewise.
63873         [C99-based-standards] (PRIdFAST64): Likewise.
63874         [C99-based-standards] (PRIiFAST64): Likewise.
63875         [C99-based-standards] (PRIoFAST64): Likewise.
63876         [C99-based-standards] (PRIuFAST64): Likewise.
63877         [C99-based-standards] (PRIxFAST64): Likewise.
63878         [C99-based-standards] (PRIXFAST64): Likewise.
63879         [C99-based-standards] (SCNdFAST64): Likewise.
63880         [C99-based-standards] (SCNiFAST64): Likewise.
63881         [C99-based-standards] (SCNoFAST64): Likewise.
63882         [C99-based-standards] (SCNuFAST64): Likewise.
63883         [C99-based-standards] (SCNxFAST64): Likewise.
63884         [C99-based-standards] (PRIdMAX): Likewise.
63885         [C99-based-standards] (PRIiMAX): Likewise.
63886         [C99-based-standards] (PRIoMAX): Likewise.
63887         [C99-based-standards] (PRIuMAX): Likewise.
63888         [C99-based-standards] (PRIxMAX): Likewise.
63889         [C99-based-standards] (PRIXMAX): Likewise.
63890         [C99-based-standards] (SCNdMAX): Likewise.
63891         [C99-based-standards] (SCNiMAX): Likewise.
63892         [C99-based-standards] (SCNoMAX): Likewise.
63893         [C99-based-standards] (SCNuMAX): Likewise.
63894         [C99-based-standards] (SCNxMAX): Likewise.
63895         [C99-based-standards] (PRIdPTR): Likewise.
63896         [C99-based-standards] (PRIiPTR): Likewise.
63897         [C99-based-standards] (PRIoPTR): Likewise.
63898         [C99-based-standards] (PRIuPTR): Likewise.
63899         [C99-based-standards] (PRIxPTR): Likewise.
63900         [C99-based-standards] (PRIXPTR): Likewise.
63901         [C99-based-standards] (SCNdPTR): Likewise.
63902         [C99-based-standards] (SCNiPTR): Likewise.
63903         [C99-based-standards] (SCNoPTR): Likewise.
63904         [C99-based-standards] (SCNuPTR): Likewise.
63905         [C99-based-standards] (SCNxPTR): Likewise.
63906         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63907         allow.
63908         * conform/data/stdint.h-data: Update comments to clarify
63909         requirements.
63910         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63911         type.
63912         [C99-based standards] (INT8_MAX): Likewise.
63913         [C99-based standards] (INT16_MIN): Likewise.
63914         [C99-based standards] (INT16_MAX): Likewise.
63915         [C99-based standards] (INT32_MIN): Likewise.
63916         [C99-based standards] (INT32_MAX): Likewise.
63917         [C99-based standards] (INT64_MIN): Likewise.
63918         [C99-based standards] (INT64_MAX): Likewise.
63919         [C99-based standards] (UINT8_MAX): Likewise.
63920         [C99-based standards] (UINT16_MAX): Likewise.
63921         [C99-based standards] (UINT32_MAX): Likewise.
63922         [C99-based standards] (UINT64_MAX): Likewise.
63923         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63924         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63925         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63926         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63927         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63928         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63929         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63930         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63931         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63932         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63933         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63934         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63935         [C99-based standards] (INT_FAST8_MIN): Likewise.
63936         [C99-based standards] (INT_FAST8_MAX): Likewise.
63937         [C99-based standards] (INT_FAST16_MIN): Likewise.
63938         [C99-based standards] (INT_FAST16_MAX): Likewise.
63939         [C99-based standards] (INT_FAST32_MIN): Likewise.
63940         [C99-based standards] (INT_FAST32_MAX): Likewise.
63941         [C99-based standards] (INT_FAST64_MIN): Likewise.
63942         [C99-based standards] (INT_FAST64_MAX): Likewise.
63943         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63944         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63945         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63946         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63947         [C99-based standards] (INTPTR_MIN): Likewise.
63948         [C99-based standards] (INTPTR_MAX): Likewise.
63949         [C99-based standards] (UINTPTR_MAX): Likewise.
63950         [C99-based standards] (INTMAX_MIN): Likewise.
63951         [C99-based standards] (INTMAX_MAX): Likewise.
63952         [C99-based standards] (UINTMAX_MAX): Likewise.
63953         [C99-based standards] (PTRDIFF_MIN): Likewise.
63954         [C99-based standards] (PTRDIFF_MAX): Likewise.
63955         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63956         [C99-based standards] (SIZE_MAX): Likewise.
63957         [C99-based standards] (WCHAR_MAX): Likewise.
63958         [C99-based standards] (WINT_MAX): Likewise.
63959         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63960         constraint on value.
63961         [C99-based standards] (WCHAR_MIN): Likewise.
63962         [C99-based standards] (WINT_MIN): Likewise.
63963         [C99-based standards] (*_t): Allow.
63964         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63965         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63966         Include math.h-data and complex.h-data.  Remove all expectations
63967         of math.h and complex.h contents.
63968         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63969         at end of line.
63970         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63971         (struct tm): Expect tag.
63972         [C99-based-standards] (wcstof): Expect function.
63973         [C99-based-standards] (wcstold): Likewise.
63974         [C99-based-standards] (wcstoll): Likewise.
63975         [C99-based-standards] (wcstoull): Likewise.
63976         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63977         macro-int-constant.  Specify type.
63978         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63979         constraint on value.
63980         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63981         Specify type.
63982         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63983         Specify value.
63984         [ISO C standards]: Do not allow headers.
63985         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63986         wcs[abcdefghijklmnopqrstuvwxyz]*.
63987         [ISO C standards] (*_t): Do not allow.
63988         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63989         Expect function.
63990         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63991         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63992         Specify type.
63993         [ISO C standards]: Do not allow headers.
63994         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63995         is[abcdefghijklmnopqrstuvwxyz]*.
63996         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63997         to[abcdefghijklmnopqrstuvwxyz]*.
63998         [ISO C standards] (*_t): Do not allow.
63999         * conform/data/stdalign.h-data: New file.
64000         * conform/data/stdbool.h-data: Likewise.
64001         * conform/data/stdnoreturn.h-data: Likewise.
64003 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64005         [BZ #14815]
64006         * manual/filesys.texi (Directory Entries): Typo fix.
64007         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64009 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64011         * elf/elf.h (EM_AARCH64): New macro.
64012         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64013         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64014         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64015         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64016         (R_AARCH64_TLSDESC): Likewise.
64017         (NT_ARM_TLS): Likewise.
64018         (NT_ARM_HW_BREAK): Likewise.
64019         (NT_ARM_HW_WATCH): Likewise.
64021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64023         [BZ #14811]
64024         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64025         (__ieee754_powl): Saturate nonzero exponents with absolute value
64026         below 0x1p-79 to +/- 0x1p-79.
64027         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64028         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64029         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64030         nonzero exponents with absolute value below 0x1p-32 to +/-
64031         0x1p-32.
64032         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64033         (__ieee754_powl): Saturate nonzero exponents with absolute value
64034         below 0x1p-79 to +/- 0x1p-79.
64035         * math/libm-test.inc (pow_test): Add more tests.
64037 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64039         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64040         _dl_s390_cap_flags with kernel. Increase string length.
64041         (_dl_s390_platforms): Add z196 and zEC12.
64043 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64045         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64046         Change XOPEN21K to XOPEN2K.
64048 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64050         * string/memmove.c: Use memcpy when possible.
64052 2012-11-06  Andreas Jaeger  <aj@suse.de>
64054         * po/eo.po: Update from translation team.
64056 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64058         [BZ #14793]
64059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64060         exponent and small x and y exponents, scale x or y up.  Increase
64061         by 2 the exponent used in scaling up.
64062         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64063         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64064         * math/libm-test.inc (fma_test): Add more tests.
64065         (fma_test_towardzero): Likewise.
64066         (fma_test_downward): Likewise.
64067         (fma_test_upward): Likewise.
64069 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64071         [BZ #14805]
64072         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64073         fenv_t *.
64075         [BZ #14801]
64076         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64077         namespace for names of struct fields.
64078         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64079         fenv_t fields.
64080         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64081         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64083 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64085         [BZ #3665]
64086         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64088 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64090         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64091         PTR_DEMANGLE.
64093         [BZ #5246]
64094         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64095         PTR_DEMANGLE.
64097 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64099         [BZ #14797]
64100         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64101         definitely overflow as x * y not x * y + z.
64102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64104         * math/libm-test.inc (fma_test): Add more tests.
64105         (fma_test_towardzero): Likewise.
64106         (fma_test_downward): Likewise.
64107         (fma_test_upward): Likewise.
64109 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64111         [BZ #157]
64113         * include/stub-tag.h: Remove file.
64114         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64115         '#include' of it.
64116         * manual/maint.texi (Porting): Don't reference it.
64117         * Makerules ($(objpfx)stubs): Likewise.
64118         * dirent/closedir.c: Don't include <stub-tag.h>.
64119         * dirent/dirfd.c: Likewise.
64120         * dirent/fdopendir.c: Likewise.
64121         * dirent/getdents.c: Likewise.
64122         * dirent/getdents64.c: Likewise.
64123         * dirent/opendir.c: Likewise.
64124         * dirent/readdir.c: Likewise.
64125         * dirent/readdir64.c: Likewise.
64126         * dirent/readdir64_r.c: Likewise.
64127         * dirent/readdir_r.c: Likewise.
64128         * dirent/rewinddir.c: Likewise.
64129         * dirent/seekdir.c: Likewise.
64130         * dirent/telldir.c: Likewise.
64131         * gmon/profil.c: Likewise.
64132         * grp/setgroups.c: Likewise.
64133         * inet/if_index.c: Likewise.
64134         * io/access.c: Likewise.
64135         * io/chdir.c: Likewise.
64136         * io/chmod.c: Likewise.
64137         * io/chown.c: Likewise.
64138         * io/close.c: Likewise.
64139         * io/dup.c: Likewise.
64140         * io/dup2.c: Likewise.
64141         * io/dup3.c: Likewise.
64142         * io/euidaccess.c: Likewise.
64143         * io/faccessat.c: Likewise.
64144         * io/fchdir.c: Likewise.
64145         * io/fchmod.c: Likewise.
64146         * io/fchmodat.c: Likewise.
64147         * io/fchown.c: Likewise.
64148         * io/fchownat.c: Likewise.
64149         * io/fcntl.c: Likewise.
64150         * io/flock.c: Likewise.
64151         * io/fstatfs.c: Likewise.
64152         * io/fstatfs64.c: Likewise.
64153         * io/fstatvfs.c: Likewise.
64154         * io/fstatvfs64.c: Likewise.
64155         * io/futimens.c: Likewise.
64156         * io/fxstat.c: Likewise.
64157         * io/fxstat64.c: Likewise.
64158         * io/fxstatat.c: Likewise.
64159         * io/fxstatat64.c: Likewise.
64160         * io/getcwd.c: Likewise.
64161         * io/isatty.c: Likewise.
64162         * io/lchmod.c: Likewise.
64163         * io/lchown.c: Likewise.
64164         * io/link.c: Likewise.
64165         * io/linkat.c: Likewise.
64166         * io/lseek.c: Likewise.
64167         * io/lseek64.c: Likewise.
64168         * io/lxstat64.c: Likewise.
64169         * io/mkdir.c: Likewise.
64170         * io/mkdirat.c: Likewise.
64171         * io/mkfifo.c: Likewise.
64172         * io/mkfifoat.c: Likewise.
64173         * io/open.c: Likewise.
64174         * io/open64.c: Likewise.
64175         * io/openat.c: Likewise.
64176         * io/openat64.c: Likewise.
64177         * io/pipe.c: Likewise.
64178         * io/pipe2.c: Likewise.
64179         * io/poll.c: Likewise.
64180         * io/posix_fadvise.c: Likewise.
64181         * io/posix_fadvise64.c: Likewise.
64182         * io/posix_fallocate.c: Likewise.
64183         * io/posix_fallocate64.c: Likewise.
64184         * io/read.c: Likewise.
64185         * io/readlink.c: Likewise.
64186         * io/readlinkat.c: Likewise.
64187         * io/rmdir.c: Likewise.
64188         * io/sendfile.c: Likewise.
64189         * io/sendfile64.c: Likewise.
64190         * io/statfs.c: Likewise.
64191         * io/statfs64.c: Likewise.
64192         * io/statvfs.c: Likewise.
64193         * io/statvfs64.c: Likewise.
64194         * io/symlink.c: Likewise.
64195         * io/symlinkat.c: Likewise.
64196         * io/ttyname.c: Likewise.
64197         * io/ttyname_r.c: Likewise.
64198         * io/umask.c: Likewise.
64199         * io/unlink.c: Likewise.
64200         * io/unlinkat.c: Likewise.
64201         * io/utime.c: Likewise.
64202         * io/utimensat.c: Likewise.
64203         * io/write.c: Likewise.
64204         * io/xmknod.c: Likewise.
64205         * io/xmknodat.c: Likewise.
64206         * io/xstat.c: Likewise.
64207         * io/xstat64.c: Likewise.
64208         * login/getpt.c: Likewise.
64209         * login/grantpt.c: Likewise.
64210         * login/unlockpt.c: Likewise.
64211         * math/e_acoshl.c: Likewise.
64212         * math/e_acosl.c: Likewise.
64213         * math/e_asinl.c: Likewise.
64214         * math/e_atan2l.c: Likewise.
64215         * math/e_atanhl.c: Likewise.
64216         * math/e_coshl.c: Likewise.
64217         * math/e_expl.c: Likewise.
64218         * math/e_fmodl.c: Likewise.
64219         * math/e_gammal_r.c: Likewise.
64220         * math/e_hypotl.c: Likewise.
64221         * math/e_j0l.c: Likewise.
64222         * math/e_j1l.c: Likewise.
64223         * math/e_jnl.c: Likewise.
64224         * math/e_lgammal_r.c: Likewise.
64225         * math/e_log10l.c: Likewise.
64226         * math/e_log2l.c: Likewise.
64227         * math/e_logl.c: Likewise.
64228         * math/e_powl.c: Likewise.
64229         * math/e_rem_pio2l.c: Likewise.
64230         * math/e_sinhl.c: Likewise.
64231         * math/e_sqrtl.c: Likewise.
64232         * math/fclrexcpt.c: Likewise.
64233         * math/fedisblxcpt.c: Likewise.
64234         * math/feenablxcpt.c: Likewise.
64235         * math/fegetenv.c: Likewise.
64236         * math/fegetexcept.c: Likewise.
64237         * math/fegetround.c: Likewise.
64238         * math/feholdexcpt.c: Likewise.
64239         * math/fesetenv.c: Likewise.
64240         * math/fesetround.c: Likewise.
64241         * math/feupdateenv.c: Likewise.
64242         * math/fgetexcptflg.c: Likewise.
64243         * math/fraiseexcpt.c: Likewise.
64244         * math/fsetexcptflg.c: Likewise.
64245         * math/ftestexcept.c: Likewise.
64246         * math/k_cosl.c: Likewise.
64247         * math/k_rem_pio2l.c: Likewise.
64248         * math/k_sinl.c: Likewise.
64249         * math/k_tanl.c: Likewise.
64250         * math/s_asinhl.c: Likewise.
64251         * math/s_atanl.c: Likewise.
64252         * math/s_cbrtl.c: Likewise.
64253         * math/s_erfl.c: Likewise.
64254         * math/s_expm1l.c: Likewise.
64255         * math/s_log1pl.c: Likewise.
64256         * math/s_tanhl.c: Likewise.
64257         * misc/acct.c: Likewise.
64258         * misc/brk.c: Likewise.
64259         * misc/chflags.c: Likewise.
64260         * misc/chroot.c: Likewise.
64261         * misc/fchflags.c: Likewise.
64262         * misc/fgetxattr.c: Likewise.
64263         * misc/flistxattr.c: Likewise.
64264         * misc/fremovexattr.c: Likewise.
64265         * misc/fsetxattr.c: Likewise.
64266         * misc/fsync.c: Likewise.
64267         * misc/ftruncate.c: Likewise.
64268         * misc/futimes.c: Likewise.
64269         * misc/futimesat.c: Likewise.
64270         * misc/getdomain.c: Likewise.
64271         * misc/getdtsz.c: Likewise.
64272         * misc/gethostid.c: Likewise.
64273         * misc/gethostname.c: Likewise.
64274         * misc/getloadavg.c: Likewise.
64275         * misc/getpagesize.c: Likewise.
64276         * misc/getsysstats.c: Likewise.
64277         * misc/getxattr.c: Likewise.
64278         * misc/gtty.c: Likewise.
64279         * misc/ioctl.c: Likewise.
64280         * misc/lgetxattr.c: Likewise.
64281         * misc/listxattr.c: Likewise.
64282         * misc/llistxattr.c: Likewise.
64283         * misc/lremovexattr.c: Likewise.
64284         * misc/lsetxattr.c: Likewise.
64285         * misc/lutimes.c: Likewise.
64286         * misc/madvise.c: Likewise.
64287         * misc/mincore.c: Likewise.
64288         * misc/mlock.c: Likewise.
64289         * misc/mlockall.c: Likewise.
64290         * misc/mmap.c: Likewise.
64291         * misc/mprotect.c: Likewise.
64292         * misc/msync.c: Likewise.
64293         * misc/munlock.c: Likewise.
64294         * misc/munlockall.c: Likewise.
64295         * misc/munmap.c: Likewise.
64296         * misc/preadv.c: Likewise.
64297         * misc/preadv64.c: Likewise.
64298         * misc/ptrace.c: Likewise.
64299         * misc/pwritev.c: Likewise.
64300         * misc/pwritev64.c: Likewise.
64301         * misc/readv.c: Likewise.
64302         * misc/reboot.c: Likewise.
64303         * misc/remap_file_pages.c: Likewise.
64304         * misc/removexattr.c: Likewise.
64305         * misc/revoke.c: Likewise.
64306         * misc/select.c: Likewise.
64307         * misc/setdomain.c: Likewise.
64308         * misc/setegid.c: Likewise.
64309         * misc/seteuid.c: Likewise.
64310         * misc/sethostid.c: Likewise.
64311         * misc/sethostname.c: Likewise.
64312         * misc/setregid.c: Likewise.
64313         * misc/setreuid.c: Likewise.
64314         * misc/setxattr.c: Likewise.
64315         * misc/sstk.c: Likewise.
64316         * misc/stty.c: Likewise.
64317         * misc/swapoff.c: Likewise.
64318         * misc/swapon.c: Likewise.
64319         * misc/sync.c: Likewise.
64320         * misc/syncfs.c: Likewise.
64321         * misc/syscall.c: Likewise.
64322         * misc/truncate.c: Likewise.
64323         * misc/ualarm.c: Likewise.
64324         * misc/usleep.c: Likewise.
64325         * misc/ustat.c: Likewise.
64326         * misc/utimes.c: Likewise.
64327         * misc/vhangup.c: Likewise.
64328         * misc/writev.c: Likewise.
64329         * posix/_exit.c: Likewise.
64330         * posix/alarm.c: Likewise.
64331         * posix/execve.c: Likewise.
64332         * posix/fexecve.c: Likewise.
64333         * posix/fork.c: Likewise.
64334         * posix/fpathconf.c: Likewise.
64335         * posix/getaddrinfo.c: Likewise.
64336         * posix/getegid.c: Likewise.
64337         * posix/geteuid.c: Likewise.
64338         * posix/getgid.c: Likewise.
64339         * posix/getgroups.c: Likewise.
64340         * posix/getlogin.c: Likewise.
64341         * posix/getlogin_r.c: Likewise.
64342         * posix/getpgid.c: Likewise.
64343         * posix/getpid.c: Likewise.
64344         * posix/getppid.c: Likewise.
64345         * posix/getresgid.c: Likewise.
64346         * posix/getresuid.c: Likewise.
64347         * posix/getsid.c: Likewise.
64348         * posix/getuid.c: Likewise.
64349         * posix/glob64.c: Likewise.
64350         * posix/nanosleep.c: Likewise.
64351         * posix/pathconf.c: Likewise.
64352         * posix/pause.c: Likewise.
64353         * posix/posix_madvise.c: Likewise.
64354         * posix/pread.c: Likewise.
64355         * posix/pread64.c: Likewise.
64356         * posix/pwrite.c: Likewise.
64357         * posix/pwrite64.c: Likewise.
64358         * posix/sched_getaffinity.c: Likewise.
64359         * posix/sched_getp.c: Likewise.
64360         * posix/sched_gets.c: Likewise.
64361         * posix/sched_primax.c: Likewise.
64362         * posix/sched_primin.c: Likewise.
64363         * posix/sched_rr_gi.c: Likewise.
64364         * posix/sched_setaffinity.c: Likewise.
64365         * posix/sched_setp.c: Likewise.
64366         * posix/sched_sets.c: Likewise.
64367         * posix/sched_yield.c: Likewise.
64368         * posix/setgid.c: Likewise.
64369         * posix/setlogin.c: Likewise.
64370         * posix/setpgid.c: Likewise.
64371         * posix/setresgid.c: Likewise.
64372         * posix/setresuid.c: Likewise.
64373         * posix/setsid.c: Likewise.
64374         * posix/setuid.c: Likewise.
64375         * posix/sleep.c: Likewise.
64376         * posix/spawni.c: Likewise.
64377         * posix/sysconf.c: Likewise.
64378         * posix/times.c: Likewise.
64379         * posix/wait.c: Likewise.
64380         * posix/wait3.c: Likewise.
64381         * posix/wait4.c: Likewise.
64382         * posix/waitpid.c: Likewise.
64383         * resolv/gai_sigqueue.c: Likewise.
64384         * resource/getpriority.c: Likewise.
64385         * resource/getrlimit.c: Likewise.
64386         * resource/getrusage.c: Likewise.
64387         * resource/nice.c: Likewise.
64388         * resource/setpriority.c: Likewise.
64389         * resource/setrlimit.c: Likewise.
64390         * resource/ulimit.c: Likewise.
64391         * rt/aio_cancel.c: Likewise.
64392         * rt/aio_fsync.c: Likewise.
64393         * rt/aio_read.c: Likewise.
64394         * rt/aio_sigqueue.c: Likewise.
64395         * rt/aio_suspend.c: Likewise.
64396         * rt/aio_write.c: Likewise.
64397         * rt/clock_getres.c: Likewise.
64398         * rt/clock_gettime.c: Likewise.
64399         * rt/clock_nanosleep.c: Likewise.
64400         * rt/clock_settime.c: Likewise.
64401         * rt/lio_listio.c: Likewise.
64402         * rt/mq_close.c: Likewise.
64403         * rt/mq_getattr.c: Likewise.
64404         * rt/mq_notify.c: Likewise.
64405         * rt/mq_open.c: Likewise.
64406         * rt/mq_receive.c: Likewise.
64407         * rt/mq_send.c: Likewise.
64408         * rt/mq_setattr.c: Likewise.
64409         * rt/mq_timedreceive.c: Likewise.
64410         * rt/mq_timedsend.c: Likewise.
64411         * rt/mq_unlink.c: Likewise.
64412         * rt/shm_open.c: Likewise.
64413         * rt/shm_unlink.c: Likewise.
64414         * rt/timer_create.c: Likewise.
64415         * rt/timer_delete.c: Likewise.
64416         * rt/timer_getoverr.c: Likewise.
64417         * rt/timer_gettime.c: Likewise.
64418         * rt/timer_settime.c: Likewise.
64419         * setjmp/__longjmp.c: Likewise.
64420         * setjmp/setjmp.c: Likewise.
64421         * signal/kill.c: Likewise.
64422         * signal/killpg.c: Likewise.
64423         * signal/raise.c: Likewise.
64424         * signal/sigaction.c: Likewise.
64425         * signal/sigaltstack.c: Likewise.
64426         * signal/sigblock.c: Likewise.
64427         * signal/sigignore.c: Likewise.
64428         * signal/sigintr.c: Likewise.
64429         * signal/signal.c: Likewise.
64430         * signal/sigpause.c: Likewise.
64431         * signal/sigpending.c: Likewise.
64432         * signal/sigqueue.c: Likewise.
64433         * signal/sigreturn.c: Likewise.
64434         * signal/sigset.c: Likewise.
64435         * signal/sigsetmask.c: Likewise.
64436         * signal/sigstack.c: Likewise.
64437         * signal/sigsuspend.c: Likewise.
64438         * signal/sigtimedwait.c: Likewise.
64439         * signal/sigvec.c: Likewise.
64440         * signal/sigwait.c: Likewise.
64441         * signal/sigwaitinfo.c: Likewise.
64442         * signal/sysv_signal.c: Likewise.
64443         * socket/accept.c: Likewise.
64444         * socket/accept4.c: Likewise.
64445         * socket/bind.c: Likewise.
64446         * socket/connect.c: Likewise.
64447         * socket/getpeername.c: Likewise.
64448         * socket/getsockname.c: Likewise.
64449         * socket/getsockopt.c: Likewise.
64450         * socket/isfdtype.c: Likewise.
64451         * socket/listen.c: Likewise.
64452         * socket/recv.c: Likewise.
64453         * socket/recvfrom.c: Likewise.
64454         * socket/recvmsg.c: Likewise.
64455         * socket/send.c: Likewise.
64456         * socket/sendmsg.c: Likewise.
64457         * socket/sendto.c: Likewise.
64458         * socket/setsockopt.c: Likewise.
64459         * socket/shutdown.c: Likewise.
64460         * socket/sockatmark.c: Likewise.
64461         * socket/socket.c: Likewise.
64462         * socket/socketpair.c: Likewise.
64463         * stdio-common/ctermid.c: Likewise.
64464         * stdio-common/cuserid.c: Likewise.
64465         * stdio-common/remove.c: Likewise.
64466         * stdio-common/rename.c: Likewise.
64467         * stdio-common/renameat.c: Likewise.
64468         * stdio-common/tempname.c: Likewise.
64469         * stdlib/getcontext.c: Likewise.
64470         * stdlib/makecontext.c: Likewise.
64471         * stdlib/setcontext.c: Likewise.
64472         * stdlib/swapcontext.c: Likewise.
64473         * stdlib/system.c: Likewise.
64474         * streams/fattach.c: Likewise.
64475         * streams/fdetach.c: Likewise.
64476         * streams/getmsg.c: Likewise.
64477         * streams/getpmsg.c: Likewise.
64478         * streams/putmsg.c: Likewise.
64479         * streams/putpmsg.c: Likewise.
64480         * sysdeps/unix/bsd/getpt.c: Likewise.
64481         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64482         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64483         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64485         Likewise.
64486         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64487         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64488         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64489         * sysvipc/msgctl.c: Likewise.
64490         * sysvipc/msgget.c: Likewise.
64491         * sysvipc/msgrcv.c: Likewise.
64492         * sysvipc/msgsnd.c: Likewise.
64493         * sysvipc/semctl.c: Likewise.
64494         * sysvipc/semget.c: Likewise.
64495         * sysvipc/semop.c: Likewise.
64496         * sysvipc/semtimedop.c: Likewise.
64497         * sysvipc/shmat.c: Likewise.
64498         * sysvipc/shmctl.c: Likewise.
64499         * sysvipc/shmdt.c: Likewise.
64500         * sysvipc/shmget.c: Likewise.
64501         * termios/tcdrain.c: Likewise.
64502         * termios/tcflow.c: Likewise.
64503         * termios/tcflush.c: Likewise.
64504         * termios/tcgetattr.c: Likewise.
64505         * termios/tcgetpgrp.c: Likewise.
64506         * termios/tcsendbrk.c: Likewise.
64507         * termios/tcsetattr.c: Likewise.
64508         * termios/tcsetpgrp.c: Likewise.
64509         * time/adjtime.c: Likewise.
64510         * time/clock.c: Likewise.
64511         * time/getitimer.c: Likewise.
64512         * time/gettimeofday.c: Likewise.
64513         * time/setitimer.c: Likewise.
64514         * time/settimeofday.c: Likewise.
64515         * time/stime.c: Likewise.
64516         * time/time.c: Likewise.
64518 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64520         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64521         /usr/old/bin.
64523         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64524         instead of spaces.
64525         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64527 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64529         [BZ #14796]
64530         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64531         FE_TONEAREST before applying Dekker multiplication and Knuth
64532         addition.  Clear inexact exceptions and check for exact zero
64533         results afterwards.
64534         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64535         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64536         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64537         * math/libm-test.inc (fma_test): Add more tests.
64538         (fma_test_towardzero): Likewise.
64539         (fma_test_downward): Likewise.
64540         (fma_test_upward): Likewise.
64541         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64542         function.
64543         (libc_fesetround): New macro.
64544         (libc_fesetroundf): Likewise.
64545         (libc_fesetroundl): Likewise.
64546         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64547         function.
64548         (libc_fesetround_387): Likewise.
64549         (libc_fesetroundf): New macro.
64550         (libc_fesetround): Likewise.
64551         (libc_fesetroundl): Likewise.
64552         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64553         function.
64554         (libc_fesetroundf): New macro.
64555         (libc_fesetround): Likewise.
64556         (libc_fesetroundl): Likewise.
64557         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64558         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64559         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64560         libm_hidden_ver.
64561         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64562         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64563         libm_hidden_def.
64564         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64565         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64566         libm_hidden_ver.
64567         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64568         libm_hidden_def.
64570         [BZ #3439]
64571         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64572         integer constant usable in #if and use that to give value to enum
64573         constant.
64574         (FE_DIVBYZERO): Likewise.
64575         (FE_UNDERFLOW): Likewise.
64576         (FE_OVERFLOW): Likewise.
64577         (FE_INVALID): Likewise.
64578         (FE_INVALID_SNAN): Likewise.
64579         (FE_INVALID_ISI): Likewise.
64580         (FE_INVALID_IDI): Likewise.
64581         (FE_INVALID_ZDZ): Likewise.
64582         (FE_INVALID_IMZ): Likewise.
64583         (FE_INVALID_COMPARE): Likewise.
64584         (FE_INVALID_SOFTWARE): Likewise.
64585         (FE_INVALID_SQRT): Likewise.
64586         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64587         (FE_TONEAREST): Likewise.
64588         (FE_TOWARDZERO): Likewise.
64589         (FE_UPWARD): Likewise.
64590         (FE_DOWNWARD): Likewise.
64591         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64592         (FE_DIVBYZERO): Likewise.
64593         (FE_OVERFLOW): Likewise.
64594         (FE_UNDERFLOW): Likewise.
64595         (FE_INEXACT): Likewise.
64596         (FE_TONEAREST): Likewise.
64597         (FE_DOWNWARD): Likewise.
64598         (FE_UPWARD): Likewise.
64599         (FE_TOWARDZERO): Likewise.
64600         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64601         (FE_UNDERFLOW): Likewise.
64602         (FE_OVERFLOW): Likewise.
64603         (FE_DIVBYZERO): Likewise.
64604         (FE_INVALID): Likewise.
64605         (FE_TONEAREST): Likewise.
64606         (FE_TOWARDZERO): Likewise.
64607         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64608         (FE_OVERFLOW): Likewise.
64609         (FE_UNDERFLOW): Likewise.
64610         (FE_DIVBYZERO): Likewise.
64611         (FE_INEXACT): Likewise.
64612         (FE_TONEAREST): Likewise.
64613         (FE_TOWARDZERO): Likewise.
64614         (FE_UPWARD): Likewise.
64615         (FE_DOWNWARD): Likewise.
64616         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64617         (FE_DIVBYZERO): Likewise.
64618         (FE_OVERFLOW): Likewise.
64619         (FE_UNDERFLOW): Likewise.
64620         (FE_INEXACT): Likewise.
64621         (FE_TONEAREST): Likewise.
64622         (FE_DOWNWARD): Likewise.
64623         (FE_UPWARD): Likewise.
64624         (FE_TOWARDZERO): Likewise.
64626 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64628         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64630 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64632         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64633         commands.  Quote $PWD.
64634         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64635         -x" by "export".
64636         (remove_newlines): Remove.
64638 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64640         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64641         * stdlib/stdlib.h (atof): Moved to ...
64642         * include/bits/stdlib-float.h: Here.  New file.
64643         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64644         * stdlib/bits/stdlib-float.h: New file.
64645         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64646         -mno-sse -mno-mmx.
64647         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64648         <xmmintrin.h>.
64650 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64652         * conform/conformtest.pl (@headers): Add fenv.h.
64653         * conform/data/fenv.h-data: New file.
64654         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64655         include of <math/fenv.h>.
64657         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64658         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64659         && !UNIX98].  Enables tests for XOPEN2K8.
64660         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64661         POSIX2008]: Likewise.
64663         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64664         (struct rusage): Do not expect type or its members.
64666         [BZ #3439]
64667         * math/math.h (FP_NAN): Define macro to integer constant usable in
64668         #if and use that to give value to enum constant.
64669         (FP_INFINITE): Likewise.
64670         (FP_ZERO): Likewise.
64671         (FP_SUBNORMAL): Likewise.
64672         (FP_NORMAL): Likewise.
64674 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64676         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64677         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64678         arguments.
64680 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64682         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64683         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64684         autoconf-time if not.
64685         * configure.in: Remove AC_PREREQ.
64687 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64689         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64690         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64691         of the internal implementation.
64693 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64695         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64696         except include of <misc/sys/syslog.h>.
64698 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64701         function returns with a NULL context exit with zero.
64703 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64705         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64707 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64709         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64710         (run_program_cmd): This.
64711         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64712         (tst_langinfo): New variable.  Use it.
64714 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64716         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64717         floating point opcodes.
64719 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64721         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64722         variable.
64724         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64726         * sysdeps/mach/hurd/powerpc: Remove directory.
64727         * sysdeps/mach/powerpc: Likewise.
64729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64731         * scripts/check-local-headers.sh: Ignore c++ headers.
64733 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64735         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64736         __libc_cleanup_region_start argument.
64738 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64740         [BZ #14784]
64741         [BZ #14785]
64742         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64743         x * y using scaling, not as x * y + z.
64744         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64745         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64746         * math/libm-test.inc (fma_test): Add more tests.
64747         (fma_test_towardzero): Likewise.
64748         (fma_test_downward): Likewise.
64749         (fma_test_upward): Likewise.
64751 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64753         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64755 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64757         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64758         New variable.
64760 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64762         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64764 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64767         Fix sort order.
64768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64769         Likewise.
64771 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64774         Fix the order of the list for glibc 2.17.
64775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64776         Likewise.
64778 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64782 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64784         [BZ #14610]
64785         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64786         for low part of x being zero before using __atanl (y).
64787         * math/libm-test.inc (atan2_test): Add another test.
64789         * manual/install.texi (Configuring and compiling): Document
64790         general use of test-wrapper and test-wrapper-env.
64791         * INSTALL: Regenerated.
64793         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64794         (__fma): Do not extract and scale down low bits on after-rounding
64795         systems when result rounded to normal precision would have normal
64796         exponent.
64797         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64798         (__fmal): Do not extract and scale down low bits on after-rounding
64799         systems when result rounded to normal precision would have normal
64800         exponent.
64801         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64802         (__fmal): Do not extract and scale down low bits on after-rounding
64803         systems when result rounded to normal precision would have normal
64804         exponent.
64805         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64806         macro.
64807         (fma_test): Add more tests.
64808         (fma_test_towardzero): Likewise.
64809         (fma_test_downward): Likewise.
64810         (fma_test_upward): Likewise.
64812 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64814         * sysdeps/i386/tininess.h: Renamed to ...
64815         * sysdeps/x86/tininess.h: This.
64816         * sysdeps/x86_64/tininess.h: Removed.
64818 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64820         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64821         input.  Use $(build-program-cmd).
64822         ($(objpfx)tst-array1-static.out): Likewise.
64823         ($(objpfx)tst-array2.out): Likewise.
64824         ($(objpfx)tst-array3.out): Likewise.
64825         ($(objpfx)tst-array4.out): Likewise.
64826         ($(objpfx)tst-array5.out): Likewise.
64827         ($(objpfx)tst-array5-static.out): Likewise.
64829 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64831         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64832         if defined.
64834         * nss/nsswitch.h (nss_interface_function): Provide new
64835         macro for use with NSS functions.
64836         * grp/initgroups.c: Use new macro.
64837         * nss/getXXbyYY.c: Likewise.
64838         * nss/getXXbyYY_r.c: Likewise.
64839         * nss/getXXent.c: Likewise.
64840         * nss/getXXent_r.c: Likewise.
64841         * sysdeps/posix/getaddrinfo.c: Likewise.
64843 2012-10-30  Andreas Jaeger  <aj@suse.de>
64845         * po/ru.po: Update Russion translation from translation project.
64847 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64849         [BZ #14152]
64850         [BZ #14783]
64851         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64852         result and shift together with sticky bit instead of replicating
64853         round-to-nearest rounding.
64854         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64855         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64856         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64857         missing underflow exceptions.
64858         (fma_test_towardzero): Add more tests.
64859         (fma_test_downward): Likewise.
64860         (fma_test_upward): Likewise.
64862         [BZ #14047]
64863         * sysdeps/generic/tininess.h: New file.
64864         * sysdeps/i386/tininess.h: Likewise.
64865         * sysdeps/sh/tininess.h: Likewise.
64866         * sysdeps/x86_64/tininess.h: Likewise.
64867         * stdlib/tst-strtod-underflow.c: Likewise.
64868         * stdlib/tst-tininess.c: Likewise.
64869         * stdlib/strtod_l.c: Include <tininess.h>.
64870         (round_and_return): Do not set errno for exact underflow cases.
64871         Force an underflow exception when setting errno for underflow.
64872         Determine underflow based on rounding to normal precision if
64873         TININESS_AFTER_ROUNDING.
64874         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64875         ERANGE for exact underflow cases.
64876         * stdlib/Makefile (tests): Add tst-tininess and
64877         tst-strtod-underflow.
64878         ($(objpfx)tst-tininess): Use $(link-libm).
64879         ($(objpfx)tst-strtod-underflow): Likewise.
64881 2012-10-30  Andreas Jaeger  <aj@suse.de>
64883         [BZ#14767]
64884         * elf/Makefile (tests): Remove conditional for have-initfini-array
64885         since this is now always required and the variable does not exist
64886         anymore.
64887         (tests-static): Likewise.
64888         (modules-names): Likewise.
64890         * po/eo.po: Add Esperanto translation from translation project.
64892         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64893         merged with constructor/destructor.
64894         (init_array): Likewise.
64895         * elf/tst-array2dep.c (fini_array): Likewise.
64896         (init_array): Likewise.
64898 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64900         * manual/message.texi: Delete @cartouche tags.
64902 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64904         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64905         EOPNOTSUPP.
64906         * sysdeps/mach/hurd/fsync.c: Likewise.
64908         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64909         [_POSIX_REALTIME_SIGNALS]: Change condition to
64910         [_POSIX_REALTIME_SIGNALS > 0].
64912 2012-10-27  Andreas Jaeger  <aj@suse.de>
64914         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64915         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64916         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64917         [__WORDSIZE != 64]: Likewise.
64919 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64921         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64922         *  iconvdata/tst-tables.sh: Likewise.
64924 2012-10-25  David S. Miller  <davem@davemloft.net>
64926         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64927         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64928         of strtoull.
64930         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64931         ifunc-impl-list.c
64932         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64933         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64934         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64935         file.
64937 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64940         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64941         __getdirentries.
64943 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64944             Jim Blandy  <jimb@codesourcery.com>
64946         * scripts/cross-test-ssh.sh: New file.
64947         * manual/install.texi (Configuring and compiling): Document use of
64948         cross-test-ssh.sh.
64949         * INSTALL: Regenerated.
64951 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64953         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64954         EOPNOTSUPP.
64956 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64958         * Makeconfig (run-program-prefix): Fix comment.
64960 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64961             Jim Blandy  <jimb@codesourcery.com>
64963         * Makeconfig (test-wrapper): New variable,
64964         (test-wrapper-env): Likewise.
64965         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64966         (run-built-tests): Define to yes.
64967         (run-program-prefix): Use $(test-wrapper).
64968         (built-program-cmd): Likewise.
64969         * Rules (make-test-out): Use $(test-wrapper-env) and
64970         $(host-built-program-cmd).
64971         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64972         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64973         tst-pathopt.sh.
64974         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64975         $(test-wrapper-env) to tst-rtld-load-self.sh.
64976         ($(objpfx)order2.out): Use $(test-wrapper).
64977         ($(objpfx)tst-initorder.out): Likewise.
64978         ($(objpfx)tst-initorder2.out): Likewise.
64979         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64980         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64981         (test_wrapper_env): New variable.  Use it to run ld.so.
64982         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64983         Use it to run ld.so.
64984         (test_wrapper_env): Likewise.
64985         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64986         $(test-wrapper) to run-iconv-test.sh.
64987         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64988         (ICONV): Use $test_wrapper.
64989         * posix/Makefile ($(objpfx)globtest.out): Pass
64990         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64991         globtest.sh, not $(run-program-prefix).
64992         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64993         (test_wrapper): Likewise.
64994         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64995         set together with run_via_rtld_prefix.
64996         (run_program_prefix): Define in terms of test_wrapper and
64997         run_via_rtld_prefix.
64999 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65001         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65002         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65003         Targets removed.
65005         [BZ #14743]
65006         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65007         Declare __clock_getres, __clock_gettime, __clock_settime,
65008         __clock_nanosleep, and __clock_getcpuclockid.
65009         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65010         Remove librt_hidden_def (clock_gettime).
65011         * sysdeps/unix/clock_gettime.c: Likewise.
65012         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65013         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65014         * rt/clock_getres.c: Define __clock_getres as an alias.
65015         * sysdeps/posix/clock_getres.c: Likewise.
65016         * rt/clock_settime.c: Define __clock_settime as an alias.
65017         * sysdeps/unix/clock_settime.c: Likewise.
65018         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65019         * sysdeps/unix/clock_nanosleep.c: Likewise.
65020         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65021         * rt/clock-compat.c: New file.
65022         * rt/Makefile (librt-routines): Add clock-compat and move
65023         $(clock-routines) to ...
65024         (routines): ... here, new variable.
65025         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65026         Don't add get_clockfreq here.
65027         * rt/Versions (libc: GLIBC_2.17): New version set.
65028         Add clock_* symbols here.
65029         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65030         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65031         (GLIBC_2.17): Add clock_* symbols.
65032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65034         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65036         Likewise.
65037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65038         Likewise.
65039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65043         * NEWS: Mention the move.
65045         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65046         Use __open, __read, __close rather than their public counterparts.
65047         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65048         (__get_clockfreq_via_cpuinfo): Likewise.
65049         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65050         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65052         * config.h.in (HAVE_IFUNC): New #undef.
65053         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65054         was successful.
65055         * configure: Regenerated.
65057 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65059         * configure.in: Move READELF check to start of file.
65060         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65061         libc_cv_asm_gnu_indirect_function in the process.
65062         * configure: Regenerated.
65064 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65066         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65067         send the output to /dev/null.
65068         (libc_cv_cc_with_libunwind): Likewise.
65069         (libc_cv_as_noexecstack): Likewise.
65070         * configure: Regenerate.
65072 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65074         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65076         * posix/globtest.sh (TMPDIR): Do not set.
65077         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65078         (testout): Likewise.
65080 2012-10-24  Andreas Jaeger  <aj@suse.de>
65082         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65083         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65084         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65085         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65086         posix_fadvise64, posix_fallocate64.
65088         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65089         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65090         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65091         Likewise.
65092         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65093         Likewise.
65094         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65097         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65098         <bits/fcntl-linux.h>.
65099         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65101         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65102         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65103         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65104         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65105         [__WORDSIZE != 64]: Likewise.
65107 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65109         * Makeconfig (run-built-tests): New variable.
65110         * Rules [$(cross-compiling) = yes]: Change condition to
65111         [$(run-built-tests) = no].
65112         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65113         to [$(run-built-tests) = yes].
65114         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65115         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65116         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65117         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65118         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65119         * io/Makefile [$(cross-compiling) = no]: Likewise.
65120         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65121         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65122         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65123         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65124         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65125         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65126         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65127         * string/Makefile [$(cross-compiling) = no]: Likewise.
65129         * posix/Makefile ($(objpfx)globtest.out): Pass
65130         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65131         $(rtld-installed-name).
65132         * posix/globtest.sh (elf_objpfx): Remove variable.
65133         (rtld_installed_name): Likewise.
65134         (library_path): Likewise.
65135         (run_program_prefix): New variable.  Use for running globtest
65136         binary.
65138 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65139             Joseph Myers  <joseph@codesourcery.com>
65141         * Makeconfig (host-built-program-cmd): New variable.
65142         * elf/Makefile (tst-stackguard1-ARGS): Use
65143         $(host-built-program-cmd).
65144         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65145         (tst-spawn-ARGS): Likewise.
65146         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65148 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65149             Jim Blandy  <jimb@codesourcery.com>
65151         * Makeconfig (run-via-rtld-prefix): New variable.
65152         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65153         (built-program-cmd): Likewise.
65155 2012-10-22  Andreas Jaeger  <aj@suse.de>
65157         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65158         __O_RSYNC if it exists, otherwise to O_SYNC.
65160 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65161             Joseph Myers  <joseph@codesourcery.com>
65163         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65164         /dev/null.
65165         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65166         from /dev/null
65167         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65168         /dev/null.
65170 2012-10-22  Andreas Jaeger  <aj@suse.de>
65172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65173         Define always.
65174         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65176         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65177         bits/fcntl-linux.h.
65179         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65180         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65183         to __O_LARGEFILE.
65184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65185         to __O_LARGEFILE.
65187 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65188             Joseph Myers  <joseph@codesourcery.com>
65190         * config.make.in (NM): New variable.
65192 2012-10-21  Andreas Jaeger  <aj@suse.de>
65194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65195         definitions and declarations that are provided by
65196         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65198 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65200         [BZ #14683]
65201         * elf/Makefile (tests-static): Add tst-leaks1-static.
65202         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65203         ($(objpfx)tst-leaks1-static): New rule.
65204         ($(objpfx)tst-leaks1-static-mem): Likewise.
65205         (tst-leaks1-static-ENV): New macro.
65206         * elf/dl-open.c (dl_open_worker): Check the main application
65207         only if SHARED is defined.
65208         * elf/tst-leaks1-static.c: New file.
65210 2012-10-20  Andreas Jaeger  <aj@suse.de>
65212         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65213         generic values for Linux.
65214         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65215         and declarations that are provided by <bits/fcntl-linux.h> and
65216         include <bits/fcntl-linux.h>.
65217         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65218         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65220 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65222         * io/fcntl.h: Move include of <bits/types.h> to the top and
65223         include it unconditionally.
65225 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65227         * wcsmbs/Makefile (tests-ifunc): New variable.
65228         (tests): Add $(tests-ifunc).
65229         * wcsmbs/test-wcschr-ifunc.c: New file.
65230         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65231         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65232         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65233         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65234         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65236         * string/Makefile (tests-ifunc): New variable.
65237         (tests): Add $(tests-ifunc).
65238         * string/test-memccpy.c (TEST_NAME): New macro.
65239         * string/test-memchr.c (TEST_NAME): Likewise.
65240         * string/test-memcmp.c (TEST_NAME): Likewise.
65241         * string/test-memcpy.c (TEST_NAME): Likewise.
65242         * string/test-memmem.c (TEST_NAME): Likewise.
65243         * string/test-memmove.c (TEST_NAME): Likewise.
65244         * string/test-memset.c (TEST_NAME): Likewise.
65245         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65246         * string/test-stpcpy.c (TEST_NAME): Likewise.
65247         * string/test-stpncpy.c (TEST_NAME): Likewise.
65248         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65249         * string/test-strcasestr.c (TEST_NAME): Likewise.
65250         * string/test-strcat.c (TEST_NAME): Likewise.
65251         * string/test-strchr.c (TEST_NAME): Likewise.
65252         * string/test-strcmp.c(TEST_NAME): Likewise.
65253         * string/test-strcpy.c (TEST_NAME): Likewise.
65254         * string/test-strcspn.c (TEST_NAME): Likewise.
65255         * string/test-strlen.c (TEST_NAME): Likewise.
65256         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65257         * string/test-strncmp.c (TEST_NAME): Likewise.
65258         * string/test-strncpy.c (TEST_NAME): Likewise.
65259         * string/test-strnlen.c (TEST_NAME): Likewise.
65260         * string/test-strpbrk.c (TEST_NAME): Likewise.
65261         * string/test-strrchr.c (TEST_NAME): Likewise.
65262         * string/test-strspn.c (TEST_NAME): Likewise.
65263         * string/test-strstr.c (TEST_NAME): Likewise.
65264         * string/test-bcopy-ifunc.c: New file.
65265         * string/test-bzero-ifunc.c: Likewise.
65266         * string/test-memccpy-ifunc.c: Likewise.
65267         * string/test-memchr-ifunc.c: Likewise.
65268         * string/test-memcmp-ifunc.c: Likewise.
65269         * string/test-memcpy-ifunc.c: Likewise.
65270         * string/test-memmem-ifunc.c: Likewise.
65271         * string/test-memmove-ifunc.c: Likewise.
65272         * string/test-mempcpy-ifunc.c: Likewise.
65273         * string/test-memset-ifunc.c: Likewise.
65274         * string/test-rawmemchr-ifunc.c: Likewise.
65275         * string/test-stpcpy-ifunc.c: Likewise.
65276         * string/test-stpncpy-ifunc.c: Likewise.
65277         * string/test-strcasecmp-ifunc.c: Likewise.
65278         * string/test-strcasestr-ifunc.c: Likewise.
65279         * string/test-strcat-ifunc.c: Likewise.
65280         * string/test-strchr-ifunc.c: Likewise.
65281         * string/test-strchrnul-ifunc.c: Likewise.
65282         * string/test-strcmp-ifunc.c: Likewise.
65283         * string/test-strcpy-ifunc.c: Likewise.
65284         * string/test-strcspn-ifunc.c: Likewise.
65285         * string/test-strlen-ifunc.c: Likewise.
65286         * string/test-strncasecmp-ifunc.c: Likewise.
65287         * string/test-strncat-ifunc.c: Likewise.
65288         * string/test-strncmp-ifunc.c: Likewise.
65289         * string/test-strncpy-ifunc.c: Likewise.
65290         * string/test-strnlen-ifunc.c: Likewise.
65291         * string/test-strpbrk-ifunc.c: Likewise.
65292         * string/test-strrchr-ifunc.c: Likewise.
65293         * string/test-strspn-ifunc.c: Likewise.
65294         * string/test-strstr-ifunc.c: Likewise.
65296         * debug/Makefile (tests-ifunc): New variable.
65297         (tests): Add $(tests-ifunc).
65298         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65299         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65300         * debug/test-stpcpy_chk-ifunc.c: New file.
65301         * debug/test-strcpy_chk-ifunc.c: Likewise.
65303 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65305         [BZ #13601]
65306         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65307         header is not read in.
65309 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65311         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65312         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65313         directly.  Pass built executable to script as
65314         $(built-program-cmd).
65315         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65316         $testprogram without using LD_LIBRARY_PATH and $ldso.
65318         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65319         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65320         $(rtld-installed-name).
65321         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65322         (rtld_installed_name): Likewise.
65323         (library_path): Likewise.
65324         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65325         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65326         $(run-program-prefix) to tst-tables.sh.
65327         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65328         it to run tst-table-from and tst-table-to.
65329         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65330         Pass it to tst-table.sh.
65331         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65332         $(run-program-prefix) to tst-gettext.sh.
65333         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65334         tst-translit.sh.
65335         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65336         tst-gettext2.sh.
65337         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65338         to run tst-gettext.
65339         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65340         to run tst-gettext2.
65341         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65342         to run tst-translit.
65343         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65344         $(run-program-prefix) to tst-mtrace.sh.
65345         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65346         to run tst-mtrace.
65347         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65348         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65349         $(rtld-installed-name).
65350         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65351         (rtld_installed_name): Likewise.
65352         (run_program_prefix): New variable.  Use it to run wordexp-test.
65354         * Makeconfig (ARCH): Remove all definitions.
65355         (machine): Likewise.
65356         [ARCH]: Remove conditional code.
65357         [!objdir]: Give error.
65358         [!objdir] (objpfx): Remove.
65359         [!objdir] (common-objpfx): Likewise.
65360         [!objdir] (common-objdir): Likewise.
65361         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65362         AC_CONFIG_FILES call.
65363         * configure: Regenerated.
65365         [BZ #13888]
65366         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65367         or TMPDIR.
65368         (testout): Likewise.
65370         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65371         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65372         $(rtld-installed-name).
65373         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65374         (rtld_installed_name): Likewise.
65375         (runit): Remove function.
65376         (run_getconf): New variable,  Use it for running getconf binary.
65378 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65380         [BZ #14716]
65381         * string/test-memmem.c (check_result): New function.
65382         (do_one_test): Use it.
65383         (check1): New function.
65384         (test_main): Use it.
65386 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65388         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65390 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65392         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65393         (_G_LSEEK64): Likewise.
65394         (_G_MMAP64): Likewise.
65395         (_G_FSTAT64): Likewise.
65396         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65397         (_G_LSEEK64): Likewise.
65398         (_G_MMAP64): Likewise.
65399         (_G_FSTAT64): Likewise.
65400         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65401         unconditional.  Call __mmap64 directly.
65402         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65403         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65404         __lseek64 directly.
65405         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65406         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65407         __mmap64 directly.
65408         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65409         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65410         __lseek64 directly.
65411         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65412         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65413         __lseek64 directly.
65414         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65415         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65416         __lseek64 directly.
65417         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65418         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65419         __fxstat64 directly.
65420         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65421         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65422         unconditional.
65423         (freopen64) [!_G_OPEN64]: Remove conditional code.
65424         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65425         unconditional.
65426         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65427         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65428         unconditional.
65429         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65430         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65431         unconditional.
65432         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65433         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65434         unconditional.
65435         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65436         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65437         unconditional.
65438         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65439         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65440         unconditional.
65441         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65442         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65443         unconditional.
65444         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65446 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65448         [BZ #12140]
65449         * manual/memory.texi (Malloc Tunable Parameters): Add note
65450         about free list pointers overwriting some perturb bytes.
65451         Wording suggested by Roland McGrath.
65453 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65455         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65456         (lgamma_test): Likewise.
65457         (tgamma_test): Likewise.
65459 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65461         [BZ #14700]
65462         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65463         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65465 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65467         * NEWS: Mention BZ #14716.
65468         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65469         when removing AVAILABLE1_USES_J macro.
65471 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65473         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65474         (__bswap_64): __uint64_t for unsigned 64-bit int.
65476 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65478         * include/string.h (memmem): Declare libc hidden alias.
65479         * string/memmem.c (memmem): Define libc hidden alias.
65480         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65481         __read, __close instead of open, read, close.
65483 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65485         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65486         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65487         global and hidden.
65488         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65489         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65490         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65491         Likewise.
65492         (__rawmemchr_sse2): Likewise.
65493         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65494         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65495         (__strchr_sse2): Likewise.
65496         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65497         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65498         (__strcasecmp_sse2): Likewise.
65499         (__strncasecmp_sse2): Likewise.
65500         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65501         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65502         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65503         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65504         (__strrchr_sse2): Likewise.
65505         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65506         ifunc-impl-list.c.
65507         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65508         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65509         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65510         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65511         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65513         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65515         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65516         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65517         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65518         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65519         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65520         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65521         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65522         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65523         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65524         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65525         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65526         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65527         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65528         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65529         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65530         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65531         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65532         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65533         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65534         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65535         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65536         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65538         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65539         global and hidden.
65540         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65541         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65542         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65543         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65544         Likewise.
65545         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65546         Likewise.
65547         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65548         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65549         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65550         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65551         ifunc-impl-list.c.
65552         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65553         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65554         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65562         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65563         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65564         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65565         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65566         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65568         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65569         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65570         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65571         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65572         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65573         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65574         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65575         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65577         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65578         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65579         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65580         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65581         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65582         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65583         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65584         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65585         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65586         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65587         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65588         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65589         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65590         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65591         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65592         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65594         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65595         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65596         * include/ifunc-impl-list.h: New file.
65597         * misc/ifunc-impl-list.c: Likewise.
65598         * misc/Makefile (routines): Add ifunc-impl-list.
65599         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65600         * string/test-string.h: Include <ifunc-impl-list.h>.
65601         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65602         TEST_NAME]: New variables.
65603         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65604         are defined.
65605         (test_init): Call __libc_ifunc_impl_list to initialize
65606         func_list if TEST_IFUNC and TEST_NAME are defined.
65608         * string/Makefile (strop-tests): Add bcopy and bzero.
65609         * string/test-bcopy.c: New file.
65610         * string/test-bzero.c: Likewise.
65611         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65612         defined.
65613         * string/test-memset.c: Support bzero test if TEST_BZERO is
65614         defined.
65615         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65616         __libc_memmove.
65617         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65618         __libc_memset.
65619         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65620         of memset.
65622 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65624         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65625         * configure: Regenerated.
65627         * Makeconfig (+link-static-before-libc): Don't include
65628         $(link-static-libc).
65630         * libio/libio.h (_IO_pos_t): Remove.
65632 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65634         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65635         McGrath.
65637 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65639         * crypt/crypt-entry.c: Include fips-private.h.
65640         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65641         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65642         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65643         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65645 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65647         * crypt/crypt-private.h: Include stdbool.h.
65648         (_ufc_setup_salt_r): Return bool.
65649         * crypt/crypt-entry.c: Include errno.h.
65650         (__crypt_r): Return NULL with EINVAL for bad salt.
65651         * crypt/crypt_util.c (bad_for_salt): New.
65652         (_ufc_setup_salt_r): Check that salt is long enough and within
65653         the specified alphabet.
65654         * crypt/badsalttest.c: New file.
65655         * crypt/Makefile (tests): Add it.
65656         ($(objpfx)badsalttest): New.
65658 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65660         * NEWS: Add entry for BZ #14602.
65662 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65664         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65665         type-generic.
65666         * math/libm-test.inc: Update comment listing what functions and
65667         macros are tested.
65668         (isgreater_test): New function.
65669         (isgreaterequal_test): Likewise.
65670         (isless_test): Likewise.
65671         (islessequal_test): Likewise.
65672         (islessgreater_test): Likewise.
65673         (isunordered_test): Likewise.
65674         (main): Call the new functions.
65676 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65678         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65679         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65680         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65681         * sysdeps/i386/configure: Regenerated.
65682         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65683         * sysdeps/mach/configure: Regenerated.
65684         * sysdeps/mach/hurd/configure: Regenerated.
65685         * sysdeps/powerpc/configure: Regenerated.
65686         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65687         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65688         * sysdeps/s390/s390-32/configure: Regenerated.
65689         * sysdeps/s390/s390-64/configure: Regenerated.
65690         * sysdeps/sh/configure: Regenerated.
65691         * sysdeps/sparc/configure: Regenerated.
65692         * sysdeps/unix/sysv/linux/configure: Regenerated.
65693         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65694         * sysdeps/x86_64/configure: Regenerated.
65696         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65697         defined.  Don't check if MAP is NULL.
65699 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65701         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65702         (_G_stat64): Likewise.
65703         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65704         (_G_stat64): Likewise.
65705         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65706         instead of struct _G_stat64.
65707         * libio/fileops.c (mmap_remap_check): Likewise.
65708         (decide_maybe_mmap): Likewise.
65709         (_IO_new_file_seekoff): Likewise.
65710         (_IO_file_stat): Likewise.
65711         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65712         _G_off64_t.
65713         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65714         instead of struct _G_stat64.
65715         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65717 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65719         [BZ #14602]
65720         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65721         Replace with ...
65722         (CHECK_EOL): New macro.
65723         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65724         CHECK_EOL.
65725         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65726         Replace with CHECK_EOL.
65727         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65728         Replace with CHECK_EOL.
65730 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65732         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65733         type-generic.
65734         * math/libm-test.inc: Update comment listing what functions and
65735         macros are tested.
65736         (finite_test): New function.
65737         (isinf_test): Likewise.
65738         (isnan_test): Likewise.
65739         (fpclassify_test): Test subnormal input.
65740         (isfinite_test): Likewise.
65741         (isnormal_test): Likewise.
65742         (main): Call the new functions.
65744 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65746         [BZ #14660]
65747         * Makerules (%.dynsym): Force C locale when running
65748         $(OBJDUMP) --dynamic-syms.
65750 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65752         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65753         <stdint.h>.
65755 2012-10-06  David S. Miller  <davem@davemloft.net>
65757         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65758         upper 32-bits of the length value in %o2 since we use branch-on-register
65759         tests which consider the entire 64-bit register.
65761 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65763         * string/test-strstr.c (check2): Add a test for page boundary.
65765 2012-10-05  David S. Miller  <davem@davemloft.net>
65767         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65768         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65769         file.
65770         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65771         sysdep_routines.
65772         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65773         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65774         and bzero when HWCAP_SPARC_CRYPTO is present.
65776 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65778         [BZ #14602]
65779         * string/test-strstr.c (check2): New function.
65780         (test_main): Call check2.
65782         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65783         and bug-strchr1.
65784         * string/bug-strcasestr1.c (do_test): Moved to ...
65785         * string/test-strcasestr.c (check1): Here.  New function.
65786         (do_one_test): Break out result checking code into ...
65787         (check_result): This.  New function.
65788         (do_one_test): Call check_result.
65789         (test_main): Call check1.
65790         * string/bug-strchr1.c (do_test): Moved to ...
65791         * string/test-strchr.c (check1): Here.  New function.
65792         (do_one_test): Break out result checking code into ...
65793         (check_result): This.  New function.
65794         (do_one_test): Call check_result.
65795         (test_main): Call check1.
65796         * string/bug-strstr1.c (main): Moved to ...
65797         * string/test-strstr.c (check1): Here.  New function.
65798         (do_one_test): Break out result checking code into ...
65799         (check_result): This.  New function.
65800         (do_one_test): Call check_result.
65801         (test_main): Call check1.
65802         * string/bug-strcasestr1.c: Removed.
65803         * string/bug-strchr1.c: Likewise.
65804         * string/bug-strstr1.c: Likewise.
65806         * elf/Makefile (dl-routines): Add hwcaps.
65807         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65808         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65809         (_dl_important_hwcaps): Moved to ...
65810         * elf/dl-hwcaps.c: Here.  New file.
65811         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65813         [BZ #14557]
65814         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65815         if IS_IN_rtld isn't defined.
65817         * elf/dl-support.c (_dl_sysinfo_map): New.
65818         Include "get-dynamic-info.h" and "setup-vdso.h".
65819         (_dl_non_dynamic_init): Call setup_vdso.
65820         * elf/dynamic-link.h: Don't include <assert.h>.
65821         (elf_get_dynamic_info): Moved to ...
65822         * elf/get-dynamic-info.h: Here.  New file.
65823         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65824         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65825         * elf/setup-vdso.h: Here.  New file.
65826         * elf/rtld.c: Include "setup-vdso.h".
65827         (dl_main): Call setup_vdso.
65829 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65831         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65832         creal in comment listing functions tested.  List finite, isinf,
65833         isnan, isless, islessequal, isgreater, isgreaterequal,
65834         islessgreater, isunordered, lgamma_r and pow10 as functions and
65835         macros not tested.  Mention which functions not tested are aliases
65836         for other functions.  Fix typo.  Note that signs of NaNs are not
65837         tested.
65839         * scripts/config.guess: Update from config.git.
65840         * scripts/config.sub: Likewise.
65842 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65844         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65845         * misc/madvise.c (madvise): Renamed to __madvise.
65846         Make madvise a weak alias.
65847         * include/sys/mman.h: Declare __madvise.
65848         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65849         * sysdeps/unix/syscalls.list
65850         (madvise): Make __madvise the strong name, and madvise a weak alias.
65851         * sysdeps/unix/sysv/linux/syscalls.list
65852         (madvise, mmap): Remove redundant entries.
65853         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65854         * malloc/malloc.c (mtrim): Likewise.
65855         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65857 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65859         * sysdeps/mach/hurd/dl-cache.c: File removed.
65860         * config.h.in (USE_LDCONFIG): New #undef.
65861         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65862         * configure: Regenerated.
65863         * elf/Makefile (dl-routines): Add dl-cache only under
65864         [$(use-ldconfig) = yes].
65865         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65866         cache on [USE_LDCONFIG].
65867         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65868         [USE_LDCONFIG].
65869         * elf/rtld.c (dl_main): Likewise.
65871 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65873         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65874         _SC_LEVEL4_CACHE_LINESIZE.
65876 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65878         * sysdeps/unix/bsd/confstr.h: File removed.
65880 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65882         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65883         sys/sdt-config.h.
65885 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65887         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65888         Make 'mapoff' field ElfW(Off) rather than off_t.
65890 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65892         * nscd/Makefile: Remove nscd-cflags and all its users.
65893         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65894         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65896         [BZ #10631]
65897         * malloc.c (malloc_printerr): Clarify error message.
65899 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65901         [BZ #14648]
65902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65903         Set bit_FMA_Usable if FMA is supported.
65904         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65905         macro.
65906         (bit_FMA4_Usable): Updated.
65907         (index_FMA_Usable): New macro.
65908         (CPUID_FMA): Likewise.
65909         (HAS_FMA): Defined with bit_FMA_Usable.
65911 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65913         * bits/types.h (__swblk_t): Type removed.
65914         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65915         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65916         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65917         (__SWBLK_T_TYPE): Likewise.
65918         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65919         (__SWBLK_T_TYPE): Likewise.
65920         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65921         (__SWBLK_T_TYPE): Likewise.
65922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65923         (__SWBLK_T_TYPE): Likewise.
65925 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65926             Honza Horak <hhorak@redhat.com>
65928         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65929         (xdr_mapname): Use YPMAXMAP as maxsize.
65930         (xdr_peername): Use YPMAXPEER as maxsize.
65931         (xdr_keydat): Use YPAXRECORD as maxsize.
65932         (xdr_valdat): Use YPMAXRECORD as maxsize.
65934 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65936         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65938         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65939         * csu/init-first.c: ... here.
65940         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65941         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65942         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65943         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65944         * sysdeps/i386/init-first.c: File removed.
65945         * sysdeps/sh/init-first.c: File removed.
65947 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65949         [BZ #14645]
65950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65951         if x * y might underflow to zero and z is zero.
65952         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65953         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65954         * math/libm-test.inc (min_subnorm_value): New variable.
65955         (fma_test): Add more tests.
65956         (fma_test_towardzero): Likewise.
65957         (fma_test_downward): Likewise.
65958         (fma_test_upward): Likewise.
65959         (initialize): Set min_subnorm_value.
65961 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65963         [BZ #14638]
65964         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65965         0 + 0.
65966         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65967         mode for addition resulting in exact zero.
65968         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65969         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65970         exact 0 + 0.
65971         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65972         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65973         * math/libm-test.inc (fma_test): Add more tests.
65974         (fma_test_towardzero): New function.
65975         (fma_test_downward): Likewise.
65976         (fma_test_upward): Likewise.
65977         (main): Call the new functions.
65979 2012-09-28  David S. Miller  <davem@davemloft.net>
65981         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65983 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65985         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65986         instead of SIGALRM.
65988         * sysdeps/gnu/_G_config.h: Moved to ...
65989         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65990         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65991         * sysdeps/generic/_G_config.h: ... here.
65993         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65995         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65997         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65998         Conditionalize target on [libnss_test1.so-version].
66000         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66002         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66003         (elfobjdir): Move out of conditionals.
66005         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66006         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66007         (__nss_lookup_function): Conditionalize label remove_from_tree on
66008         [!DO_STATIC_NSS || SHARED], matching its only use.
66010 2012-09-28  David S. Miller  <davem@davemloft.net>
66012         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66013         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66014         file.
66015         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66016         sysdep_routines.
66017         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66019         when HWCAP_SPARC_CRYPTO is present.
66021 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66023         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66025 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66027         [BZ #6530]
66028         * stdio-common/vfprintf.c (process_string_arg): Revert
66029         2000-07-22 change.
66031 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66033         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66034         for testcase.
66035         * stdio-common/tst-sprintf.c: Include <locale.h>
66036         (main): Test sprintf's handling of incomplete multibyte
66037         characters.
66039 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66041         * elf/dl-runtime.c (VERSYMIDX): Removed.
66042         * elf/dl-version.c (VERSYMIDX): Likewise.
66043         * elf/do-rel.h (VERSYMIDX): Likewise.
66044         (VALIDX): Likewise.
66045         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66046         * elf/rtld.c (VALIDX): Likewise.
66047         (ADDRIDX): Likewise.
66048         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66049         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66050         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66051         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66052         (VALIDX): Likewise.
66053         (ADDRIDX): Likewise.
66055 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66057         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66059 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66061         [BZ #11438]
66062         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66063         to global scope.
66064         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66065         addresses are in the same scope as 192.0.2/24.
66066         * posix/gai.conf: Document new scope table defaults.
66068 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66070         [BZ #5298]
66071         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66072         for ftell.  Compute offsets from write pointers instead.
66073         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66075 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66077         [BZ #14543]
66078         * libio/Makefile (tests): New test case tst-fseek.
66079         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66080         combination works in wide mode.
66081         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66082         state when the external buffer state changes.
66084 2012-09-27  David S. Miller  <davem@davemloft.net>
66086         [BZ #14376]
66087         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66088         pass reloc->r_addend in as the 'high' argument to
66089         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66093 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66095         * rt/tst-aio2.c: Include <pthread.h>.
66096         * rt/tst-aio3.c: Likewise.
66098 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66100         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66102 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66104         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66105         contents on [SHARED].
66107 2012-09-26  Marek Polacek  <polacek@redhat.com>
66109         [BZ #14530]
66110         [BZ #13741]
66111         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66112         for C++ and GCC <4.3 as well as for non GCC compilers.
66114 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66118 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66120         * Makefile.in (all, install): Declare with .PHONY.
66121         Reported by Michael Hope <michael.hope@linaro.org>.
66123 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66125         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66126         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66127         system header.
66128         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66129         Likewise.
66130         (sydep_routines): Add the new and the internal functions.
66131         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66132         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66134         (GLIBC_2.17): Add the new function.
66135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66136         (GLIBC_2.17): Likewise.
66137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66138         (GLIBC_2.17): Likewise.
66139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66140         (GLIBC_2.17): Likewise.
66141         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66143 2012-09-25  Alan Modra  <amodra@gmail.com>
66145         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66146         Add release barrier before setting once_control to say
66147         initialisation is done.  Add hints on lwarx.  Use macro in
66148         place of isync.
66149         (clear_once_control): Add release barrier.
66151 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66153         [BZ #13629]
66154         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66155         specially.
66156         * math/s_clog10.c (__clog10): Likewise.
66157         * math/s_clog10f.c (__clog10f): Likewise.
66158         * math/s_clog10l.c (__clog10l): Likewise.
66159         * math/s_clogf.c (__clogf): Likewise.
66160         * math/s_clogl.c (__clogl): Likewise.
66161         * math/Makefile (libm-calls): Add x2y2m1.
66162         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66163         (__x2y2m1): Likewise.
66164         (__x2y2m1l): Likewise.
66165         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66166         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66169         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66170         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66171         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66172         * sysdeps/i386/fpu/libm-test-ulps: Update.
66173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66175         [BZ #14621]
66176         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66177         int as type of variable DEPTH.
66178         (glob): Use size_t instead of int as type of variables NEWCOUNT
66179         and OLD_PATHC.
66181 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66183         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66184         Add s_sincosf-sse2.
66185         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66187         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66188         macros for using routine as __sincosf_ia32.
66189         Use macro for function declaration and weak_alias.
66190         * sysdeps/i386/fpu/libm-test-ulps: Update.
66192         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66195         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66196         subnormal argument.
66197         * math/s_cexpf.c (__cexpf): Likewise.
66198         * math/s_csinf.c (__csinf): Likewise.
66199         * math/s_csinhf.c (__csinhf): Likewise.
66200         * math/s_ctanf.c (__ctanf): Likewise.
66201         * math/s_ctanhf.c (__ctanhf): Likewise.
66202         * math/s_ccosh.c (__ccoshf): Likewise.
66203         * math/s_cexp.c (__cexpl): Likewise.
66204         * math/s_csin.c (__csin): Likewise.
66205         * math/s_csinh.c (__csinh): Likewise.
66206         * math/s_ctan.c (__ctan): Likewise.
66207         * math/s_ctanh.c (ctanh): Likewise.
66208         * math/s_ccoshl.c (__ccoshl): Likewise.
66209         * math/s_cexpl.c (__cexpl): Likewise.
66210         * math/s_csinl.c (__csinl): Likewise.
66211         * math/s_csinhl.c (__csinhl): Likewise.
66212         * math/s_ctanl.c (__ctanl): Likewise.
66213         * math/s_ctanhl.c (__ctanhl): Likewise.
66215 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66217         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66218         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66219         (_IO_off_t): Define to __off_t, not _G_off_t.
66220         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66221         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66222         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66223         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66224         type of __dummy and __dummy2 fields.
66225         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66226         (_G_ssize_t): Likewise.
66227         (_G_off_t): Likewise.
66228         (_G_pid_t): Likewise.
66229         (_G_uid_t): Likewise.
66230         (_G_wchar_t): Likewise.
66231         (_G_wint_t): Likewise.
66232         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66233         (_G_ssize_t): Likewise.
66234         (_G_off_t): Likewise.
66235         (_G_pid_t): Likewise.
66236         (_G_uid_t): Likewise.
66237         (_G_wchar_t): Likewise.
66238         (_G_wint_t): Likewise.
66239         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66240         (_G_ssize_t): Likewise.
66241         (_G_off_t): Likewise.
66242         (_G_pid_t): Likewise.
66243         (_G_uid_t): Likewise.
66244         (_G_wchar_t): Likewise.
66245         (_G_wint_t): Likewise.
66247 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66249         * malloc/arena.c: Include malloc-sysdep.h.
66250         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66251         is sufficient to shrink the heap or an unmap is needed.
66252         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66253         new function check_may_shrink_heap.
66254         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66255         new function check_may_shrink_heap.
66257 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66259         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66260         comments.
66262 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66264         * catgets/test-gencat.sh: Add "set -e".
66265         * elf/tst-pathopt.sh: Likewise.
66266         * grp/tst_fgetgrent.sh: Likewise.
66267         * iconvdata/run-iconv-test.sh: Likewise.
66268         * intl/tst-gettext.sh: Likewise.
66269         * intl/tst-gettext2.sh: Likewise.
66270         * intl/tst-gettext4.sh: Likewise.
66271         * intl/tst-gettext6.sh: Likewise.
66272         * intl/tst-translit.sh: Likewise.
66273         * io/ftwtest-sh: Likewise.
66274         * libio/test-freopen.sh: Likewise.
66275         * malloc/tst-mtrace.sh: Likewise.
66276         * posix/globtest.sh: Likewise.
66277         * posix/tst-getconf.sh: Likewise.
66278         * posix/wordexp-tst.sh: Likewise.
66279         * stdio-common/tst-printf.sh: Likewise.
66280         * stdio-common/tst-unbputc.sh: Likewise.
66281         * stdlib/tst-fmtmsg.sh: Likewise.
66282         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66283         * catgets/Makefile: Do not specify -e option when running
66284         testsuite shell scripts.
66285         * elf/Makefile: Likewise.
66286         * grp/Makefile: Likewise.
66287         * iconvdata/Makefile: Likewise.
66288         * intl/Makefile: Likewise.
66289         * io/Makefile: Likewise.
66290         * libio/Makefile: Likewise.
66291         * malloc/Makefile: Likewise.
66292         * posix/Makefile: Likewise.
66293         * stdio-common/Makefile: Likewise.
66294         * stdlib/Makefile: Likewise.
66295         * sysdeps/x86_64/Makefile: Likewise.
66297         * io/ftwtest-sh: Add copyright header.
66298         * posix/globtest.sh: Likewise.
66299         * posix/tst-getconf.sh: Likewise.
66300         * posix/wordexp-tst.sh: Likewise.
66301         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66303 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66305         [BZ #13679]
66306         * Makeconfig (+link): Defined as $(+link-static) if
66307         $(build-shared) isn't yes.
66308         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66309         isn't yes.
66310         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66312         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66314         [BZ #14562]
66315         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66316         new chunk size with MALLOC_ALIGN_MASK.
66318 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66320         [BZ #5044]
66321         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66322         <rounding-mode.h>.
66323         (__printf_fphex): Determine rounding using get_rounding_mode and
66324         round_away.
66325         * stdio-common/tst-printf-round.c (struct hex_test): New
66326         structure.
66327         (hex_tests): New variable.
66328         (test_hex_in_one_mode): New function.
66329         (do_test): Also run tests for hex float output.
66331 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66333         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66334         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66335         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66336         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66337         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66338         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66339         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66340         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66342 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66344         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66345         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66346         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66347         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66349 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66351         [BZ #14579]
66352         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66353         mode only.
66354         * elf/tst-rtld-load-self.sh: New test.
66355         * elf/Makefile: Run it.
66357 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66359         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66360         (tst-writev-ENV): Remove.
66361         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66363 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66365         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66367 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66369         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66370         unconditional.
66371         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66372         Likewise.
66373         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66374         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66375         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66376         Likewise.
66378 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66380         [BZ #14587]
66381         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66382         * config.make.in (have-cpp-asm-debuginfo): Removed.
66383         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66384         * configure: Regenerated.
66386 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66388         [BZ #5044]
66389         * stdio-common/printf_fp.c: Include <stdbool.h> and
66390         <rounding-mode.h>.
66391         (___printf_fp): Determine rounding using get_rounding_mode and
66392         round_away.
66393         * stdio-common/tst-printf-round.c: New file.
66394         * stdio-common/Makefile (tests): Add tst-printf-round.
66395         (link-libm): New variable.
66396         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66398 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66400         [BZ #14576]
66401         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66402         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66403         Likewise.
66404         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66405         Likewise.
66407 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66409         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66410         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66411         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66412         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66414 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66416         [BZ #14518]
66417         * include/rounding-mode.h: New file.
66418         * sysdeps/generic/get-rounding-mode.h: Likewise.
66419         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66420         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66421         (MAX_VALUE): New macro.
66422         (MIN_VALUE): Likewise.
66423         (overflow_value): New function.
66424         (underflow_value): Likewise.
66425         (round_and_return): Use overflow_value and underflow_value to
66426         determine return values in overflow and underflow cases.  Use
66427         round_away to determine rounding depending on rounding mode.
66428         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66429         determine return values in overflow and underflow cases.
66430         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66431         (struct test_results): New structure.
66432         (struct test): Use struct test_results to store expected results
66433         for all rounding modes.
66434         (TEST): Include expected results for all rounding modes.
66435         (test_in_one_mode): New function.
66436         (do_test): Use test_in_one_mode to compute and check results.
66437         Check results for all rounding modes.
66438         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66439         $(link-libm).
66441 2012-12-09  Allan McRae  <allan@archlinux.org>
66443         * sysdeps/i386/fpu/libm-test-ulps: Update
66445 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66447         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66448         (_G_int32_t): Likewise.
66449         (_G_uint16_t): Likewise.
66450         (_G_uint32_t): Likewise.
66451         (_G_HAVE_BOOL): Likewise.
66452         (_G_HAVE_ATEXIT): Likewise.
66453         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66454         (_G_HAVE_IO_FILE_OPEN): Likewise.
66455         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66456         (_G_int32_t): Likewise.
66457         (_G_uint16_t): Likewise.
66458         (_G_uint32_t): Likewise.
66459         (_G_HAVE_BOOL): Likewise.
66460         (_G_HAVE_ATEXIT): Likewise.
66461         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66462         (_G_HAVE_IO_FILE_OPEN): Likewise.
66463         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66464         (_G_int32_t): Likewise.
66465         (_G_uint16_t): Likewise.
66466         (_G_uint32_t): Likewise.
66467         (_G_HAVE_BOOL): Likewise.
66468         (_G_HAVE_ATEXIT): Likewise.
66469         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66470         (_G_HAVE_IO_FILE_OPEN): Likewise.
66472 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66474         * csu/libc-tls.c: Update copyright years.
66476 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66478         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66479         [!_G_USING_THUNKS]: Remove conditional code.
66480         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66481         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66483         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66484         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66485         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66486         (_G_VTABLE_LABEL_PREFIX): Likewise.
66487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66488         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66489         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66490         (_G_VTABLE_LABEL_PREFIX): Likewise.
66491         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66492         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66493         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66494         (_G_VTABLE_LABEL_PREFIX): Likewise.
66495         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66497 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66499         * libio/Makefile: Include ../Makeconfig before tests.
66500         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66501         only if $(build-shared) is yes.
66503         * iconv/gconv_db.c: Update copyright years.
66505 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66507         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66508         unwind info if defined PIC. Fix special cases description.
66509         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66511         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66512         DP_HI_MASK entry.
66513         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66515 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66517         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66519         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66520         is NULL.
66522         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66523         (LDLIBS-tst-chk4): This.
66524         (LDFLAGS-tst-chk5): Renamed to ...
66525         (LDLIBS-tst-chk5): This.
66526         (LDFLAGS-tst-chk6): Renamed to ...
66527         (LDLIBS-tst-chk6): This.
66528         (LDFLAGS-tst-lfschk4): Renamed to ...
66529         (LDLIBS-tst-lfschk4): This.
66530         (LDFLAGS-tst-lfschk5): Renamed to ...
66531         (LDLIBS-tst-lfschk5): This.
66532         (LDFLAGS-tst-lfschk6): Renamed to ...
66533         (LDLIBS-tst-lfschk6): This.
66535         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66536         on $(common-objpfx)soversions.mk.
66538 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66540         [BZ #10014]
66541         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66542         example host name.
66544 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66546         * malloc/arena.c (arena_get_retry): New function that gets
66547         another arena for the caller to try its request on.
66548         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66549         current arena cannot fulfill the request.
66550         (__libc_memalign): Likewise.
66551         (__libc_memalign): Likewise.
66552         (__libc_pvalloc): Likewise.
66553         (__libc_calloc): Likewise.
66555 2012-09-05  John Tobey  <john.tobey@gmail.com>
66557         [BZ #13542]
66558         * manual/arith.texi (Operations on Complex): Fix description
66559         of carg branch cut.
66561 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66563         [BZ #10014]
66564         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66565         host name.
66567         [BZ #10038]
66568         * manual/memory.texi (Memory): Make order of menu items match
66569         order of sections.
66571 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66573         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66574         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66575         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66577 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66579         * csu/libc-tls.c (static_dtv): Renamed to ...
66580         (_dl_static_dtv): This.  Make it global.
66581         (_dl_initial_dtv): Removed.
66582         (__libc_setup_tls): Updated.
66583         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66584         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66585         DL_INITIAL_DTV.
66587 2012-09-06  Petr Machata  <pmachata@redhat.com>
66589         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66590         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66591         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66592         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66594 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66596         [BZ #14545]
66597         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66598         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66599         freeing dtv[-1].
66601 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66603         [BZ #14544]
66604         * Makeconfig (link-static-before-libc): Replace $(+prector)
66605         with $(+prectorT).
66606         (link-static-after-libc): Replace $(+postctor) with
66607         $(+postctorT).
66608         (link-bounded): Replace $(+prector)/$(+postctor) with
66609         $(+prectorT)/$(+postctorT).
66610         (+prectorT): New macro.
66611         (+postctorT): Likewise.
66613 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66615         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66616         (round_str): Handle values above the maximum for IBM long double
66617         as inexact.
66618         * stdlib/tst-strtod-round.c (tests): Regenerated.
66620 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66622         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66623         assembler flag.
66624         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66625         zarch_nohighgprs around the zarch optimized routines.
66626         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66627         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66628         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66629         for zarch.
66631 2012-09-05  David S. Miller  <davem@davemloft.net>
66633         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66635         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66636         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66637         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66638         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66639         entries.
66641 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66643         * malloc/arena.c: Fold copyright years.
66644         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66646 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66648         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66650 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66652         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66654 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66656         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66657         change internal state upon failure.
66659 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66661         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66662         * malloc/memusage.c (mmap): Likewise.
66663         (mmap64, mremap): Likewise.  Adjust name in comment.
66665 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66667         * libio/fileops.c: Fix typos in comments.
66668         * libio/oldfileops.c: Likewise.
66669         * libio/wfileops.c: Likewise.
66671 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66673         [BZ #1349]
66674         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66675         (tst-malloc-usable-ENV): Set environment for test case.
66676         * malloc/hooks.c (malloc_check_get_size): New function to get
66677         requested size.
66678         * malloc/malloc.c (musable): Use malloc_check_get_size.
66679         * malloc/tst-malloc-usable.c: New test case.
66681 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66683         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66685 2012-09-05  Allan McRae  <allan@archlinux.org>
66687         [BZ #13966]
66688         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66689         determine header location.
66690         * configure: Regenerated.
66692 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66694         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66695         float format.
66696         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66697         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66698         format.
66699         (test): Regenerate.
66701 2012-09-04  David S. Miller  <davem@davemloft.net>
66703         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66704         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66705         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66707 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66709         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66710         failures.
66712         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66714 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66716         [BZ #9914]
66717         * libio/iogetdelim.c: Include <limits.h>.
66718         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66719         + len + 1 would overflow.
66721 2012-09-03  Andreas Jaeger  <aj@suse.de>
66723         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66724         * sysdeps/i386/fpu/libm-test-ulps: Update.
66726 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66728         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66729         Add s_sinf-sse2, s_conf-sse2.
66731         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66732         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66733         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66734         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66736         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66737         for using routine as __sinf_ia32.
66738         Use macro for function declaration and weak_alias.
66739         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66740         for using routine as __cosf_ia32.
66741         Use macro for function declaration and weak_alias.
66743         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66744         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66746         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66747         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66748         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66750         * math/libm-test.inc (cos_test): Add more test cases.
66751         (sin_test): Likewise.
66752         (sincos_test): Likewise.
66754 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66756         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66757         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66758         hidden.
66759         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66761 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66763         [BZ #14538]
66764         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66765         first element of the GOT.
66766         (elf_machine_load_address): Return the difference between
66767         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66769 2012-09-01  Allan McRae  <allan@archlinux.org>
66771         [BZ #13412]
66772         * configure.in (AWK): Require gawk version 3.0 or later.
66773         * configure: Regenerated.
66775 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66777         * sysdeps/unix/sysv/linux/kernel-features.h
66778         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66779         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66780         [__NR_clock_getres]: Make code unconditional.
66781         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66782         (clock_getcpuclockid): Remove code left unreachable by removal of
66783         conditionals.
66784         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66785         code unconditional.
66786         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66787         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66788         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66789         Make code unconditional.
66790         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66791         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66792         * sysdeps/unix/sysv/linux/clock_settime.c
66793         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66794         conditional code.
66795         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66796         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66798 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66800         [BZ #14476]
66801         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66802         scripts/test-installation.pl.
66804         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66805         and $ld_so_version if it is set.
66807 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66809         [BZ #14516]
66810         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66811         failure if reading from procfs failed.
66812         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66814 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66816         * sysdeps/unix/sysv/linux/kernel-features.h
66817         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66818         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66819         Remove conditional code.
66820         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66821         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66822         Remove conditional code.
66823         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66824         * sysdeps/unix/sysv/linux/i386/fxstat.c
66825         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66826         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66827         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66828         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66829         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66830         * sysdeps/unix/sysv/linux/i386/lxstat.c
66831         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66832         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66833         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66834         Remove conditional code.
66835         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66836         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66837         Remove conditional code.
66838         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66839         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66840         <kernel-features.h>.
66841         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66842         Remove.
66843         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66844         Remove conditional code.
66845         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66846         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66847         Remove conditional.
66849 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66851         [BZ #5400]
66852         * NEWS: Add fixed bug number.
66854 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66856         [BZ #14519]
66857         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66858         underflowing exponent in case of negative sign.
66859         * stdlib/tst-strtod-round-data: Add more tests.
66860         * stdlib/tst-strtod-round.c (tests): Regenerated.
66862         [BZ #3479]
66863         * stdlib/strtod_l.c (NDIG): Remove.
66864         (HEXNDIG): Likewise.
66865         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66866         smallest representable value.
66867         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66868         lie within an exact representation of 1/2 ulp of the result.
66869         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66870         unconditionally.
66871         (TENS_P9_IDX): Define unconditionally.
66872         (TENS_P9_SIZE): Likewise.
66873         (TENS_P10_IDX): Likewise.
66874         (TENS_P10_SIZE): Likewise.
66875         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66876         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66877         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66878         entries for 10^2^13 and 10^2^14.
66879         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66880         (TENS_P13_IDX): Define.
66881         (TENS_P13_SIZE): Likewise.
66882         (TENS_P14_IDX): Likewise.
66883         (TENS_P14_SIZE): Likewise.
66884         (_fpioconst_pow10): Change array size to
66885         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66886         unconditional.
66887         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66888         1024]: Add entries for 10^2^13 and 10^2^14.
66889         [LAST_POW10 > _LAST_POW10]: Remove #error.
66890         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66891         (_fpioconst_pow10): Change array size to
66892         FPIOCONST_POW10_ARRAY_SIZE.
66893         * stdlib/gen-fpioconst.c: New file.
66894         * stdlib/gen-tst-strtod-round.c: Likewise.
66895         * stdlib/tst-strtod-round-data: Likewise.
66896         * stdlib/tst-strtod-round.c: Likewise.
66897         * stdlib/Makefile (tests): Add tst-strtod-round.
66899         [BZ #14459]
66900         * stdlib/strtod_l.c: Include <stdint.h>.
66901         (NDEBUG): Do not define.
66902         (round_and_return): Change EXPONENT parameter to type intmax_t.
66903         Rearrange calculations to avoid internal overflow possibilities.
66904         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66905         Rearrange calculations to avoid internal overflow possibilities.
66906         Assert that number fits inside MPNSIZE limbs.
66907         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66908         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66909         calculations and add assertions to avoid internal overflow
66910         possibilities.  Add casts to avoid signed/unsigned operations.
66911         * stdlib/tst-strtod-overflow.c: New file.
66912         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66914 2012-08-25  Marek Polacek  <polacek@redhat.com>
66916         * time/time.h: Fix some typos in comments.
66918 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66920         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66921         * posix/tst-rfc3484-2.c: Likewise.
66922         * posix/tst-rfc3484-3.c: Likewise.
66924 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66926         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66927         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66929 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66931         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66932         #include of fxstatat64.c.
66934 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66936         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66937         * shadow/getspent_r.c: Likewise.
66938         * shadow/getspnam.c: Likewise.
66939         * shadow/getspnam_r.c: Likewise.
66940         * gshadow/getsgent.c: Likewise.
66941         * gshadow/getsgent_r.c: Likewise.
66942         * gshadow/getsgnam.c: Likewise.
66943         * gshadow/getsgnam_r.c: Likewise.
66944         * inet/getnetbyad.c: Likewise.
66945         * inet/getnetbyad_r.c: Likewise.
66946         * inet/getnetbynm.c: Likewise.
66947         * inet/getnetbynm_r.c: Likewise.
66948         * inet/getnetent.c: Likewise.
66949         * inet/getnetent_r.c: Likewise.
66950         * inet/getproto.c: Likewise.
66951         * inet/getproto_r.c: Likewise.
66952         * inet/getprtent.c: Likewise.
66953         * inet/getprtent_r.c: Likewise.
66954         * inet/getprtname.c: Likewise.
66955         * inet/getprtname_r.c: Likewise.
66956         * inet/getrpcbyname.c: Likewise.
66957         * inet/getrpcbyname_r.c: Likewise.
66958         * inet/getrpcbynumber.c: Likewise.
66959         * inet/getrpcbynumber_r.c: Likewise.
66960         * inet/getrpcent.c: Likewise.
66961         * inet/getrpcent_r.c: Likewise.
66962         * inet/getaliasent.c: Likewise.
66963         * inet/getaliasent_r.c: Likewise.
66964         * inet/getaliasname.c: Likewise.
66965         * inet/getaliasname_r.c: Likewise.
66966         * nscd/getgrgid_r.c: Likewise.
66967         * nscd/getgrnam_r.c: Likewise.
66968         * nscd/gethstbyad_r.c: Likewise.
66969         * nscd/gethstbynm3_r.c: Likewise.
66970         * nscd/getpwnam_r.c: Likewise.
66971         * nscd/getpwuid_r.c: Likewise.
66972         * nscd/getsrvbynm_r.c: Likewise.
66973         * nscd/getsrvbypt_r.c: Likewise.
66974         * nscd/gai.c: Likewise.
66976         * configure.in (build_nscd): New substituted variable, set
66977         by --disable-build-nscd and defaults to $use_nscd.
66978         * configure: Regenerated.
66979         * config.make.in (build-nscd): New substituted variable.
66980         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66981         Change conditional to require [$(build-nscd) = yes] as well.
66982         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66984         [BZ# 13696]
66985         * configure.in (use_nscd): New substituted variable, set by
66986         --disable-nscd.  If enabled, define USE_NSCD.
66987         * configure: Regenerated.
66988         * config.h.in: Add USE_NSCD.
66989         * config.make.in (use-nscd): New substituted variable.
66990         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66991         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66992         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66993         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66994         (CFLAGS-getgrnam_r.c): Likewise.
66995         (CFLAGS-initgroups.c): Likewise.
66996         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66997         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66998         Variables removed.
66999         * inet/getnetgrent_r.c
67000         (nscd_setnetgrent): New function, broken out of ...
67001         (setnetgrent): ... here.  Call it.
67002         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67003         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67004         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67005         * nscd/Makefile (routines, aux): Move definitions after include of
67006         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67007         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67008         Conditionalize on [USE_NSCD].
67009         (is_nscd, nscd_init_cb): Likewise.
67010         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67011         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67012         * nss/nss_db/db-init.c: Likewise.
67013         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67014         [USE_NSCD].
67015         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67016         (make_request): Use it.
67017         (cache_valid_p): New function.
67018         (__check_pf): Use it.
67019         * NEWS: Add item for --disable-nscd.
67021 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67023         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67024         to support sed >= 4.2.1-20-ga9bf076.
67025         * configure: Regenerated.
67027 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67029         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67030         Conditionalize whole body on [IREL].
67032 2012-08-22  Jeff Law <law@redhat.com>
67034         [BZ #14505]
67035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67036         if the family is PF_UNSPEC.
67038 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67040         * Makerules (lib-version): Rename from V.
67041         (install-lib-nosubdir): Change V to lib-version.
67043 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67045         [BZ #14252]
67046         * powerpc32/power6/wcschr.c: New file.
67047         * powerpc32/power6/wcscpy.c: New file.
67048         * powerpc32/power6/wcsrchr.c: New file.
67049         * powerpc64/power6/wcschr.c: New file.
67050         * powerpc64/power6/wcscpy.c: New file.
67051         * powerpc64/power6/wcsrchr.c: New file.
67053 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67055         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67056         (two_way_short_needle): Use it.
67057         * string/strstr.c (AVAILABLE1_USES_J): Define.
67058         * string/strcasestr.c: Likewise.
67060         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67061         array references.
67062         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67064         [BZ #11607]
67065         * NEWS: Add an entry.
67066         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67067         define their defaults.
67068         (two_way_short_needle): Detect end-of-string on-the-fly.
67069         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67070         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67071         * string/bug-strcasestr1.c: New test.
67072         * string/Makefile: Run it.
67074 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67076         [BZ #11607]
67077         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67078         the first character.
67080 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67082         * csu/elf-init.c (__libc_csu_irel): Function removed.
67083         * csu/libc-start.c (apply_irel): New function.
67084         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67086 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67088         * sysdeps/unix/sysv/linux/kernel-features.h
67089         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67090         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67091         <kernel-features.h>.
67092         [__NR_fadvise64_64]: Make code unconditional.
67093         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67094         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67095         !__NR_fadvise64_64)]: Likewise.
67096         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67097         !__NR_fadvise64_64))]: Likewise.
67098         [__NR_fadvise64]: Make code unconditional.
67099         [!__NR_fadvise64]: Remove conditional code.
67100         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67101         <kernel-features.h>.
67102         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67103         unconditional.
67104         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67105         conditional code.
67106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67107         not include <kernel-features.h>.
67108         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67109         unconditional.
67110         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67111         conditional code.
67112         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67113         include <kernel-features.h>.
67114         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67115         unconditional.
67116         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67117         conditional code.
67119 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67122         slight instruction rearrangements per scrollpipe analysis.
67123         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67125 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67127         * manual/syslog.texi (syslog; vsyslog, closelog):
67128         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67129         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67131         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67132         DSOCAPS to match condition on defining it.
67134 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67136         * sysdeps/unix/sysv/linux/kernel-features.h
67137         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67139         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67140         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67142         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67143         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67145         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67146         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67148         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67149         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67151         * sysdeps/unix/sysv/linux/kernel-features.h
67152         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67153         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67154         unconditional.
67155         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67156         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67157         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67158         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67159         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67160         Make code unconditional.
67161         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67162         (__mmap64) [!__NR_mmap2]: Likewise.
67163         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67164         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67165         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67166         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67167         [__NR_mmap2]: Make code unconditional.
67168         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67169         (__mmap64) [!__NR_mmap2]: Likewise.
67171 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67173         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67175 2012-08-18  Andreas Jaeger  <aj@suse.de>
67177         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67179 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67181         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67182         * include/unistd.h (__have_sock_cloexec): Likewise.
67183         (__have_pipe2): Likewise.
67184         (__have_dup3): Likewise.
67186 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67188         [BZ #9685]
67189         * include/unistd.h (__have_pipe2): Change define into an extern int.
67190         (__have_dup3): Likewise.
67191         * socket/have_sock_cloexec.c: Include fcntl.h.
67192         (__have_pipe2): New variable.
67193         (__have_dup3): Likewise.
67195 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67197         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67199 2012-08-17  Marek Polacek  <polacek@redhat.com>
67201         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67202         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67204 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67206         * configure.in: Add AC_SUBST for sysheaders.
67207         * configure: Regenerated.
67208         * config.make.in (sysheaders): New substituted variable.
67210         * sysdeps/unix/mkfifo.c: Moved ...
67211         * sysdeps/posix/mkfifo.c: ... here.
67212         * sysdeps/unix/mkfifoat.c: Moved ...
67213         * sysdeps/posix/mkfifoat.c: ... here.
67215         * sysdeps/unix/utime.c: Moved ...
67216         * sysdeps/posix/utime.c: ... here.
67218         * sysdeps/unix/time.c: Moved ...
67219         * sysdeps/posix/time.c: ... here.
67220         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67221         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67223         * sysdeps/unix/nice.c: Moved ...
67224         * sysdeps/posix/nice.c: ... here.
67226         * sysdeps/unix/alarm.c: Moved ...
67227         * sysdeps/posix/alarm.c: ... here.
67229         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67231 2012-08-17  Jeff Law <law@redhat.com>
67233         * intl/Makefile (codeset_mo): New variable.
67234         ($(codeset_mo)): New target.
67235         (tst-codeset.out): Depend on that.  Remove explicit rule.
67236         (tst-gettext3.out, tst-gettext5.out): Likewise.
67237         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67238         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67239         * intl/tst-codeset.sh: Remove.
67240         * intl/tst-gettext3.sh: Likewise.
67241         * intl/tst-gettext5.sh: Likewise.
67243 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67245         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67246         * sysdeps/unix/syscalls.list: ... here.
67248         * sysdeps/posix/getaddrinfo.c
67249         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67250         (gaiconf_init, gaiconf_reload): Use them.
67251         [!_STATBUF_ST_NSEC]
67252         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67253         Define using time_t rather than struct timespec.
67255         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67256         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67257         Macros removed.
67258         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67259         [!NO_THREADS].
67260         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67261         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67262         Likewise.
67264         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67265         __libc_cleanup_push argument.
67267         * bits/param.h: New file.
67268         * misc/sys/param.h: New file.
67269         * include/sys/param.h: New file.
67270         * misc/Makefile (headers): Add bits/param.h.
67271         * sysdeps/generic/sys/param.h: File removed.
67272         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67273         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67274         * sysdeps/mach/hurd/bits/param.h: New file.
67275         * sysdeps/mach/hurd/sys/param.h: File removed.
67277         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67278         last change.
67280         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67281         [_IO_MTSAFE_IO].
67282         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67283         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67284         New macros.
67286         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67287         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67288         rather than -D_IO_MTSAFE_IO conditionally.
67289         * stdio-common/Makefile (CPPFLAGS): Likewise.
67290         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67291         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67292         Use $(libio-mtsafe).
67293         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67294         of -D_IO_MTSAFE_IO.
67295         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67296         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67297         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67298         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67299         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67300         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67301         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67302         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67303         (CFLAGS-fread_u_chk.c): Likewise.
67304         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67305         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67306         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67307         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67308         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67309         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67310         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67311         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67312         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67314         * libio/Makefile: Test [$(libc-reentrant) = yes]
67315         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67317         * Makeconfig
67318         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67319         * sysdeps/pthread/configure: File removed.
67320         * sysdeps/pthread/Makeconfig: New file.
67321         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67322         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67324 2012-08-16  Gary Benson  <gbenson@redhat.com>
67326         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67327         unmapping the first object in a namespace.
67329 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67331         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67332         (__internal_setnetgrent): ... this.  Add internal_function to
67333         definition.  Add libc_hidden_def.
67334         (setnetgrent): Update caller.
67335         (internal_endnetgrent): Renamed to ...
67336         (__internal_endnetgrent): ... this.  Add internal_function to
67337         definition.  Add libc_hidden_def.
67338         (endnetgrent): Update caller.
67339         (internal_getnetgrent_r): Renamed to ...
67340         (__internal_getnetgrent_r): ... this.  Add internal_function to
67341         definition.  Add libc_hidden_def.
67342         (__getnetgrent_r): Update caller.
67343         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67345 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67347         * stdlib/longlong.h: Update from GCC.
67349 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67351         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67352         on _QL, which is set by umul_ppmm but never used.
67353         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67354         variables, which are set by GMP macros but never used.
67355         * stdio-common/_itowa.c (_itowa): Likewise.
67356         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67357         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67359 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67361         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67362         struct La_sh_regs is not constant.
67363         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67364         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67365         and struct La_sparc64_regs are not constant.
67367 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67369         * sysdeps/unix/sysv/linux/kernel-features.h
67370         (__ASSUME_POSIX_TIMERS): Remove.
67371         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67372         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67373         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67374         Make code unconditional.
67375         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67376         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67377         Make code unconditional.
67378         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67379         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67380         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67381         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67382         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67383         Make code unconditional.
67384         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67385         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67386         (__libc_missing_posix_timers): Remove.
67388 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67390         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67391         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67393         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67395         * elf/dl-sym.c: Include <stdlib.h>.
67397         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67398         constants, which avoids warnings in 32-bit builds.
67400         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67401         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67403         * misc/lseek.c: File moved to ...
67404         * io/lseek.c: ... here.
67406         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67408         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67409         shifting LEN more than 31 bits at once.
67411 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67413         [BZ #14195]
67414         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67415         segmentation fault for a case of two empty input strings.
67416         * string/test-strncasecmp.c (check1): Renamed to...
67417         (bz12205): ...this.
67418         (bz14195): Add new testcase for two empty input strings and N > 0.
67419         (test_main): Call new testcase, adapt for renamed function.
67421 2012-08-15  Andreas Jaeger  <aj@suse.de>
67423         [BZ #14090]
67424         * crypt/md5test2.c: New test, based on test supplied by Serge
67425         Belyshev <belyshev@depni.sinp.msu.ru>.
67426         * crypt/Makefile (xtests): Add md5test-giant..
67427         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67429 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67431         [BZ #14090]
67432         * crypt/md5.c (md5_process_block): Don't assume the buffer
67433         length is less than 2**32.
67434         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67435         length is less than 2**64.
67437 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67439         * string/str-two-way.h: Include <sys/param.h>.
67440         (MAX): Macro removed.
67442         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67443         Move #define and #undef of memmove to just before and after
67444         including <string.h>.
67446         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67447         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67448         and after including <string.h>.  Move declarations of
67449         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67450         to before #include "string/memmove.c".
67452         * include/dirent.h: Declare __getdirentries.
67454         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67455         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67457 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67459         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67460         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67461         * sysdeps/i386/configure: Regenerated.
67462         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67463         STABS_CURRENT_FILE, and STABS_FUN.
67464         (END): Remove call to STABS_FUN_END.
67465         (STABS_CURRENT_FILE1): Delete.
67466         (STABS_CURRENT_FILE): Likewise.
67467         (STABS_FUN): Likewise.
67468         (STABS_FUN_END): Likewise.
67469         (STABS_FUN2): Likewise.
67470         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67471         * sysdeps/x86_64/configure: Regenerated.
67473 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67475         * elf/dl-open.c: Include <atomic.h>.
67476         * elf/dl-lookup.c: Likewise.
67478 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67480         * sysdeps/unix/sysv/linux/kernel-features.h
67481         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67482         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67483         unconditionally.
67484         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67485         unconditionally.
67486         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67487         condition on __ASSUME_CLONE_THREAD_FLAGS.
67489 2012-08-14  Andreas Jaeger  <aj@suse.de>
67491         * sysdeps/i386/fpu/libm-test-ulps: Update.
67493 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67495         * include/atomic.h (atomic_exchange_and_add): Split into ...
67496         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67497         New atomic macros.
67499 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67503 2012-08-13  Jeff Law <law@redhat.com>
67505         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67506         null byte in the output string.
67508 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67510         * sysdeps/unix/sysv/linux/kernel-features.h
67511         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67512         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67513         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67514         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67515         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67516         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67517         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67519 2012-08-09  Jeff Law <law@redhat.com>
67521         [BZ #13939]
67522         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67523         When avoid_arena is set, don't retry in the that arena.  Pick the
67524         next one, whatever it might be.
67525         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67526         (arena_lock): Pass in new parameter to arena_get2.
67527         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67528         arena_get2.
67529         (__libc_malloc): Unify retrying after main arena failure with
67530         __libc_memalign version.
67531         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67533 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67535         [BZ #14166]
67536         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67537         to __redirect_strstr.
67538         (__strstr_sse42): Use typeof __redirect_strstr.
67539         (__strstr_ia32): Likewise.
67540         (__libc_strstr): New prototype.
67541         (strstr): Renamed to ...
67542         (__libc_strstr): This.
67543         (strstr): New strong alias of __libc_strstr.
67544         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67545         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67546         __redirect_time.
67547         Include <time.h>.
67548         (__libc_time): New prototype.
67549         (time_ifunc): Replace time with __libc_time.
67550         (time): New strong alias and hidden definition of __libc_time.
67551         (__GI_time): Remove strong alias.
67552         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67553         Include <stddef.h>.
67554         (memmove): Redefined to __redirect_memmove.
67555         (__memmove_sse2): Use typeof __redirect_memmove.
67556         (__memmove_ssse3): Likewise.
67557         (__memmove_ssse3_back): Likewise.
67558         (__libc_memmove): New prototype.
67559         (memmove): Renamed to ...
67560         (__libc_memmove): This.
67561         (memmove): New strong alias of __libc_memmove.
67563 2012-08-08  Mark Salter  <msalter@redhat.com>
67565         * elf/elf.h
67566         (R_MN10300_TLS_GD): Define.
67567         (R_MN10300_TLS_LD): Likewise.
67568         (R_MN10300_TLS_LDO): Likewise.
67569         (R_MN10300_TLS_GOTIE): Likewise.
67570         (R_MN10300_TLS_IE): Likewise.
67571         (R_MN10300_TLS_LE): Likewise.
67572         (R_MN10300_TLS_DTPMOD): Likewise.
67573         (R_MN10300_TLS_DTPOFF): Likewise.
67574         (R_MN10300_TLS_TPOFF): Likewise.
67575         (R_MN10300_SYM_DIFF): Likewise.
67576         (R_MN10300_ALIGN): Likewise.
67577         (R_MN10300_NUM): Update.
67579 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67581         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67582         Remove.
67584 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67586         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67588         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67589         sysdeps/unix -> sysdeps/posix move.
67590         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67592 2012-08-07      Allan McRae     <allan@archlinux.org>
67594         [BZ #14303]
67595         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67596         (SUNOS_CPP): Likewise.
67597         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67598         not found.
67599         (open_input): Call CPP using execvp.
67601 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67603         * sysdeps/unix/sysv/linux/kernel-features.h
67604         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67605         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67606         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67607         (__ASSUME_WAITID_SYSCALL): Likewise.
67608         * sysdeps/unix/sysv/linux/dl-execstack.c
67609         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67610         code unconditional.
67611         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67612         conditional code.
67613         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67614         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67615         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67616         code.
67617         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67618         unconditional.
67619         [__ASSUME_WAITID_SYSCALL]: Likewise.
67620         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67622 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67624         * sysdeps/unix/closedir.c: Renamed to ...
67625         * sysdeps/posix/closedir.c: ... here.
67626         * sysdeps/unix/dirfd.c: Renamed to ...
67627         * sysdeps/posix/dirfd.c: ... here.
67628         * sysdeps/unix/dirstream.h: Renamed to ...
67629         * sysdeps/posix/dirstream.h: ... here.
67630         * sysdeps/unix/fdopendir.c: Renamed to ...
67631         * sysdeps/posix/fdopendir.c: ... here.
67632         * sysdeps/unix/opendir.c: Renamed to ...
67633         * sysdeps/posix/opendir.c: ... here.
67634         * sysdeps/unix/readdir.c: Renamed to ...
67635         * sysdeps/posix/readdir.c: ... here.
67636         * sysdeps/unix/readdir_r.c: Renamed to ...
67637         * sysdeps/posix/readdir_r.c: ... here.
67638         * sysdeps/unix/rewinddir.c: Renamed to ...
67639         * sysdeps/posix/rewinddir.c: ... here.
67640         * sysdeps/unix/seekdir.c: Renamed to ...
67641         * sysdeps/posix/seekdir.c: ... here.
67642         * sysdeps/unix/telldir.c: Renamed to ...
67643         * sysdeps/posix/telldir.c: ... here.
67644         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67645         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67646         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67647         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67649         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67650         * bits/fcntl.h: ... here.
67652         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67653         not 0.
67654         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67655         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67656         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67657         (struct flock): Move l_start, l_len to the beginning.
67658         Use __pid_t for l_pid.
67659         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67660         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67661         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67662         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67663         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67664         [__USE_LARGEFILE64] (struct flock64): New type.
67665         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67667         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67668         * bits/dirent.h: ... here.
67670         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67671         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67673 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67675         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67676         Change from 2.6.0 to 2.6.16.
67677         * sysdeps/unix/sysv/linux/configure: Regenerated.
67678         * sysdeps/unix/sysv/linux/kernel-features.h
67679         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67680         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67681         version.
67682         (__ASSUME_UTIMES): Likewise.
67683         (__ASSUME_CLONE_STOPPED): Remove.
67684         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67685         architectures, not kernel version.
67686         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67687         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67688         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67689         (__ASSUME_WAITID_SYSCALL): Likewise.
67690         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67691         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67692         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67693         refer to older versions.
67695 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67697         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67698         Define alphasort64 as an alias.
67699         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67700         Define versionsort64 as an alias.
67701         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67702         Define scandir64 as an alias.
67703         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67704         Define scandirat64 as an alias.
67705         * dirent/alphasort64.c (alphasort64):
67706         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67707         * dirent/versionsort64.c: Likewise.
67708         * dirent/scandir64.c: Likewise.
67709         * dirent/scandirat64.c: Likewise.
67710         * sysdeps/wordsize-64/alphasort.c: File removed.
67711         * sysdeps/wordsize-64/alphasort64.c: File removed.
67712         * sysdeps/wordsize-64/scandir.c: File removed.
67713         * sysdeps/wordsize-64/scandir64.c: File removed.
67714         * sysdeps/wordsize-64/scandirat.c: File removed.
67715         * sysdeps/wordsize-64/scandirat64.c: File removed.
67716         * sysdeps/wordsize-64/versionsort.c: File removed.
67717         * sysdeps/wordsize-64/versionsort64.c: File removed.
67718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67727         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67729         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67731         [defined __arch64__ || defined __sparcv9]
67732         (__INO_T_MATCHES_INO64_T): New macro.
67733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67734         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67735         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67736         * sysdeps/unix/sysv/linux/bits/dirent.h
67737         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67738         (_DIRENT_MATCHES_DIRENT64): New macro.
67740         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67741         Define lockf64 as an alias.
67742         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67743         Define fseeko64 as an alias.
67744         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67745         Define ftello64 as an alias.
67746         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67747         Define _IO_fgetpos64 and fgetpos64 as aliases.
67748         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67749         Define _IO_fsetpos64 and fsetpos64 as aliases.
67750         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67751         Conditionalize body on this.
67752         * libio/fseeko64.c: Likewise.
67753         * libio/ftello64.c: Likewise.
67754         * libio/iofgetpos64.c: Likewise.
67755         * libio/iofsetpos64.c: Likewise.
67756         * sysdeps/wordsize-64/lockf.c: File removed.
67757         * sysdeps/wordsize-64/lockf64.c: File removed.
67758         * sysdeps/wordsize-64/fseeko.c: File removed.
67759         * sysdeps/wordsize-64/fseeko64.c: File removed.
67760         * sysdeps/wordsize-64/ftello.c: File removed.
67761         * sysdeps/wordsize-64/ftello64.c: File removed.
67762         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67763         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67764         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67765         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67772         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67777         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67778         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67779         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67780         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67781         [defined __arch64__ || defined __sparcv9]
67782         (__OFF_T_MATCHES_OFF64_T): New macro.
67783         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67784         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67786         (__OFF_T_MATCHES_OFF64_T): New macro.
67788 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67790         * stdlib/secure-getenv.c (__secure_getenv): Replace
67791         GLIBC_2_16 with GLIBC_2_17.
67793 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67798 2012-08-03  David S. Miller  <davem@davemloft.net>
67800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67802 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67805         Remove.
67806         (__ASSUME_CORRECT_SI_PID): Likewise.
67807         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67808         (__ASSUME_TMPFS_NAME): Likewise.
67809         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67810         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67811         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67812         (HAVE_AUX_SECURE): Make definition unconditional.
67813         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67814         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67816 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67818         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67819         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67820         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67821         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67822         __eloop_threshold instead of SYMLOOP_MAX.
67824         * sysdeps/generic/eloop-threshold.h: New file.
67825         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67826         of MAXSYMLINKS.
67827         * elf/chroot_canon.c (chroot_canon): Likewise.
67829 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67831         [BZ #13717]
67832         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67833         Change to 2.6.0 everywhere.
67834         * sysdeps/unix/sysv/linux/configure: Regenerated.
67835         * sysdeps/unix/sysv/linux/kernel-features.h
67836         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67837         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67838         kernel versions.
67839         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67840         (__ASSUME_FUTEX_REQUEUE): Remove.
67841         (__ASSUME_STATFS64): Define unconditionally.
67842         (__ASSUME_AT_SECURE): Likewise.
67843         (__ASSUME_CORRECT_SI_PID): Likewise.
67844         (__ASSUME_TGKILL): Define without depending on kernel version for
67845         i386.
67846         (__ASSUME_UTIMES): Likewise.
67847         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67848         kernel version.
67849         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67850         (__ASSUME_TMPFS_NAME): Likewise.
67851         * README: Update reference to Linux kernel versions.
67853 2012-08-02  Marek Polacek  <polacek@redhat.com>
67855         [BZ# 14150]
67856         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67857         libc_cv_asm_type_prefix with %.
67858         * configure: Regenerated.
67859         * include/libc-symbols.h: Remove comment about
67860         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67861         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67862         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67863         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67864         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67865         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67866         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67868         * elf/tst-unique2mod1.c: Likewise.
67869         * elf/tst-unique1mod2.c: Likewise.
67870         * elf/tst-unique1mod1.c: Likewise.
67871         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67872         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67873         Replace ASM_TYPE_DIRECTIVE with .type.
67874         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67875         * sysdeps/i386/sysdep.h: Likewise.
67876         * sysdeps/x86_64/sysdep.h: Likewise.
67877         * sysdeps/sh/sysdep.h: Likewise.
67878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67879         Do not define ASM_TYPE_DIRECTIVE.
67880         * sysdeps/powerpc/sysdep.h: Likewise.
67881         * sysdeps/powerpc/powerpc32/sysdep.h:
67882         Replace ASM_TYPE_DIRECTIVE with .type.
67883         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67884         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67885         * sysdeps/i386/fpu/e_powf.S: Likewise.
67886         * sysdeps/i386/fpu/e_expl.S: Likewise.
67887         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67888         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67889         * sysdeps/i386/fpu/e_pow.S: Likewise.
67890         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67891         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67892         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67893         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67894         * sysdeps/i386/fpu/e_log2.S: Likewise.
67895         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67896         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67897         * sysdeps/i386/fpu/e_powl.S: Likewise.
67898         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67899         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67900         * sysdeps/i386/fpu/e_logl.S: Likewise.
67901         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67902         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67903         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67904         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67905         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67906         * sysdeps/i386/fpu/e_log.S: Likewise.
67907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67908         * sysdeps/i386/fpu/e_logf.S: Likewise.
67909         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67910         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67911         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67912         * sysdeps/i386/fpu/e_log10.S: Likewise.
67913         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67914         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67915         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67916         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67917         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67918         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67919         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67920         * sysdeps/i386/i686/strtok.S: Likewise.
67921         * sysdeps/i386/i386-mcount.S: Likewise.
67922         * sysdeps/i386/strtok.S: Likewise.
67923         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67924         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67925         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67926         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67927         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67928         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67929         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67930         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67931         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67932         * sysdeps/x86_64/_mcount.S: Likewise.
67933         * sysdeps/x86_64/strtok.S: Likewise.
67934         * sysdeps/sh/_mcount.S: Likewise.
67936 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67938         * libio/iofopen.c: Include <fcntl.h>.
67939         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67940         (_IO_fopen64, fopen64): Define as aliases.
67941         * libio/iofopen64.c: Include <fcntl.h>.
67942         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67943         Conditionalize body on this.
67944         * sysdeps/wordsize-64/iofopen.c: File removed.
67945         * sysdeps/wordsize-64/iofopen64.c: File removed.
67947 2012-08-01  Marek Polacek  <polacek@redhat.com>
67949         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67950         Use dlfcn directly instead of a variable.
67951         (binfmt-subdir): Do not define.
67952         (dlfcn): Likewise.
67954 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67957         Remove all definitions.
67958         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67959         <kernel-features.h>.
67960         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67961         (miss_F_GETOWN_EX): Remove all definitions.
67962         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67963         macro definition.
67964         [!__ASSUME_FCNTL64]: Remove conditional code.
67965         [__ASSUME_FCNTL64]: Make code unconditional.
67966         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67967         <kernel-features.h>.
67968         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67969         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67970         (lockf64) [__NR_fcntl64]: Make code unconditional.
67971         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67973         * sysdeps/unix/sysv/linux/kernel-features.h
67974         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67975         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67976         Make code unconditional.
67977         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67978         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67980         [__NR_vfork]: Make code unconditional.
67981         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67982         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67984         [__NR_vfork]: Make code unconditional.
67985         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67986         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67988 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67990         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67991         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67993         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67994         Define mkstemp64 as an alias.
67995         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67996         Define mkstemps64 as an alias.
67997         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67998         Define mkostemp64 as an alias.
67999         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68000         Define mkostemps64 as an alias.
68001         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68002         Conditionalize body on this.
68003         * misc/mkostemp64.c: Likewise.
68004         * misc/mkostemps64.c: Likewise.
68005         * misc/mkstemps64.c: Likewise.
68006         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68007         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68008         * sysdeps/wordsize-64/mkostemp.c: File removed.
68009         * sysdeps/wordsize-64/mkstemp.c: File removed.
68010         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68013         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68015         [BZ #14138]
68016         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68017         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68018         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68019         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68021         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68022         compat_symbol macros from <shlib-compat.h> rather than the underlying
68023         default_symbol_version and symbol_version macros, so that DEFAULT
68024         lines in shlib-versions are respected.
68025         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68027 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68029         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68030         Declare with warn_unused_result.
68031         (setgid, setregid, setegid, setresgid): Likewise.
68032         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68033         Likewise.
68034         * WUR-REPORT: Remove set*id functions.
68036 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68038         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68040 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68042         [BZ #10191]
68043         * include/sys/socket.h (__libc_accept, __libc_accept4):
68044         Add attribute_hidden.
68045         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68047         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68048         use of PTR_MANGLE.
68049         * inet/getnetgrent_r.c (setup): Likewise.
68051         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68053 2012-07-31  David S. Miller  <davem@davemloft.net>
68055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68057 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68059         [BZ #13629]
68060         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68061         value between 1.0 and 2.0 and smaller part has absolute value less
68062         than 1.0.
68063         * math/s_clog10.c (__clog10): Likewise.
68064         * math/s_clog10f.c (__clog10f): Likewise.
68065         * math/s_clog10l.c (__clog10l): Likewise.
68066         * math/s_clogf.c (__clogf): Likewise.
68067         * math/s_clogl.c (__clogl): Likewise.
68068         * math/libm-test.inc (clog_test): Add more tests.
68069         (clog10_test): Likewise.
68070         * sysdeps/i386/fpu/libm-test-ulps: Update.
68071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68073 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68075         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68076         Exit with zero in case no suitable GID is found, and write a
68077         message to standard error.
68079 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68081         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68082         rather than to 1.
68083         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68084         (MAXPATHLEN): Removed.
68085         (NOGROUP, NODEV): New macros.
68086         (setbit, clrbit, isset, isclr): New macros.
68087         (howmany, roundup, powerof2): New macros.
68088         (DEV_BSIZE): New macro.
68090         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68091         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68093         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68094         definition on [!__NO_LONG_DOUBLE_MATH].
68096         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68097         PTR_MANGLE and PTR_DEMANGLE.
68099         * socket/accept4.c (accept4): Rename to __libc_accept4.
68100         Define accept4 as a weak alias.
68102         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68103         on [_DIRENT_HAVE_D_TYPE].
68104         * io/ftw.c (ftw_dir): Likewise.
68106         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68108         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68110         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68111         Use the BSD numbers rather than the arbitrary ones we had.
68112         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68113         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68114         (SIGXCPU, SIGXFSZ): New macros.
68115         (_NSIG): Now 32.
68117         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68118         initializer on [_LIBC_REENTRANT].
68120         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68121         definitions inside [_POSIX_MAPPED_FILES].
68123         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68125         * dirent/opendir.c: Include <fcntl.h>.
68127         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68128         (__libc_getspecific): Likewise.
68129         (__libc_key_create): Likewise.
68131         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68132         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68133         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68134         (tmpfile64): Define as alias.
68135         * sysdeps/wordsize-64/tmpfile.c: File removed.
68136         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68140         * stdio-common/vfscanf.c: Include <stdbool.h>.
68141         * nss/makedb.c: Likewise.
68142         * stdio-common/_i18n_number.h: Likewise.
68143         * argp/argp-help.c: Likewise.
68144         * posix/wordexp.c: Likewise.
68145         * sysdeps/posix/spawni.c: Likewise.
68146         * nss/nss_files/files-initgroups.c: Likewise.
68147         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68148         * nss/nss_files/files-initgroups.c: Likewise.
68149         * nss/nss_db/db-netgrp.c: Likewise.
68150         * nss/nss_db/db-initgroups.c: Likewise.
68151         * io/fchmodat.c: Include <sys/stat.h>.
68153         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68154         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68156         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68157         [HAVE_MMAP].
68159         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68160         Add multiple inclusion protection.
68162 2012-07-27  David S. Miller  <davem@davemloft.net>
68164         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68166 2012-07-27  Gary Benson  <gbenson@redhat.com>
68168         [BZ #14298]
68169         * elf/rtld.c: Include <stap-probe.h>.
68170         (dl_main): Added static probes "init_start" and "init_complete".
68171         * elf/dl-load.c: Include <stap-probe.h>.
68172         (lose): Take new parameter "nsid".
68173         Added static probe "map_failed".
68174         (_dl_map_object_from_fd): Pass namespace id to lose.
68175         Added static probe "map_start".
68176         (open_verify): Pass namespace id to lose.
68177         * elf/dl-open.c: Include <stap-probe.h>.
68178         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68179         and "reloc_complete".
68180         * elf/dl-close.c: Include <stap-probe.h>.
68181         (_dl_close_worker): Added static probes "unmap_start" and
68182         "unmap_complete".
68183         * elf/rtld-debugger-interface.txt: New file documenting the above.
68185 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68187         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68188         rather than a string variable.
68189         * sunrpc/rpc_main.c (h_output): Likewise.
68190         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68192 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68194         * inet/check_native.c: New file.
68196 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68198         [BZ #13629]
68199         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68200         if larger part has absolute value 1.0.
68201         * math/s_clog10.c (__clog10): Likewise.
68202         * math/s_clog10f.c (__clog10f): Likewise.
68203         * math/s_clog10l.c (__clog10l): Likewise.
68204         * math/s_clogf.c (__clogf): Likewise.
68205         * math/s_clogl.c (__clogl): Likewise.
68206         * math/libm-test.inc (clog_test): Add more tests.
68207         (clog10_test): Likewise.
68208         * sysdeps/i386/fpu/libm-test-ulps: Update.
68209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68211         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68212         (pltexit): Likewise.
68213         (La_regs): Likewise.
68214         (La_retval): Likewise.
68215         (int_retval): Likewise.
68216         Update #error for removed macros to refer only to definitions in
68217         tst-audit.h.
68218         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68219         macro.
68220         (pltexit): Likewise.
68221         (La_regs): Likewise.
68222         (La_retval): Likewise.
68223         (int_retval): Likewise.
68224         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68225         macro.
68226         (pltexit): Likewise.
68227         (La_regs): Likewise.
68228         (La_retval): Likewise.
68229         (int_retval): Likewise.
68230         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68231         macro.
68232         (pltexit): Likewise.
68233         (La_regs): Likewise.
68234         (La_retval): Likewise.
68235         (int_retval): Likewise.
68236         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68237         macro.
68238         (pltexit): Likewise.
68239         (La_regs): Likewise.
68240         (La_retval): Likewise.
68241         (int_retval): Likewise.
68242         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68243         macro.
68244         (pltexit): Likewise.
68245         (La_regs): Likewise.
68246         (La_retval): Likewise.
68247         (int_retval): Likewise.
68248         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68249         macro.
68250         (pltexit): Likewise.
68251         (La_regs): Likewise.
68252         (La_retval): Likewise.
68253         (int_retval): Likewise.
68254         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68255         macro definitions in tst-audit.h.
68256         * sysdeps/i386/tst-audit.h: New file.
68257         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68258         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68259         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68260         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68261         * sysdeps/sh/tst-audit.h: Likewise.
68262         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68263         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68264         * sysdeps/x86_64/tst-audit.h: Likewise.
68266 2012-07-26  Andreas Jaeger  <aj@suse.de>
68268         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68269         ptrace.
68271         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68272         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68273         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68274         PTRACE_O_MASK.
68275         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68276         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68277         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68279         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68280         value.
68282         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68283         _sigsys.
68284         (si_call_addr, si_syscall, si_arch): Define new macro.
68285         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68286         _sigsys.
68287         (si_call_addr, si_syscall, si_arch): Define new marcro.
68288         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68289         _sigsys.
68290         (si_call_addr, si_syscall, si_arch): Define new macro.
68291         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68292         _sigsys.
68293         (si_call_addr, si_syscall, si_arch): Define new macro.
68295 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68297         [BZ #13717]
68298         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68299         Change to 2.4.21 where previously 2.4.1.
68300         * sysdeps/unix/sysv/linux/configure: Regenerated.
68301         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68302         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68303         Linux kernel version.
68304         (__ASSUME_STD_AUXV): Remove.
68305         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68306         kernel version.
68307         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68308         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68309         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68310         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68311         (__ASSUME_NETLINK_SUPPORT): Likewise.
68312         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68313         (__no_netlink_support): Remove conditional definition.
68314         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68315         Remove.
68316         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68317         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68318         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68319         (if_nameindex_ioctl): Remove.
68320         (if_nameindex_netlink): Do not handle __no_netlink_support.
68321         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68322         code.
68323         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68324         Remove conditional code.
68325         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68326         code.
68327         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68328         unconditional.
68329         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68330         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68331         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68332         Remove.
68333         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68334         [!__ASSUME_STD_AUXV]: Remove conditional code.
68335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68336         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68337         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68339         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68340         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68341         code.
68342         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68344         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68345         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68346         conditional code.
68347         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68349         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68350         code.
68351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68352         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68353         conditional code.
68354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68355         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68356         code unconditional.
68357         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68358         conditional code.
68359         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68360         unconditional.
68361         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68362         conditional code.
68363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68364         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68365         unconditional.
68366         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68367         conditional code.
68368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68369         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68370         code unconditional.
68371         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68372         conditional code.
68373         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68374         unconditional.
68375         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68376         conditional code.
68377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68378         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68379         code unconditional.
68380         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68381         conditional code.
68382         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68383         unconditional.
68384         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68385         conditional code.
68387 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68389         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68390         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68391         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68392         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68393         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68394         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68395         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68396         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68397         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68398         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68399         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68400         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68401         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68402         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68403         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68404         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68405         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68406         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68407         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68408         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68409         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68410         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68411         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68413 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68415         * Versions.def: Add GLIBC_2.17.
68416         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68417         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68418         Introduce __libc_secure_getenv.
68419         * stdlib/Versions (2.17): Add secure_getenv
68420         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68421         * stdlib/secure-getenv.c: Rename __secure_getenv to
68422         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68423         symbol __secure_getenv for GLIBC_2.0.
68424         * stdlib/tst-secure-getenv.c: New.
68425         * stdlib/Makefile (tests): Add testcase.
68426         * manual/startup.texi (Environment Access): Document
68427         secure_getenv.
68428         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68429         __libc_secure_getenv.
68430         * inet/ruserpass.c (ruserpass): Likewise.
68431         * malloc/mtrace.c (mtrace): Likewise.
68432         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68433         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68434         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68435         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68436         HAVE_SECURE_GETENV.
68437         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68438         __secure_getenv to __libc_secure_getenv.
68439         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68441         Likewise.
68442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68443         Likewise.
68444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68448         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68452 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68454         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68455         (struct La_i86_retval): Likewise.
68456         (struct La_x86_64_regs): Likewise.
68457         (struct La_x86_64_retval): Likewise.
68458         (struct La_x32_regs): Likewise.
68459         (struct La_x32_retval): Likewise.
68460         (struct La_ppc32_regs): Likewise.
68461         (struct La_ppc32_retval): Likewise.
68462         (struct La_ppc64_regs): Likewise.
68463         (struct La_ppc64_retval): Likewise.
68464         (struct La_sh_regs): Likewise.
68465         (struct La_sh_retval): Likewise.
68466         (struct La_s390_32_regs): Likewise.
68467         (struct La_s390_32_retval): Likewise.
68468         (struct La_s390_64_regs): Likewise.
68469         (struct La_s390_64_retval): Likewise.
68470         (struct La_sparc32_regs): Likewise.
68471         (struct La_sparc32_retval): Likewise.
68472         (struct La_sparc64_regs): Likewise.
68473         (struct La_sparc64_retval): Likewise.
68474         (struct audit_ifaces): Remove architecture-specific pltenter and
68475         pltexit members.
68476         * sysdeps/i386/ldsodefs.h: New file.
68477         * sysdeps/powerpc/ldsodefs.h: Likewise.
68478         * sysdeps/s390/ldsodefs.h: Likewise.
68479         * sysdeps/sh/ldsodefs.h: Likewise.
68480         * sysdeps/sparc/ldsodefs.h: Likewise.
68481         * sysdeps/x86_64/ldsodefs.h: Likewise.
68483 2012-07-25  Marek Polacek  <polacek@redhat.com>
68485         [BZ #6808]
68486         * math/libm-test.inc (yn_test): Add another test.
68487         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68488         to ERANGE when the result is +-Inf.
68489         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68490         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68491         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68492         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68494 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68496         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68497         equal to 0.
68498         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68499         clock_t.
68500         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68502 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68504         * configure.in <sysdeps resolving>: Correct printing
68505         Implies_before.
68506         * configure: Regenerate.
68508 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68510         * math/w_ilogb.c: Include <limits.h>.
68511         * math/w_ilogbl.c: Likewise.
68513 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68515         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68516         va_copy.  Document allowing for unavailable va_copy only as
68517         pre-C99 compatibility.
68518         * manual/string.texi (Copying and Concatenation): Use va_copy
68519         instead of __va_copy in concat example.
68521 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68523         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68524         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68525         it if not null.
68527         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68528         with O_NOLINK passed to __file_name_lookup.
68530         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68531         with O_NOLINK passed to __file_name_lookup.
68533         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68534         negative N or less than NGIDS.
68536         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68537         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68538         enough.  Use memcpy instead of strncpy.
68540 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68542         * elf/Makefile (check-data): Remove.
68543         (localplt.data): New vpath directive.
68544         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68545         instead of $(check-data).
68546         * scripts/data/localplt-generic.data: Move to ...
68547         * sysdeps/generic/localplt.data: ... here.
68548         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68549         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68550         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68552         ... here.
68553         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68555         ... here.
68556         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68558         ... here.
68559         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68561         ... here.
68562         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68564         ... here.
68565         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68567         ... here.
68569 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68571         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68572         PPC32 and PPC64 files.
68573         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68574         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68576 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68578         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68579         __makecontext_ret to ...
68580         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68581         ... here and call exit if uc_link is NULL.  New file.
68582         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68583         __makecontext_ret.S.
68584         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68585         __makecontext_ret to ...
68586         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68587         ... here and call exit if uc_link is NULL.  New file.
68588         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68589         __makecontext_ret.S.
68591 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68593         * elf/elf.h (R_390_IRELATIVE): New definition.
68594         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68595         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68596         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68597         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68598         (elf_machine_lazy_rel): Likewise.
68599         * sysdeps/s390/dl-irel.h: New file.
68600         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68601         * sysdeps/s390/s390-64/memset.S: New asm code.
68602         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68603         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68604         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68605         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68606         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68607         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68608         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68609         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68610         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68611         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68612         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68613         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68614         * sysdeps/s390/s390-32/memset.S: New asm code.
68615         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68617 2012-07-17  Marek Polacek  <polacek@redhat.com>
68619         [BZ #14349]
68620         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68621         * sysdeps/s390/s390-64/configure.in: Likewise.
68622         * sysdeps/sparc/configure.in: Likewise.
68623         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68624         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68625         * sysdeps/i386/configure.in: Likewise.
68626         * sysdeps/x86_64/configure.in: Likewise.
68627         * sysdeps/sh/configure.in: Likewise.
68628         * sysdeps/s390/s390-32/configure: Regenerated.
68629         * sysdeps/s390/s390-64/configure: Likewise.
68630         * sysdeps/x86_64/configure: Likewise.
68631         * sysdeps/sh/configure: Likewise.
68632         * sysdeps/powerpc/powerpc64/configure: Likewise.
68633         * sysdeps/powerpc/powerpc32/configure: Likewise.
68634         * sysdeps/sparc/configure: Likewise.
68635         * sysdeps/i386/configure: Likewise.
68637         * elf/dl-open.c: Comment fixes.
68639 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68641         * Makefile [CXX] (check-data): Remove.
68642         [CXX] (c++-types.data): New vpath directive.
68643         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68644         vpath.  Do not allow for C++ type data being missing.
68645         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68646         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68647         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68648         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68649         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68650         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68651         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68653         ... here.
68654         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68656         ... here.
68657         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68659         ... here.
68660         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68662         ... here.
68663         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68664         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68665         ... here.
68666         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68668         ... here.
68669         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68671         ... here.
68672         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68675         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68676         definitions to architecture-specific files.
68677         (TLS_IE): Likewise.
68678         (TLS_LD): Likewise.
68679         (TLS_GD): Likewise.
68680         * sysdeps/i386/tls-macros.h: New file.
68681         * sysdeps/powerpc/tls-macros.h: Likewise.
68682         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68683         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68684         * sysdeps/sh/tls-macros.h: Likewise.
68685         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68686         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68687         * sysdeps/x86_64/tls-macros.h: Likewise.
68689 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68691         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68692         zero value for regular exit case.
68694         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68695         (__start_context): Preserve zero value for regular exit case.
68697 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68698             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68700         * manual/setjmp.texi (setcontext): Clarify normal process
68701         termination when uc_link is the null pointer.
68702         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68703         exit call.
68705 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68707         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68708         preprocessor.  Test for each exception mask separately.
68710 2012-07-16  Andreas Jaeger  <aj@suse.de>
68712         * po/ru.po: Update from translation team.
68714 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68716         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68717         equal to 0.
68718         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68719         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68720         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68721         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68722         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68724 2012-07-13  Andreas Jaeger  <aj@suse.de>
68726         * po/fr.po: Update from translation team.
68728 2012-07-12  Marek Polacek  <polacek@redhat.com>
68730         [BZ #14173]
68731         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68732         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68733         loop condition.
68735 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68737         [BZ #13717]
68738         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68739         Change to 2.4.1 where previously 2.4.0.
68740         * sysdeps/unix/sysv/linux/configure: Regenerated.
68741         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68742         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68743         version.
68744         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68745         (__ASSUME_AT_CLKTCK): Remove.
68746         (__ASSUME_AT_PAGESIZE): Likewise.
68747         (__ASSUME_AT_XID): Likewise.
68748         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68749         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68750         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68751         unconditionally.
68752         (HAVE_AUX_PAGESIZE): Likewise.
68753         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68754         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68755         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68757 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68759         [BZ #14307]
68760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68761         the temporary buffer used to invoke __gethostbyname2_r,
68762         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68763         host_data / struct gaih_addrtuple.
68764         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68765         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68766         header file nss/nsswitch.h.
68767         * nss/nsswitch.h (global scope): Add definition of implementation
68768         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68769         resolv/nss_dns/dns-host.c).
68771 2012-07-11  Andreas Jaeger  <aj@suse.de>
68773         * po/fr.po: Update from translation team.
68775         * po/sv.po: Update from translation team
68776         * po/fr.po: Another update from translation team.
68778 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68780         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68781         for subnormals or multiply small sinh result by itself.
68782         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68785 2012-07-11  David S. Miller  <davem@davemloft.net>
68787         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68789 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68791         [BZ #14347]
68792         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68793         (INTERNAL_MARK): Shift it here.
68795 2012-07-10  Marek Polacek  <polacek@redhat.com>
68797         [BZ #14151]
68798         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68799         libc_cv_asm_global_directive with .globl.
68800         * configure: Regenerated.
68801         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68802         with .globl.
68803         * sysdeps/i386/configure: Regenerated.
68804         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68805         with .globl.
68806         * sysdeps/x86_64/configure: Regenerated.
68807         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68808         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68809         * elf/tst-unique2mod2.c: Likewise.
68810         * elf/tst-unique2mod1.c: Likewise.
68811         * elf/tst-unique1mod2.c: Likewise.
68812         * elf/tst-unique1mod1.c: Likewise.
68813         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68814         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68815         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68816         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68817         * sysdeps/mach/sysdep.h: Likewise.
68818         * sysdeps/i386/sysdep.h: Likewise.
68819         * sysdeps/i386/i386-mcount.S: Likewise.
68820         * sysdeps/x86_64/_mcount.S: Likewise.
68821         * sysdeps/x86_64/sysdep.h: Likewise.
68822         * sysdeps/sh/_mcount.S: Likewise.
68823         * sysdeps/sh/sysdep.h: Likewise.
68824         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68825         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68826         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68827         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68828         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68829         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68830         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68831         * locale/localeinfo.h: Likewise.
68832         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68833         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68835 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68837         [BZ #14336]
68838         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68839         system".
68840         * manual/message.texi (The Uniforum approach): Likewise.
68841         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68842         (glibc iconv Implementation): Likewise.
68844 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68846         [BZ #14337]
68847         * math/s_clog.c (__clog): Avoid scaling a value down where that
68848         could result in underflow.
68849         * math/s_clog10.c (__clog10): Likewise.
68850         * math/s_clog10f.c (__clog10f): Likewise.
68851         * math/s_clog10l.c (__clog10l): Likewise.
68852         * math/s_clogf.c (__clogf): Likewise.
68853         * math/s_clogl.c (__clogl): Likewise.
68854         * math/libm-test.inc (clog_test): Add more tests.
68855         (clog10_test): Likewise.
68856         * sysdeps/i386/fpu/libm-test-ulps: Update.
68857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68859 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68861         [BZ #14283]
68862         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68863         by 7 not 8 to examine high bit of fractional part.
68865         [BZ #14042]
68866         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68867         for call to __mcount_internal.
68868         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68869         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68870         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68872 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68874         [BZ #14154]
68875         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68876         approximation for values within 0x1p-13f of an odd multiple of
68877         pi/4.
68878         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68879         exception.  Add more tests.
68880         * sysdeps/i386/fpu/libm-test-ulps: Update.
68882         [BZ #6778]
68883         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68884         inputs and return -1 for them.  Do not check for +Inf in case not
68885         reachable for +Inf.
68886         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68887         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68889         and return -1 for them.  Do not check for +Inf in case not
68890         reachable for +Inf.
68891         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68892         define.
68893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68894         and return -1 for them.  Do not check for +Inf in case not
68895         reachable for +Inf.
68896         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68897         spurious underflow.
68898         * sysdeps/i386/fpu/libm-test-ulps: Update.
68899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68901 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68903         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68905 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68907         [BZ #14157]
68908         [BZ #14331]
68909         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68910         could result in spurious underflow.  Scale down values above
68911         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68912         * math/s_csqrtf.c (__csqrtf): Likewise.
68913         * math/s_csqrtl.c (__csqrtl): Likewise.
68914         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68915         spurious underflow.
68916         * sysdeps/i386/fpu/libm-test-ulps: Update.
68917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68919 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68921         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68922         xopen-msg.sed.
68923         * catgets/xopen-msg.awk: New file.
68924         * catgets/xopen-msg.sed: Removed.
68926         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68927         po2text.sed.
68928         * intl/po2test.awk: New file.
68929         * intl/po2test.sed: Removed.
68931 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68933         [BZ #14328]
68934         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68935         or multiply small sinh result by itself.
68936         * math/s_ctanf.c (__ctanf): Likewise.
68937         * math/s_ctanh.c (__ctanh): Likewise.
68938         * math/s_ctanhf.c (__ctanhf): Likewise.
68939         * math/s_ctanhl.c (__ctanhl): Likewise.
68940         * math/s_ctanl.c (__ctanl): Likewise.
68941         * math/libm-test.inc (ctan_test_tonearest): New function.
68942         (ctan_test_towardzero): Likewise.
68943         (ctan_test_downward): Likewise.
68944         (ctan_test_upward): Likewise.
68945         (ctanh_test_tonearest): Likewise.
68946         (ctanh_test_towardzero): Likewise.
68947         (ctanh_test_downward): Likewise.
68948         (ctanh_test_upward): Likewise.
68949         (main): Call these new functions.
68950         * sysdeps/i386/fpu/libm-test-ulps: Update.
68951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68953 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68955         * .gitignore: Delete /ports entry.
68957 2012-07-03  Andreas Jaeger  <aj@suse.de>
68959         * po/bg.po: Update from translation team.
68960         * po/cs.po: Likewise.
68961         * po/de.po: Likewise.
68962         * po/hr.po: Likewise.
68963         * po/nl.pl: Likewise.
68964         * po/pl.po: Likewise.
68965         * po/vi.po: Likewise.
68967 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68969         * Makeconfig [!+link] (+link-before-libc): New variable.
68970         [!+link] (+link-after-libc): Likewise.
68971         [!+link] (+link-tests): Likewise.
68972         [!+link] (+link): Define in terms of $(+link-before-libc) and
68973         $(+link-after-libc).
68974         [!+link-static] (+link-static-before-libc): New variable.
68975         [!+link-static] (+link-static-after-libc): Likewise.
68976         [!+link-static] (+link-static-tests): Likewise.
68977         [!+link-static] (+link-static): Define in terms of
68978         $(+link-static-before-libc) and $(+link-static-after-libc).
68979         [build-shared] (link-libc-before-gnulib): New variable.
68980         [build-shared] (link-libc-tests): Likewise.
68981         [build-shared] (link-libc): Define in terms of
68982         $(link-libc-before-gnulib).
68983         [!build-shared] (link-libc-tests): New variable.
68984         (link-libc-static-tests): New variable.
68985         [!gnulib] (gnulib-arch): New variable.
68986         [!gnulib] (gnulib-tests): Likewise.
68987         [!gnulib] (static-gnulib-arch): Likewise.
68988         [!gnulib] (static-gnulib-tests): Likewise.
68989         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68990         Define with "=" instead of ":=".
68991         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68992         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68993         * Rules (binaries-all-notests): New variable.
68994         (binaries-all-tests): Likewise.
68995         (binaries-static-notests): Likewise.
68996         (binaries-static-tests): Likewise.
68997         (binaries-all): Define using $(binaries-all-notests) and
68998         $(binaries-all-tests).
68999         (binaries-static): Define using $(binaries-static-notests) and
69000         $(binaries-static-tests).
69001         (binaries-shared-tests): New variable.
69002         (binaries-shared-notests): Likewise.
69003         (binaries-shared): Remove variable.
69004         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69005         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69006         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69007         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69008         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69009         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69010         * elf/Makefile (sln-modules): New variable.
69011         (extra-objs): Add $(sln-modules:=.o).
69012         (ldconfig-modules): Add static-stubs.
69013         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69014         * elf/static-stubs.c: New file.
69016         [BZ #14283]
69017         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69018         by 7 not 8 to examine high bit of fractional part.  Use volatile
69019         variables when splitting into final array of floats if
69020         __FLT_EVAL_METHOD__ != 0.
69021         * math/libm-test.inc (cos_test): Add another test.
69022         (sin_test): Likewise.
69023         * sysdeps/i386/fpu/libm-test-ulps: Update.
69025         [BZ #14273]
69026         * math/libm-test.inc (cosh_test): Add more tests.
69028         * version.h (RELEASE): Set to "development".
69029         (VERSION): Set to "2.16.90".
69031 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69033         * NEWS: Update copyright. Remove last-updated date.
69034         Mention math library bug fixes and timezone data changes.
69035         * README: Mention GNU/Hurd, x32, and HPPA support status.
69037 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69039         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69041 2012-06-27  Andreas Jaeger  <aj@suse.de>
69043         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69045 2012-06-25  Andreas Jaeger  <aj@suse.de>
69047         * sysdeps/s390/fpu/libm-test-ulps: Update.
69049 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69050             Thomas Schwinge  <thomas@codesourcery.com>
69052         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69053         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69055         fanotify_mark.
69057 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69059         * sysdeps/mach/start.c: Remove file.
69060         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69061         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69062         * sysdeps/sh/init-first.c: Likewise.
69064         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69065         registers for frame unwinding purposes, add CFI directives.
69066         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69067         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69068         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69069         Likewise.
69071         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69072         __fortify_fail returning.
69073         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69075         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69076         sysdeps/sh/____longjmp_chk.S.
69077         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69078         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69079         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69080         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69082         * sysdeps/sh/abort-instr.h: New file.
69083         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69084         process in case exit returns.
69086         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69087         initialize the GOT register before use.
69089         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69090         calculation of ARGC > 4.
69092         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69093         meaningful names to some local labels.
69095 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69096             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69098         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69099         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69100         (__arch_compare_and_exchange_val_16_acq): Likewise.
69101         (__arch_compare_and_exchange_val_32_acq): Likewise.
69102         (atomic_exchange_and_add): Fix gUSA sequence.
69103         (atomic_add): Likewise.
69104         (atomic_add_negative): Likewise.
69105         (atomic_add_zero): Likewise.
69106         (atomic_bit_test_set): Likewise.
69108 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69110         [BZ #13579]
69111         * include/link.h (struct link_map): Add l_free_initfini.
69112         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69113         l_initfini.
69114         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69115         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69116         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69117         set.
69119 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69121         * configure.in: Use AC_LANG_SOURCE.
69122         * configure: Regenerate.
69124 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69126         * configure.in (libc_cv_localstatedir): New substituted variable.
69127         * configure: Regenerated.
69128         * config.make.in (localstatedir): New variable, substituted from
69129         libc_cv_localstatedir.
69130         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69131         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69132         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69133         * sysdeps/gnu/configure: Regenerated.
69135 2012-06-21  Jeff Law  <law@redhat.com>
69137         [BZ #14277]
69138         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69139         free.  Simplify list management for _LIBC case.
69141 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69143         [BZ #14273]
69144         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69145         Clear sign bit of 64-bit integer value before comparing against
69146         overflow value.
69148         * sysdeps/mach/configure: Regenerated.
69150 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69152         [BZ #14278]
69153         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69155 2012-06-21  Jeff Law  <law@redhat.com>
69157         [BZ #13882]
69158         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69159         uint16_t for elements in the "seen" array to avoid char overflows.
69160         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69161         * elf/dl-open.c (dl_open_worker): Likewise.
69163 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69165         * scripts/list-sources.sh: Scan PORTS for translations.
69166         * po/libc.pot: Regenerated.
69168 2012-06-21  Andreas Jaeger  <aj@suse.de>
69170         [BZ #12194]
69171         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69172         warning.
69173         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69174         * bits/byteswap-16.h (__bswap_16): Likewise.
69175         * bits/byteswap.h (__bswap_constant_16): Likewise.
69177 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69179         [BZ #14117]
69180         * sysdeps/i386/fpu_control.h: Removed.
69181         * sysdeps/x86_64/fpu_control.h: Moved to ...
69182         * sysdeps/x86/fpu_control.h: Here.
69184         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69185         (_FPU_SETCW): Likewise.
69187 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69189         [BZ #14117]
69190         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69191         * sysdeps/x86/fpu/bits/mathinline.h: This.
69192         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69194         [BZ #14050]
69195         [BZ #14117]
69196         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69197         functions if __x86_64__ is defined.
69199 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69201         * string/endian.h: Add !__ASSEMBLER__ condition for including
69202         conversion interfaces.
69204 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69206         [BZ #14241]
69207         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69208         of ABS(x) in calculating zero to negative powers other than odd
69209         integers.
69210         * math/libm-test.inc (pow_test): Add more tests.
69212 2012-06-15  Andreas Jaeger  <aj@suse.de>
69214         * manual/contrib.texi (Contributors): Update entry of Liubov
69215         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69216         Machado Filho.
69218 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69220         * string/string.h: Add __wur to GNU version of strerror_r.
69222 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69224         [BZ #14229]
69225         * string/Makefile (tests): Add tst-strtok_r.
69226         * string/tst-strtok_r.c: New file.
69227         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69228         RAX_LP/RDX_LP on SAVE_PTR.
69230 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69232         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69234 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69236         * libm_test.inc (csqrt_test): Allow more spurious underflow
69237         exceptions.
69238         (j0_test): Likewise.
69239         (j1_test): Likewise.
69240         (y0_test): Likewise.
69241         (y1_test): Likewise.
69243 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69245         * po/Makefile (libc.pot): Use UTF-8 charset.
69247 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69249         [BZ #14210]
69250         Suppress sign-conversion warning from FD_SET.
69251         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69252         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69253         not unsigned long int.
69254         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69256 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69258         [BZ #14050]
69259         [BZ #14117]
69260         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69261         __extern_always_inline instead of __extern_inline.
69262         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69263         (__signbit): Likewise.
69264         (__signbitl): Support C++ namespace.
69265         (lrintf): New inline function.
69266         (lrint): Likewise.
69267         (llrintf): Likewise.
69268         (llrint): Likewise.
69269         (fmaxf): Likewise.
69270         (fmax): Likewise.
69271         (fminf): Likewise.
69272         (fmin): Likewise.
69273         (rint): Likewise.
69274         (rintf): Likewise.
69275         (ceil): Likewise.
69276         (ceilf): Likewise.
69277         (floor): Likewise.
69278         (floorf): Likewise.
69279         (nearbyint): Likewise.
69280         (nearbyintf): Likewise.
69282 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69284         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69285         non-default versions.
69287 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69289         [BZ #14218]
69290         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69292 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69294         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69295         (FE_UPWARD, FE_DOWNWARD): Don't define.
69296         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69297         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69299         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69300         reading it.
69301         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69302         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69304 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69306         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69307         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69308         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69309         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69311 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69313         [BZ #14117]
69314         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69315         * sysdeps/i386/fpu/Implies: New file.
69316         * sysdeps/x86_64/fpu/Implies: Likewise.
69317         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69318         * sysdeps/x86/fpu/bits/fenv.h: This.
69320         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69321         __SSE_MATH__.
69323 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69325         [BZ #14134]
69326         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69327         character 0xffff that matches the last element of the
69328         conversion table.
69330 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69332         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69333         fmodl commit.
69335 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69337         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69338         values higher than 25.6283.
69340 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69342         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69343         subnormal exponent extraction and add some __builtin_expect.
69344         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69345         Fix for subnormal mantissa calculation.
69347 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69349         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69350         cpu2 is -1 and errno is not ENOSYS.
69352 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69354         [BZ #14117]
69355         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69356         * sysdeps/x86/bits/string.h: This.
69357         * sysdeps/x86_64/bits/string.h: Removed.
69359         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69360         if not compiling for x86-64, but compiling for >= i486.
69362         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69363         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69365         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69366         New macro from Linux kernel 3.4.0.
69367         (FP_XSTATE_MAGIC2): Likewise.
69368         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69369         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69370         (struct _fpx_sw_bytes): New struct.
69371         (struct _xsave_hdr): Likewise.
69372         (struct _ymmh_state): Likewise.
69373         (struct _xstate): Likewise.
69375         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69376         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69377         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69378         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69379         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69380         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69382         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69383         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69384         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69385         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69386         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69387         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69389 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69391         [BZ #13743]
69392         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69393         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69394         (sysdep_headers): Include sys/platform/ppc.h.
69395         * sysdeps/powerpc/test-gettimebase.c: Test for
69396         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69397         * manual/Makefile (appendices): Include platform.texi.
69398         * manual/contrib.texi (Contributors): Update @node pointers.
69399         * manual/maint.texi (Maintenance): Likewise.
69400         (Platform): New node.
69401         * manual/platform.texi: New file.  Document the new features.
69403 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69404             Jakub Jelinek  <jakub@redhat.com>
69406         [BZ #14188]
69407         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69408         where __builtin_expect is unavailable.
69410 2012-06-03  David S. Miller  <davem@davemloft.net>
69412         * stdlib/longlong.h: Updated from GCC.
69414 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69416         [BZ #14042]
69417         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69418         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69419         __mcount_internal.
69420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69421         (GLIBC_2.16): Likewise.
69423 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69425         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69427 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69430         (default-abi): New variable.
69431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69432         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69433         variable.
69434         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69435         Likewise.
69436         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69437         Likewise.
69438         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69439         Likewise.
69441         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69442         definition.  Document in comment.
69444 2012-06-01  David S. Miller  <davem@davemloft.net>
69446         * stdlib/longlong.h: Updated from GCC.
69448 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69450         [BZ #14117]
69451         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69452         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69453         sys/debugreg.h sys/io.h here.
69454         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69455         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69456         sys/io.h.
69457         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69458         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69459         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69460         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69461         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69462         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69464         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69465         Define only if __x86_64__ is defined.
69467 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69469         [BZ #14048]
69470         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69471         Use int64_t for variable i.
69472         * math/libm-test.inc (fmod_test): Add more tests.
69474         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69475         z computation is not scheduled after fetestexcept.
69476         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69477         Use math_force_eval instead of asm to ensure calculation scheduled
69478         before exception test.
69479         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69480         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69482 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69485         computation is not scheduled after fetestexcept.
69487 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69489         [BZ #14117]
69490         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69491         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69493 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69495         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69496         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69498 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69500         [BZ #14117]
69501         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69502         <bits/wordsize.h>.
69503         (__WCHAR_MIN): Support __WORDSIZE == 64.
69504         (__WCHAR_MAX): Likewise.
69506         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69507         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69509         [BZ #14183]
69510         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69511         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69513         [BZ #14117]
69514         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69515         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69517         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69518         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69520         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69521         Defined to 1 if __x86_64__ isn't defined.
69522         (_STAT_VER_LINUX_OLD): New.
69523         (st_atime): Remove duplicate.
69524         (st_mtime): Likewise.
69525         (st_ctime): Likewise.
69527 2012-05-31  David S. Miller  <davem@davemloft.net>
69529         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69530         entries.
69532 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69534         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69535         gen-libm-test.pl.
69537         [BZ #14132]
69538         * elf/dl-reloc.c: Include <_itoa.h>.
69539         (_dl_reloc_bad_type): Remove use of INTUSE.
69540         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69541         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69542         * stdio-common/psiginfo.c (psiginfo): Likewise.
69543         * stdio-common/psignal.c (psignal): Likewise.
69544         * string/strsignal.c (strsignal): Likewise.
69545         * include/signal.h (_sys_siglist): Declare hidden proto.
69546         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69547         INTVARDEF with libc_hidden_data_def.
69548         * stdio-common/itoa-udigits.c: Likewise.
69549         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69550         (_itoa_lower_digits_internal): Remove declaration.
69551         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69552         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69553         (_sys_sigabbrev_internal): Remove aliases.
69554         (_sys_siglist): Define hidden alias.
69556 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69559         bits/sysctl.h.
69561 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69563         [BZ #14117]
69564         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69565         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69567         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69568         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69569         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69570         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69571         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69572         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69574         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69575         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69576         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69578         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69579         with __addr.
69580         (insw): Likewise.
69581         (insl): Likewise.
69582         (outsb): Likewise.
69583         (outsw): Likewise.
69584         (outsl): Likewise.
69586         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69587         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69588         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69590         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69591         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69592         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69593         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69594         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69597         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69598         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69600         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69601         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69604         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69605         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69607         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69608         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69609         to ...
69610         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69612         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69613         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69614         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69616         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69617         for x86-64.
69618         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69620 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69622         * math/math.h (M_El): Use two more decimal places.
69623         (M_LOG2El): Likewise.
69624         (M_LOG10El): Likewise.
69625         (M_LN2l): Likewise.
69626         (M_LN10l): Likewise.
69627         (M_PIl): Likewise.
69628         (M_PI_2l): Likewise.
69629         (M_PI_4l): Likewise.
69630         (M_1_PIl): Likewise.
69631         (M_2_PIl): Likewise.
69632         (M_2_SQRTPIl): Likewise.
69633         (M_SQRT2l): Likewise.
69634         (M_SQRT1_2l): Likewise.
69636 2012-05-31  David S. Miller  <davem@davemloft.net>
69638         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69639         values between float registers.
69640         * sysdeps/sparc/sparc64/memset.S: Likewise.
69641         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69643 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69645         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69646         -D_FORTIFY_SOURCE=1.
69647         (CPPFLAGS-tst-longjmp_chk.c): Define.
69648         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69649         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69650         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69651         CFLAGS-tst-wchar-h.c.
69653 2012-05-31  Marek Polacek  <polacek@redhat.com>
69655         [BZ #14132]
69656         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69657         __endmntent_internal): Remove declaration.
69658         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69659         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69660         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69662 2012-05-30  David S. Miller  <davem@davemloft.net>
69664         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69665         (___Q_simulate_exceptions): Use real FP ops rather than writing
69666         into the %fsr.
69667         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69668         Likewise.
69670 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69672         [BZ #14117]
69673         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69674         * sysdeps/x86/bits/xtitypes.h: This.
69676         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69677         * sysdeps/x86/bits/wordsize.h: This.
69679         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69680         * sysdeps/x86/bits/huge_vall.h: This.
69682         * sysdeps/i386/bits/select.h: Removed.
69683         * sysdeps/x86_64/bits/select.h: Renamed to ...
69684         * sysdeps/x86/bits/select.h: This.
69686         * sysdeps/i386/bits/setjmp.h: Removed.
69687         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69688         * sysdeps/x86/bits/setjmp.h: This.
69690         * sysdeps/i386/bits/mathdef.h: Removed.
69691         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69692         * sysdeps/x86/bits/mathdef.h: This.
69694 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69696         [BZ #14132]
69697         * include/sys/socket.h (__connect_internal)
69698         (__libc_sa_len_internal): Remove declaration.
69699         (__connect, __libc_sa_len): Declare hidden_proto.
69700         (SA_LEN): Remove use of INTUSE.
69701         * socket/connect.c: Add libc_hidden_def.
69702         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69703         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69704         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69705         alias.
69706         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69707         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69708         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69709         of adding _internal alias.
69711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69713         [BZ #14117]
69714         * sysdeps/i386/bits/link.h: Removed.
69715         * sysdeps/i386/bits/linkmap.h: Likewise.
69716         * sysdeps/x86_64/bits/link.h: Renamed to ...
69717         * sysdeps/x86/bits/link.h: This.
69718         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69719         * sysdeps/x86/bits/linkmap.h: This.
69721         * sysdeps/i386/bits/endian.h: Removed.
69722         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69723         * sysdeps/x86/bits/endian.h: This.
69725         * sysdeps/i386/bits/byteswap.h: Removed.
69726         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69727         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69728         * sysdeps/x86/bits/byteswap.h: This.
69729         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69730         * sysdeps/x86/bits/byteswap-16.h: This.
69731         * sysdeps/i386/Implies: Add x86.
69732         * sysdeps/x86_64/Implies: Likewise.
69734 2012-05-30  David S. Miller  <davem@davemloft.net>
69736         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69737         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69738         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69739         (FP_TRAPPING_EXCEPTIONS): Define.
69740         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69741         (FP_TRAPPING_EXCEPTIONS): Define.
69742         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69743         subnormals only when inexact has been signalled or underflow
69744         exceptions are enabled.
69745         (_FP_PACK_CANONICAL): Likewise.
69747 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69749         [BZ #14183]
69750         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69751         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69753 2012-05-30  Richard Henderson  <rth@twiddle.net>
69755         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69756         with #ifndef NOT_IN_libc.
69758         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69759         marked to avoid plt entry.
69761 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69763         [BZ #14112]
69764         * Makeconfig (default-abi): New macro.
69765         (abi-includes): Likewise.
69766         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69767         $(abi-$(default-abi)-lib-soname) for soname if defined.
69768         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69769         abi-variants.
69770         * Makefile (installed-stubs): Likewise.
69771         * include/stubs-biarch.h: Removed.
69772         * scripts/lib-names.awk: Only handle one library at a time.
69773         * scripts/soversions.awk: Remove WORDSIZE support.
69774         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69775         entries.
69776         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69777         Removed.
69778         (syscall-list-default-condition): Likewise.
69779         (syscall-list-default-condition): Likewise.
69780         (syscall-list-includes): Likewise.
69781         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69782         syscall-list-* with abi-*.  Handle undefined abi-variants.
69783         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69784         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69785         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69786         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69787         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69788         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69789         Removed.
69790         (syscall-list-32-options): Likewise.
69791         (syscall-list-32-condition): Likewise.
69792         (syscall-list-64-options): Likewise.
69793         (syscall-list-64-condition): Likewise.
69794         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69795         macro.
69796         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69797         Renamed to ...
69798         (abi-*): This.
69799         (abi-64-ld-soname): New macro.
69800         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69801         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69802         Renamed to ...
69803         (abi-*): This.
69804         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69805         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69807 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69809         * sysdeps/unix/sysv/linux/kernel-features.h
69810         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69811         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69812         include <kernel-features.h>.
69813         [!__NR_ftruncate64]: Remove conditional code.
69814         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69815         [__NR_ftruncate64]: Make code unconditional.
69816         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69817         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69818         include <kernel-features.h>.
69819         [!__NR_ftruncate64]: Remove conditional code.
69820         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69821         [__NR_ftruncate64]: Make code unconditional.
69822         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69824         include <kernel-features.h>.
69825         [!__NR_ftruncate64]: Remove conditional code.
69826         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69827         [__NR_ftruncate64]: Make code unconditional.
69828         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69830         include <kernel-features.h>.
69831         [!__NR_ftruncate64]: Remove conditional code.
69832         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69833         [__NR_ftruncate64]: Make code unconditional.
69834         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69836         * configure.in (libc_cv_fpie): Weaken to a compile test using
69837         LIBC_TRY_CC_OPTION.
69838         * configure: Regenerated.
69840 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69846         Refreshed.
69847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69853         Refreshed.
69855 2012-05-27  David S. Miller  <davem@davemloft.net>
69857         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69858         (___Q_zero): New.
69859         (__Q_simulate_exceptions): Return void.  Change to simulate
69860         exceptions by writing into the %fsr.
69861         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69862         (__Qp_handle_exceptions): Likewise.
69863         (numbers): Delete.
69864         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69865         __Qp_handle_exceptions.
69866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69867         __Qp_handle_exceptions.
69868         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69869         as unused and give dummy FP_RND_NEAREST initializer.
69870         (FP_INHIBIT_RESULTS): Define.
69871         (___Q_simulate_exceptions): Update declaration.
69872         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69873         formatting.
69874         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69875         as unused and give dummy FP_RND_NEAREST initializer.
69876         (__Qp_handle_exceptions): Update declaration.
69877         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69878         formatting.
69880 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69882         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69883         the temporary FPU control word.
69884         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69885         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69887         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69888         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69889         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69890         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69891         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69892         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69893         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69894         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69896 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69898         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69899         fields.
69901 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69903         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69904         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69905         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69906         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69907         Likewise.
69908         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69909         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69910         Likewise.
69912 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69914         * po/h.po: Update from translation team.
69916 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69918         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69920         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69921         handling of denormals.
69922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69923         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69924         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69925         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69929         Likewise.
69931 2012-05-26  Marek Polacek  <polacek@redhat.com>
69933         [BZ #14152]
69934         * math/libm-test.inc (fma_test): Don't always expect underflow
69935         exception.
69937 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69939         [BZ #12416]
69940         * elf/tst-execstack.c: Include stackinfo.h.
69941         (do_test): Adjust test case to ensure that pthread_getattr_np
69942         behaviour remains the same after marking stack executable.
69944 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69946         * sysdeps/unix/sysv/linux/kernel-features.h
69947         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69948         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69949         kernel-features.h.
69950         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69951         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69952         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69953         kernel-features.h.
69954         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69955         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69957 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69959         * configure.in: Define the default includes to being none.
69960         * configure: Regenerated.
69962 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69964         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69965         * sysdeps/x86_64/setjmp.S: Likewise.
69966         * sysdeps/i386/bsd-setjmp.S: Likewise.
69967         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69968         * sysdeps/i386/setjmp.S: Likewise.
69969         * sysdeps/i386/__longjmp.S: Likewise.
69970         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69971         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69973         * include/stap-probe.h: New file.
69974         * configure.in: Handle --enable-systemtap.
69975         * configure: Regenerated.
69976         * config.h.in (USE_STAP_PROBE): New #undef.
69977         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69978         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69979         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69981 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69983         [BZ #13717]
69984         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69985         to 2.4.0 where earlier.
69986         * sysdeps/unix/sysv/linux/configure: Regenerated.
69987         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69988         <kernel-features.h>.
69989         [__ASSUME_32BITUIDS]: Make code unconditional.
69990         [!__ASSUME_32BITUIDS]: Remove conditional code.
69991         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69992         <kernel-features.h>.
69993         [__ASSUME_32BITUIDS]: Make code unconditional.
69994         [!__ASSUME_32BITUIDS]: Remove conditional code.
69995         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69996         [__ASSUME_32BITUIDS]: Make code unconditional.
69997         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69998         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69999         <kernel-features.h>.
70000         [__ASSUME_32BITUIDS]: Make code unconditional.
70001         [!__ASSUME_32BITUIDS]: Remove conditional code.
70002         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70003         <kernel-features.h>.
70004         [__ASSUME_32BITUIDS]: Make code unconditional.
70005         [!__ASSUME_32BITUIDS]: Remove conditional code.
70006         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70007         <kernel-features.h>.
70008         [__ASSUME_32BITUIDS]: Make code unconditional.
70009         [!__ASSUME_32BITUIDS]: Remove conditional code.
70010         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70011         <kernel-features.h>.
70012         [__ASSUME_32BITUIDS]: Make code unconditional.
70013         [!__ASSUME_32BITUIDS]: Remove conditional code.
70014         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70015         <kernel-features.h>.
70016         [__ASSUME_32BITUIDS]: Make code unconditional.
70017         [!__ASSUME_32BITUIDS]: Remove conditional code.
70018         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70019         <kernel-features.h>.
70020         [__ASSUME_32BITUIDS]: Make code unconditional.
70021         [!__ASSUME_32BITUIDS]: Remove conditional code.
70022         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70023         <kernel-features.h>.
70024         [__ASSUME_32BITUIDS]: Make code unconditional.
70025         [!__ASSUME_32BITUIDS]: Remove conditional code.
70026         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70027         <kernel-features.h>.
70028         [__ASSUME_32BITUIDS]: Make code unconditional.
70029         [!__ASSUME_32BITUIDS]: Remove conditional code.
70030         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70031         <kernel-features.h>.
70032         [__ASSUME_32BITUIDS]: Make code unconditional.
70033         [!__ASSUME_32BITUIDS]: Remove conditional code.
70034         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70035         <kernel-features.h>.
70036         [__ASSUME_32BITUIDS]: Make code unconditional.
70037         [!__ASSUME_32BITUIDS]: Remove conditional code.
70038         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70039         <kernel-features.h>.
70040         [__NR_setresgid] (__setresgid): Do not declare.
70041         [__ASSUME_32BITUIDS]: Make code unconditional.
70042         [!__ASSUME_32BITUIDS]: Remove conditional code.
70043         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70044         <kernel-features.h>.
70045         [__NR_setresuid] (__setresuid): Do not declare.
70046         [__ASSUME_32BITUIDS]: Make code unconditional.
70047         [!__ASSUME_32BITUIDS]: Remove conditional code.
70048         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70049         <kernel-features.h>.
70050         [__ASSUME_32BITUIDS]: Make code unconditional.
70051         [!__ASSUME_32BITUIDS]: Remove conditional code.
70052         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70053         <kernel-features.h>.
70054         [__ASSUME_32BITUIDS]: Make code unconditional.
70055         [!__ASSUME_32BITUIDS]: Remove conditional code.
70056         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70057         <kernel-features.h>.
70058         [__ASSUME_32BITUIDS]: Make code unconditional.
70059         [!__ASSUME_32BITUIDS]: Remove conditional code.
70060         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70061         <kernel-features.h>.
70062         [__ASSUME_32BITUIDS]: Make code unconditional.
70063         [!__ASSUME_32BITUIDS]: Remove conditional code.
70064         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70065         <kernel-features.h>.
70066         [__ASSUME_32BITUIDS]: Make code unconditional.
70067         [!__ASSUME_32BITUIDS]: Remove conditional code.
70068         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70069         <kernel-features.h>.
70070         [__ASSUME_32BITUIDS]: Make code unconditional.
70071         [!__ASSUME_32BITUIDS]: Remove conditional code.
70072         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70073         <kernel-features.h>.
70074         [__ASSUME_32BITUIDS]: Make code unconditional.
70075         [!__ASSUME_32BITUIDS]: Remove conditional code.
70076         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70077         <kernel-features.h>.
70078         [__ASSUME_32BITUIDS]: Make code unconditional.
70079         [!__ASSUME_32BITUIDS]: Remove conditional code.
70080         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70081         <kernel-features.h>.
70082         [__ASSUME_32BITUIDS]: Make code unconditional.
70083         [!__ASSUME_32BITUIDS]: Remove conditional code.
70084         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70085         <kernel-features.h>.
70086         [__ASSUME_32BITUIDS]: Make code unconditional.
70087         [!__ASSUME_32BITUIDS]: Remove conditional code.
70088         * sysdeps/unix/sysv/linux/kernel-features.h
70089         (__ASSUME_SETRESUID_SYSCALL): Remove.
70090         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70091         (__ASSUME_32BITUIDS): Likewise.
70092         (__ASSUME_LDT_WORKS): Likewise.
70093         (__ASSUME_O_DIRECTORY): Likewise.
70094         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70095         architecture but not kernel version.
70096         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70097         (__ASSUME_MMAP2_SYSCALL): Likewise.
70098         (__ASSUME_STAT64_SYSCALL): Likewise.
70099         (__ASSUME_IPC64): Likewise.
70100         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70101         <kernel-features.h>.
70102         [__ASSUME_32BITUIDS]: Make code unconditional.
70103         [!__ASSUME_32BITUIDS]: Remove conditional code.
70104         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70105         <kernel-features.h>.
70106         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70107         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70108         132096]: Remove conditional code.
70109         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70110         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70111         <kernel-features.h>.
70112         [__ASSUME_32BITUIDS]: Make code unconditional.
70113         [!__ASSUME_32BITUIDS]: Remove conditional code.
70114         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70115         <kernel-features.h>.
70116         [__ASSUME_32BITUIDS]: Make code unconditional.
70117         [!__ASSUME_32BITUIDS]: Remove conditional code.
70118         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70119         <kernel-features.h>.
70120         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70121         unconditional.
70122         (__setresgid): Do not declare.
70123         [__ASSUME_32BITUIDS]: Make code unconditional.
70124         [!__ASSUME_32BITUIDS]: Remove conditional code.
70125         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70126         <kernel-features.h>.
70127         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70128         unconditional.
70129         (__setresuid): Do not declare.
70130         [__ASSUME_32BITUIDS]: Make code unconditional.
70131         [!__ASSUME_32BITUIDS]: Remove conditional code.
70132         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70133         <kernel-features.h>.
70134         [__ASSUME_32BITUIDS]: Make code unconditional.
70135         [!__ASSUME_32BITUIDS]: Remove conditional code.
70136         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70137         <kernel-features.h>.
70138         [__ASSUME_32BITUIDS]: Make code unconditional.
70139         [!__ASSUME_32BITUIDS]: Remove conditional code.
70141 2012-05-25  Richard Henderson  <rth@twiddle.net>
70143         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70144         dl_hwcap to ifunc resolver.
70145         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70146         elf_ifunc_invoke.
70147         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70148         dl_hwcap to ifunc resolver.
70149         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70151 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70153         [BZ #14153]
70154         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70155         for |x| <= 2**-26, not 2**-57.
70156         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70157         exception.
70159 2012-05-24  Jeff Law  <law@redhat.com>
70161         * stdio-common/Makefile (tests): Add bug25.
70162         * stdio-common/bug25.c: New test.
70164 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70166         [BZ #13576]
70167         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70168         multiple of MALLOC_ALIGNMENT in size.
70169         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70171 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70173         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70174         Require >= 256.
70175         (FILENAME_MAX): Use macro-int-constant.
70176         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70177         (_IOFBF): Use macro-int-constant.
70178         (_IOLBF): Likewise.
70179         (_IONBF): Likewise.
70180         (SEEK_CUR): Likewise.
70181         (SEEK_END): Likewise.
70182         (SEEK_SET): Likewise.
70183         (TMP_MAX): Likewise.
70184         (EOF): Use macro-int-constant.  Require < 0.
70185         (NULL): Use macro-constant.  Require == 0.
70186         (stdin): Require type to be FILE *.
70187         (stdout): Likewise.
70188         (stderr): Likewise.
70189         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70190         macro-int-constant.
70191         (EXIT_SUCCESS): Likewise.
70192         (NULL): Use macro-constant.  Require == 0.
70193         (RAND_MAX): Use macro-int-constant.
70194         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70195         [C99-based standards] (strtof): Require function.
70196         [C99-based standards] (strtold): Likewise.
70197         [C99-based standards] (strtoll): Likewise.
70198         [C99-based standards] (strtoull): Likewise.
70199         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70200         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70201         [ISO || ISO99 || ISO11] (math.h): Likewise.
70202         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70203         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70204         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70206 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70208         [BZ #14132]
70209         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70210         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70211         * intl/dgettext.c (DCGETTEXT): Likewise.
70212         * intl/gettext.c (DCGETTEXT): Likewise.
70213         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70214         * posix/regex_internal.h (gettext): Likewise.
70215         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70216         Remove declaration.
70217         * include/argz.h (__argz_count_internal)
70218         (__argz_stringify_internal): Remove declaration.
70219         (__argz_count, __argz_stringify): Declare hidden proto.
70220         * intl/dcgettext.c: Remove use of INTDEF.
70221         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70222         * string/argz-stringify.c: Likewise.
70223         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70224         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70225         Declare hidden proto.
70226         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70227         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70228         Declare hidden proto.
70229         * include/stdio.h (__asprintf_internal): Don't declare.
70230         (__asprintf): Don't define as macro.  Declare hidden proto.
70231         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70232         (__fsetlocking): Declare hidden proto.
70233         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70234         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70235         hidden proto.
70236         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70237         (_IO_setlinebuf): Remove use of INTUSE.
70238         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70239         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70240         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70241         Remove declaration.
70242         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70243         (_IO_do_flush): Remove use of INTUSE.
70244         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70245         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70246         (_IO_adjust_column, _IO_least_wmarker)
70247         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70248         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70249         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70250         (_IO_default_doallocate, _IO_wdefault_doallocate)
70251         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70252         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70253         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70254         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70255         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70256         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70257         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70258         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70259         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70260         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70261         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70262         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70263         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70264         proto.
70265         (_IO_flush_all_internal, _IO_adjust_column_internal)
70266         (_IO_default_uflow_internal, _IO_default_finish_internal)
70267         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70268         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70269         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70270         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70271         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70272         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70273         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70274         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70275         (_IO_file_close_internal, _IO_file_close_it_internal)
70276         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70277         (_IO_file_init_internal, _IO_file_attach_internal)
70278         (_IO_file_fopen_internal, _IO_file_read_internal)
70279         (_IO_file_sync_internal, _IO_file_seek_internal)
70280         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70281         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70282         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70283         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70284         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70285         (_IO_list_all_internal, _IO_link_in_internal)
70286         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70287         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70288         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70289         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70290         (_IO_do_write_internal, _IO_padn_internal)
70291         (_IO_getline_info_internal, _IO_getline_internal)
70292         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70293         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70294         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70295         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70296         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70297         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70298         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70299         with libc_hidden_ver, remove use of INTUSE.
70300         * libio/genops.c: Likewise.
70301         * libio/freopen.c: Likewise.
70302         * libio/freopen64.c: Likewise.
70303         * libio/iofclose.c: Likewise.
70304         * libio/iofdopen.c: Likewise.
70305         * libio/iofflush.c: Likewise.
70306         * libio/iofflush_u.c: Likewise.
70307         * libio/iofgets.c: Likewise.
70308         * libio/iofgets_u.c: Likewise.
70309         * libio/iofopen.c: Likewise.
70310         * libio/iofopncook.c: Likewise.
70311         * libio/iofread.c: Likewise.
70312         * libio/iofread_u.c: Likewise.
70313         * libio/ioftell.c: Likewise.
70314         * libio/iofwrite.c: Likewise.
70315         * libio/iogetline.c: Likewise.
70316         * libio/iogets.c: Likewise.
70317         * libio/iogetwline.c: Likewise.
70318         * libio/iopadn.c: Likewise.
70319         * libio/iopopen.c: Likewise.
70320         * libio/ioseekoff.c: Likewise.
70321         * libio/ioseekpos.c: Likewise.
70322         * libio/iosetbuffer.c: Likewise.
70323         * libio/iosetvbuf.c: Likewise.
70324         * libio/ioungetc.c: Likewise.
70325         * libio/ioungetwc.c: Likewise.
70326         * libio/iovdprintf.c: Likewise.
70327         * libio/iovsprintf.c: Likewise.
70328         * libio/iovsscanf.c: Likewise.
70329         * libio/memstream.c: Likewise.
70330         * libio/obprintf.c: Likewise.
70331         * libio/oldfileops.c: Likewise.
70332         * libio/oldiofclose.c: Likewise.
70333         * libio/oldiofdopen.c: Likewise.
70334         * libio/oldiofopen.c: Likewise.
70335         * libio/oldiopopen.c: Likewise.
70336         * libio/oldstdfiles.c: Likewise.
70337         * libio/putc.c: Likewise.
70338         * libio/setbuf.c: Likewise.
70339         * libio/setlinebuf.c: Likewise.
70340         * libio/stdfiles.c: Likewise.
70341         * libio/strops.c: Likewise.
70342         * libio/vasprintf.c: Likewise.
70343         * libio/vscanf.c: Likewise.
70344         * libio/vsnprintf.c: Likewise.
70345         * libio/vswprintf.c: Likewise.
70346         * libio/wfiledoalloc.c: Likewise.
70347         * libio/wfileops.c: Likewise.
70348         * libio/wgenops.c: Likewise.
70349         * libio/wmemstream.c: Likewise.
70350         * libio/wstrops.c: Likewise.
70351         * libio/__fpurge.c: Likewise.
70352         * libio/__fsetlocking.c: Likewise.
70353         * assert/assert.c: Likewise.
70354         * debug/fgets_chk.c: Likewise.
70355         * debug/fgets_u_chk.c: Likewise.
70356         * debug/fread_chk.c: Likewise.
70357         * debug/fread_u_chk.c: Likewise.
70358         * debug/gets_chk.c: Likewise.
70359         * debug/obprintf_chk.c: Likewise.
70360         * debug/vasprintf_chk.c: Likewise.
70361         * debug/vdprintf_chk.c: Likewise.
70362         * debug/vsnprintf_chk.c: Likewise.
70363         * debug/vsprintf_chk.c: Likewise.
70364         * malloc/mtrace.c: Likewise.
70365         * misc/error.c: Likewise.
70366         * misc/syslog.c: Likewise.
70367         * stdio-common/asprintf.c: Likewise.
70368         * stdio-common/fxprintf.c: Likewise.
70369         * stdio-common/getw.c: Likewise.
70370         * stdio-common/isoc99_fscanf.c: Likewise.
70371         * stdio-common/isoc99_scanf.c: Likewise.
70372         * stdio-common/isoc99_vfscanf.c: Likewise.
70373         * stdio-common/isoc99_vscanf.c: Likewise.
70374         * stdio-common/isoc99_vsscanf.c: Likewise.
70375         * stdio-common/printf-prs.c: Likewise.
70376         * stdio-common/printf_fp.c: Likewise.
70377         * stdio-common/printf_fphex.c: Likewise.
70378         * stdio-common/printf_size.c: Likewise.
70379         * stdio-common/putw.c: Likewise.
70380         * stdio-common/scanf.c: Likewise.
70381         * stdio-common/sprintf.c: Likewise.
70382         * stdio-common/tmpfile.c: Likewise.
70383         * stdio-common/vfprintf.c: Likewise.
70384         * stdio-common/vfscanf.c: Likewise.
70385         * stdlib/strfmon_l.c: Likewise.
70386         * sunrpc/openchild.c: Likewise.
70387         * sunrpc/xdr_stdio.c: Likewise.
70388         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70389         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70391 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70393         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70395         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70396         in the third column, to generate for the shared library an IFUNC
70397         that uses _dl_vdso_vsym.
70398         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70399         * Makeconfig (object-suffixes-noshared): New variable.
70401         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70402         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70403         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70404         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70406         [BZ #14132]
70407         * include/sys/time.h (__gettimeofday): Remove macro.
70408         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70409         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70410         Remove INTDEF.
70411         (__gettimeofday): Add libc_hidden_def.
70412         (gettimeofday): Add libc_hidden_weak.
70413         * sysdeps/mach/gettimeofday.c: Likewise.
70414         * sysdeps/posix/gettimeofday.c: Likewise.
70415         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70416         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70417         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70418         (__gettimeofday_internal): Remove strong_alias.
70419         (__gettimeofday): Add libc_hidden_def.
70420         (gettimeofday): Add libc_hidden_weak.
70421         * sysdeps/unix/syscalls.list (gettimeofday):
70422         Remove __gettimeofday_internal alias.
70424 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70425             H.J. Lu  <hongjiu.lu@intel.com>
70427         [BZ #12495]
70428         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70429         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70430         (largebin_index_32_big): New.
70431         (largebin_index): Use it for 16-byte alignment.
70432         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70433         correction with front_misalign.
70435 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70439         Likewise.
70440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70441         Likewise.
70442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70443         Likewise.
70444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70445         Likewise.
70446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70447         Likewise.
70448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70449         Likewise.
70450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70451         Likewise.
70452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70453         Likewise.
70454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70455         Likewise.
70456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70457         Likewise.
70458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70459         Likewise.
70460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70461         Likewise.
70463         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70464         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70466 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70468         [BZ #10846]
70469         [BZ #14036]
70470         * math/libm-test.inc (exp_test): Add test from bug 14036.
70471         (pow_test): Add test from bug 10846.
70473         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70474         and other flags.
70475         (special_function): Do not include flags in test name.
70476         (parse_args): Likewise.
70477         * sysdeps/i386/fpu/libm-test-ulps: Update.
70478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70479         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70480         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70483         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70484         exceptions.
70485         * math/libm-test.inc ("Philosophy"): Update comment about
70486         exception testing.
70487         (UNDERFLOW_EXCEPTION): New macro.
70488         (UNDERFLOW_EXCEPTION_OK): Likewise.
70489         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70490         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70491         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70492         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70493         (INVALID_EXCEPTION_OK): Update value.
70494         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70495         (OVERFLOW_EXCEPTION_OK): Likewise.
70496         (IGNORE_ZERO_INF_SIGN): Likewise.
70497         (test_exceptions): Handle underflow exceptions.
70498         (acos_test): Update for underflow exception expectations.
70499         (cexp_test): Likewise.
70500         (clog_test): Likewise.
70501         (clog10_test): Likewise.
70502         (csqrt_test): Likewise.
70503         (ctan_test): Likewise.
70504         (ctanh_test): Likewise.
70505         (exp_test): Likewise.
70506         (exp10_test): Likewise.
70507         (exp2_test): Likewise.
70508         (expm1_test): Likewise.
70509         (fma_test): Likewise.
70510         (j0_test): Likewise.
70511         (jn_test): Likewise.
70512         (nexttoward_test): Likewise.
70513         (pow_test): Likewise.
70514         (scalbn_test): Likewise.
70515         (scalbln_test): Likewise.
70516         (tan_test): Likewise.
70517         (y1_test): Likewise.
70518         * sysdeps/i386/fpu/libm-test-ulps: Update.
70519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70521 2012-05-23  David S. Miller  <davem@davemloft.net>
70523         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70524         (__libc_sigaction): Remove unused local variables.
70526 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70528         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70530 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70532         mktime: avoid signed integer overflow
70533         * time/mktime.c (__mktime_internal): Do not mishandle the case
70534         where diff == INT_MIN.
70536         mktime: simplify computation of average
70537         * time/mktime.c (ranged_convert): Use new time_t_avg function
70538         instead of rolling our own (probably-slower) code.
70540         mktime: do not assume signed right shift propagates sign bit
70541         * time/mktime.c (isdst_differ): New static function.
70542         (__mktime_internal): No need to normalize tm_isdst now.
70543         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70544         tm_isdst values.
70546         mktime: merge another wrapv change from gnulib
70547         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70548         from some compilers.
70550         mktime: remove incorrect attempt at unusual arithmetics
70551         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70552         The code didn't really work on such machines anyway.
70553         (TYPE_MINIMUM): Assume two's complement.
70554         (twos_complement_arithmetic): Verify that long_int and time_t
70555         are two's complement (or unsigned, in the latter case).
70557         mktime: check signed shifts on long_int and time_t, too
70558         * time/mktime.c (SHR): Check that shifts work as desired
70559         on the types long_int and time_t too, as SHR is used on
70560         such types.
70562         mktime: do not assume 'long' is wide enough
70563         * time/mktime.c (verify): Move decl up.
70564         (long_int): New type.
70565         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70566         to remove assumption in the code that 'long' is wide enough to
70567         store year values.  This assumption is not true on x32 and on
70568         some non-glibc platforms.
70570         mktime: merge wrapv change from gnulib
70571         * time/mktime.c (WRAPV): New macro.
70572         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70573         (guess_time_tm, __mktime_internal): Do not assume that signed
70574         integer overflow wraps around; modern compilers generate code
70575         where this assumption is no longer valid.
70577 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70579         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70580         Replace "jmp L(pseudo_end)" with "ret".
70581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70582         Likewise.
70584 2012-05-23  Andreas Jaeger  <aj@suse.de>
70586         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70587         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70589 2012-05-23  Andreas Jaeger  <aj@suse.de>
70590             Maximilian Attems  <max@stro.at>
70592         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70593         New macros.
70595 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70597         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70598         code so that pseudo_end is just ret and the stack pointer is
70599         correct also for static library in error case.
70601 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70603         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70604         move to syscalls.list.
70605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70610         * manual/install.texi (Running make install): Do not mention Linux
70611         kernel version for which pt_chown is not needed.
70612         (Linux): Do not mention problems with nscd with 2.0 kernels.
70613         * INSTALL: Regenerated.
70615 2012-05-23  Andreas Jaeger  <aj@suse.de>
70617         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70618         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70619         macro.
70620         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70622         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70624         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70626         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70628         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70629         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70630         * sysdeps/unix/sysv/linux/bits/in.h
70631         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70633 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70635         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70636         (PREPARE_VERSION): Just use assert instead, it will be elided
70637         under [NDEBUG] anyway.
70639 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70641         * sysdeps/unix/sysv/linux/Makefile: Include
70642         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70643         (sysdep_routines): Remove sysctl.
70644         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70645         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70646         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70647         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70648         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70650 2012-05-22  Andreas Jaeger  <aj@suse.de>
70652         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70653         that pseudo_end is just ret and the stack pointer is correct also
70654         for static library in error case.
70656 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70658         [BZ #14122]
70659         * nss/nsswitch.c (defconfig_entries): New variable.
70660         (__nss_database_lookup): Don't leak defconfig entries.
70661         (nss_parse_service_list): Don't leak on error paths.
70662         (free_database_entries): New function.
70663         (free_defconfig): New function.
70664         (free_mem): Move common code to free_database_entries.
70666 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70668         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70669         Add arch_prctl.
70670         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70672         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70673         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70674         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70675         New macro.
70676         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70677         (INTERNAL_SYSCALL_TYPES): Likewise.
70678         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70679         (LOAD_REGS_TYPES_[1-6]): Likewise.
70680         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70681         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70683 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70685         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70686         copysignl for GLIBC_2_0.
70687         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70688         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70690         logbl for GLIBC_2_0.
70691         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70692         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70694 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70696         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70697         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70699         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70700         Use "neg %eax".
70702         * time/mktime.c: Update copyright years.
70704 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70706         mktime: merge comment-quoting-style change from gnulib
70707         * time/mktime.c: Quote 'like this' in comments.
70708         The GNU coding standards suggest that we no longer quote `like this',
70709         as "`" and "'" are typically rendered asymmetrically nowadays.
70710         The typical gnulib style is to quote 'like this' when quoting
70711         code, and "like this" when quoting English.
70713         * time/mktime.c (compile-command): Add "-I.".
70715         mktime: merge mktime-internal.h change from gnulib
70716         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70718         mktime: merge time_r change from gnulib
70719         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70721         mktime: merge DEBUG change from gnulib
70722         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70723         case system <time.h> has a #define.
70725         mktime: merge <sys/types.h> change from gnulib
70726         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70727         since <time.t> is now guaranteed to define time_t.
70729         mktime: merge HAVE_CONFIG_H change from gnulib
70730         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70732 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70735         Use "neg %eax".
70737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70738         __rlim_t cast.
70739         (struct rusage): Use anonymous union to pad each field to
70740         __syscall_slong_t.
70742 2012-05-21  David S. Miller  <davem@davemloft.net>
70744         * Makefules (o-iterator): Remove .s cases.
70745         (compile-command.s): Delete.
70746         (COMPILE.s): Delete.
70747         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70749 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70751         * configure.in (libc_cv_predef_stack_protector): Only consider
70752         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70753         * configure: Regenerated.
70755 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70757         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70758         New macro.  Use R*LP on int and pointer.
70759         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70760         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70761         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70762         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70764         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70765         [__WORDSIZE_TIME64_COMPAT32] instead of
70766         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70767         (struct utmp): Likewise.
70768         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70769         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70770         Renamed to ...
70771         (__WORDSIZE_TIME64_COMPAT32): This.
70772         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70773         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70774         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70775         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70776         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70777         (__WORDSIZE_TIME64_COMPAT32): New macro.
70779 2012-05-21  Andreas Jaeger  <aj@suse.de>
70781         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70782         only if [SHARED]. Add prototype for __wcschr_ia32.
70784 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70786         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70787         of %rbp unmolested in the jmp_buf while mangling the low bits.
70788         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70789         unmolested high bits of %rbp while demangling the low bits.
70790         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70792 2012-05-21  Andreas Jaeger  <aj@suse.de>
70794         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70795         * sunrpc/svc_simple.c: Use it for registerrpc.
70796         * sunrpc/xcrypt.c: Use it for passwd2des.
70798         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70800 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70802         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70803         Don't define if [__SYSCALL_WORDSIZE != 32].
70804         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70805         New macro.
70807 2012-05-21  Bruno Haible  <bruno@clisp.org>
70808             Andreas Jaeger  <aj@suse.de>
70810         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70811         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70812         inptr and inend for must_buffer_ch.
70813         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70814         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70815         * stdio-common/Makefile (tests): Remove bug15.
70816         (bug15-ENV): Remove macro.
70817         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70818         anymore.
70820 2012-05-19  Andreas Jaeger  <aj@suse.de>
70821             Roland McGrath  <roland@hack.frob.com>
70823         * manual/contrib.texi: Completely rewritten. It contains now an
70824         alphabetical list of contributors and their contributions.
70826 2012-05-21  Richard Henderson  <rth@twiddle.net>
70828         * misc/getauxval.c (__getauxval): Use unsigned long int.
70829         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70830         (getauxval): Use unsigned long int.
70832 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70834         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70836 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70838         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70839         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70840         __alignof__ (long double).
70842 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70844         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70846 2012-05-20  Richard Henderson  <rth@twiddle.net>
70848         * misc/getauxval.c: New file.
70849         * misc/sys/auxv.h: New file.
70850         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70851         (routines): Add getauxval.
70852         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70853         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70854         * elf/dl-sysdep.c (_dl_auxv): Remove.
70855         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70856         * elf/dl-support.c (_dl_auxv): New variable.
70857         (_dl_aux_init): Initialize it.
70858         * manual/startup.texi (Auxiliary Vector): New node.
70859         * sysdeps/generic/bits/hwcap.h: New file.
70860         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70861         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70862         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70863         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70864         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70865         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70867         Update.
70868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70877 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70881 2012-05-19  David S. Miller  <davem@davemloft.net>
70883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70885 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70887         [BZ #14123]
70888         * math/s_ccosh.c: Include <float.h>
70889         (__ccosh): Avoid internal overflow calculating sinh and cosh
70890         values before multiplying by sin and cos values.
70891         * math/s_ccoshf.c: Likewise.
70892         * math/s_ccoshl.c: Likewise.
70893         * math/s_csin.c: Likewise.
70894         * math/s_csinf.c: Likewise.
70895         * math/s_csinl.c: Likewise.
70896         * math/s_csinh.c: Likewise.
70897         * math/s_csinhf.c: Likewise.
70898         * math/s_csinhl.c: Likewise.
70899         * math/libm-test.inc (ccos_test): Add more tests.
70900         (ccosh_test): Likewise.
70901         (csin_test): Likewise.
70902         (csinh_test): Likewise.
70903         * sysdeps/i386/fpu/libm-test-ulps: Update.
70904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70906 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70908         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70909         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70911         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70913 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70915         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70916         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70917         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70918         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70919         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70920         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70921         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70922         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70923         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70924         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70925         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70926         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70927         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70928         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70929         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70930         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70931         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70932         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70933         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70934         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70935         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70936         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70937         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70938         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70939         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70940         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70941         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70942         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70943         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70944         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70945         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70947 2012-05-18  Andreas Jaeger  <aj@suse.de>
70949         * csu/.gitignore: Delete.
70951 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70953         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70954         (timex): Use __syscall_slong_t.
70956 2012-05-18  Andreas Jaeger  <aj@suse.de>
70957             Carlos O'Donell  <carlos_odonell@mentor.com>
70959         * manual/install.texi (Configuring and compiling): Update
70960         description about files modified in the source directory.
70961         * INSTALL: Regenerated.
70963 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70965         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70966         value.  Use "or" to set return value to -1.
70967         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70968         negate return value.
70970 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70972         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70973         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70974         failure if the compiler has Graphite support disabled.
70975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70976         Likewise.
70977         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70978         (CFLAGS-memmove.c): Likewise.
70979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70980         Likewise.
70982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70984         * sysdeps/x86_64/x32/_itoa.h: New file.
70986         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70987         getdents system call only if kernel and user dirents have the
70988         same d_ino and d_off.
70990         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70991         LLONG_MAX != LONG_MAX.
70992         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70993         (_fitoa_word): Likewise.
70995         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70996         years.
70997         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70998         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70999         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71001         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71002         include <bits/wordsize.h>.  Check __x86_64__ instead of
71003         __WORDSIZE.
71004         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71005         if __x86_64__ is defined.  Use anonymous union on fpstate.
71007         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71008         anonymous union.
71010 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71012         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71013         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71014         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71015         Refer to _rtld_local_ro instead of _rtld_global_ro.
71016         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71017         Likewise.
71018         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71019         Likewise.
71020         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71021         Likewise.
71022         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71023         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71024         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71026         [BZ #10882]
71027         * sysdeps/powerpc/powerpc32/dl-machine.c
71028         (__elf_machine_runtime_setup) [PROF]: Don't reference
71029         _dl_prof_resolve.
71031 2012-05-18  Andreas Jaeger  <aj@suse.de>
71033         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71034         function only available for GCCs before 3.4 since GCC 3.4
71035         introduced a builtin.
71036         (lrint): Likewise.
71037         (llrintf): Likewise.
71038         (llrint): Likewise.
71039         (fmaxf): Likewise.
71040         (fmax): Likewise.
71041         (fminf): Likewise.
71042         (fmin): Likewise.
71043         (rint): Likewise.
71044         (rintf): Likewise.
71045         (nearbyint): Likewise.
71046         (nearbyintf): Likewise.
71047         (ceil): Likewise.
71048         (ceilf): Likewise.
71049         (floor): Likewise.
71050         (floorf): Likewise.
71052 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71054         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71055         on both fields and cast pointer to __syscall_ulong_t.
71057         * bits/types.h (__fsword_t): New type.
71058         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71059         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71060         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71061         (__FSWORD_T_TYPE): Likewise.
71062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71063         (__FSWORD_T_TYPE): Likewise.
71064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71065         (__FSWORD_T_TYPE): Likewise.
71066         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71067         (__FSWORD_T_TYPE): Likewise.
71068         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71069         __SWORD_TYPE with __fsword_t.
71070         (statfs64): Likewise.
71072 2012-05-17  David S. Miller  <davem@davemloft.net>
71074         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71076 2012-05-17  Andreas Jaeger  <aj@suse.de>
71078         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71079         warning.
71081 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71083         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71085 2012-05-17  Andreas Jaeger  <aj@suse.de>
71087         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71088         when it is used.
71090 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71092         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71094 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71096         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71097         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71099 2012-05-17  Andreas Jaeger  <aj@suse.de>
71100             Carlos O'Donell  <carlos_odonell@mentor.com>
71102         [BZ #14059]
71103         * sysdeps/x86_64/multiarch/init-arch.h
71104         (bit_YMM_Usable): Rename to...
71105         (bit_AVX_Usable): ... this.
71106         (bit_FMA4_Usable): New macro.
71107         (bit_XMM_state): New macro.
71108         (bit_YMM_state): New macro.
71109         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71110         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71111         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71112         (CPUID_OSXSAVE): New macro.
71113         (CPUID_AVX): New macro.
71114         (CPUID_FMA4): New macro.
71115         (index_YMM_Usable): Rename to...
71116         (index_AVX_Usable): ... this.
71117         (HAS_AVX): Use HAS_ARCH_FEATURE.
71118         (HAS_FMA4): Likewise.
71119         (HAS_YMM_USABLE): Remove.
71120         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71121         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71122         are present.
71123         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71124         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71125         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71126         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71127         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71129 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71131         * math/libm-test.c: Support platforms without multiple rounding modes.
71132         * math/bug-nextafter.c: Support platforms without FP exceptions.
71133         * math/bug-nexttoward.c: Likewise.
71134         * math/test-fenv.c: Likewise.
71135         * math/test-misc.c: Likewise.
71136         * stdlib/bug-getcontext.c: Likewise.
71138 2012-05-17  Andreas Jaeger  <aj@suse.de>
71140         * manual/examples/search.c (critter_cmp): Change signature to
71141         avoid warnings.
71142         * manual/string.texi (Collation Functions): Likewise.
71144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71146         * bits/types.h: Fold copyright years.
71147         * bits/typesizes.h: Likewise.
71148         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71149         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71150         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71151         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71152         * time/time.h: Likewise.
71154 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71156         [BZ #208]
71157         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71158         in instead of returning them.  Return void.
71159         (__libc_mallinfo): Accumulate over all arenas.
71160         (__malloc_stats): Adjust for change in int_mallinfo interface.
71162 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71164         [BZ #10375]
71165         * configure.in (NM): Add AC_CHECK_TOOL for it.
71166         (libc_extra_cflags): New substituted variable.
71167         Check for -fstack-protector being used implicitly.
71168         * configure: Regenerated.
71169         * config.make.in (config-extra-cflags): New variable,
71170         gets @libc_extra_cflags@.
71171         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71173         [BZ #10375]
71174         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71175         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71176         * configure: Regenerated.
71177         * config.make.in (CPPUNDEFS): New substituted variable.
71178         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71179         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71180         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71184         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71185         (mq_attr): Use __syscall_slong_t.
71187 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71189         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71190         Check __x86_64__ instead of __WORDSIZE.
71191         (_STAT_VER_LINUX): Likewise.
71192         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71193         __syscall_ulong_t and __syscall_slong_t.
71194         (stat64): Likewise.
71196 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71198         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71200 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71202         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71204 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71206         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71207         __syscall_ulong_t.
71209         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71210         include <bits/wordsize.h>.  Check __x86_64__ instead of
71211         __WORDSIZE.
71212         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71213         defined.
71214         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71216         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71217         include <bits/wordsize.h>.  Check __x86_64__ instead of
71218         __WORDSIZE.
71219         (user_regs_struct): Use "__extension__ unsigned long long"
71220         instead of "unsigned long" if __x86_64__ is defined.
71221         (user): Likewise.  Pad after pointer field if __ILP32__ is
71222         defined.
71224 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71226         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71227         versions 5 to 9.
71228         * configure: Regenerated.
71229         * manual/install.texi (texinfo): Increase version requirement to
71230         4.5 or later.
71231         * INSTALL: Regenerated.
71233         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71237         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71239         * sysdeps/x86_64/x32/ffs.c: New file.
71241         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71242         __syscall_ulong_t.
71243         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71244         defined.  Use __syscall_ulong_t.
71245         (shminfo): Use __syscall_ulong_t.
71246         (shm_info): Likewise.
71248         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71249         __syscall_ulong_t.
71251         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71252         <bits/wordsize.h>.
71253         (msgqnum_t): Use __syscall_ulong_t.
71254         (msglen_t): Likewise.
71255         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71256         __syscall_ulong_t.
71258         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71259         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71261         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71263         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71264         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71266         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71267         __syscall_slong_t.
71269         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71270         include <bits/wordsize.h>.  Check __x86_64__ instead of
71271         __WORDSIZE.
71273         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71274         "unsigned long long int" if __x86_64__ is defined.
71275         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71279         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71281         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71282         <stdint.h>.
71283         (GET_PC): Cast to uintptr_t first.
71284         (GET_FRAME): Likewise.
71285         (GET_STACK): Likewise.
71287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71294         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71295         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71317 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71319         * Makerules (+depfiles): Also collect depfiles from .oS in
71320         $(extra-objs).
71321         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71322         .oS, $(libnldbl-routines)).
71324         * Makerules (native-compile-mkdep-flags): Define.
71325         * sunrpc/Makefile (extra-objs): Add $(addprefix
71326         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71327         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71328         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71329         calling $(make-target-directory).
71331 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71333         * bits/types.h (__snseconds_t): Removed.
71334         * time/time.h (struct timespec): Replace __snseconds_t with
71335         __syscall_slong_t.
71336         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71337         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71338         Likewise.
71339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71340         (__SNSECONDS_T_TYPE): Likewise.
71341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71342         (__SNSECONDS_T_TYPE): Likewise.
71343         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71344         (__SNSECONDS_T_TYPE): Likewise.
71346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71348         * sysdeps/mach/hurd/bits/typesizes.h
71349         (__SYSCALL_SLONG_TYPE): New macro.
71350         (__SYSCALL_ULONG_TYPE): Likewise.
71352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71354         * bits/types.h (__syscall_slong_t): New type.
71355         (__syscall_ulong_t): Likewise.
71357         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71358         (__SYSCALL_ULONG_TYPE): Likewise.
71359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71360         (__SYSCALL_SLONG_TYPE): Likewise.
71361         (__SYSCALL_ULONG_TYPE): Likewise.
71362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71363         (__SYSCALL_SLONG_TYPE): Likewise.
71364         (__SYSCALL_ULONG_TYPE): Likewise.
71365         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71366         (__SYSCALL_SLONG_TYPE): Likewise.
71367         (__SYSCALL_ULONG_TYPE): Likewise.
71369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71371         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71372         Add sigaltstack-offsets.sym.
71373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71374         <sigaltstack-offsets.h>.
71375         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71376         longjmp_msg pointer.
71377         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71378         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71379         signal stack.
71380         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71382 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71384         * elf/stackguard-macros.h: Remove file.
71385         * sysdeps/generic/stackguard-macros.h: New file.
71386         * sysdeps/i386/stackguard-macros.h: Likewise.
71387         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71388         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71389         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71390         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71391         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71392         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71393         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71394         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71395         <elf/stackguard-macros.h>.
71397         [BZ #14109]
71398         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71399         __aligned__ in attribute.
71400         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71401         (gregset_t): Likewise.
71403 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71405         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71406         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71407         * sysdeps/x86_64/x32/Implies-after: New file.
71409 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71411         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71412         and access return value for _dl_profile_fixup.  Use R10_LP to
71413         load frame size.
71415 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71417         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71419 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71421         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71422         * sysdeps/x86_64/x32/sysdep.h: New file.
71424 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71426         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71427         * sysdeps/x86_64/setjmp.S: Likewise.
71429 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71433         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71434         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71435         remove unused global constant.
71437 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71439         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71440         include of <not-cancel.h>.
71442 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71444         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71446 2012-05-15  Jeff Law  <law@redhat.com>
71447             Andreas Jaeger  <aj@suse.de>
71449         [BZ #13594]
71450         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71451         out from...
71452         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71453         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71454         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71455         code changing __hst_map_handle.map.
71457 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71459         * configure.in (sysnames): Look for Implies-before and Implies-after
71460         files.
71461         * configure: Regenerated.
71463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71465         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71466         8-byte data alignment with LP_SIZE alignment.
71468 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71470         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71471         into R10_LP.
71473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71475         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71479         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71480         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71482         Likewise.
71483         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71487         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71488         (stackinfo_sub_sp): Likewise.
71490 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71492         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71493         RAX_LP.
71495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71497         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71498         into R*_LP.
71500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71502         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71503         sizes into R*_LP.
71505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71507         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71511         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71512         into R11_LP and load __x86_64_shared_cache_size_half into
71513         R8_LP.
71515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71517         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71518         R8_LP.
71520 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71523         logb for POWER7.
71524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71525         logbf for POWER7.
71526         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71527         logbl for POWER7.
71528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71529         powerpc32/power7/fpu/s_logb.c via #include.
71530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71531         powerpc32/power7/fpu/s_logbf.c via #include.
71532         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71533         powerpc32/power7/fpu/s_logbl.c via #include.
71535 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71537         * README.libm: Remove file.
71539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71541         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71542         count for x32.  Use R*_LP and omit operand-size suffix.
71544 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71546         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71547         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71548         * sysdeps/x86_64/x32/shlib-versions: New file.
71550 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71552         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71553         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71554         Use _dl_fatal_printf instead.
71556 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71558         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71559         set if not set by the user.  Do not allow for being unset.
71560         * sysdeps/unix/sysv/linux/configure: Regenerated.
71562 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71564         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71565         the `q' suffix from lea and replace .quad with ASM_ADDR.
71567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71569         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71570         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71571         instead of $17.
71572         (PTR_DEMANGLE): Likewise.
71574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71576         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71577         (LP_OP): Likewise.
71578         (ASM_ADDR): Likewise.
71579         (RAX_LP): Likewise.
71580         (RBP_LP): Likewise.
71581         (RBX_LP): Likewise.
71582         (RCX_LP): Likewise.
71583         (RDI_LP): Likewise.
71584         (RSI_LP): Likewise.
71585         (RSP_LP): Likewise.
71586         (R8_LP): Likewise.
71587         (R9_LP): Likewise.
71588         (R10_LP): Likewise.
71589         (R10_LP): Likewise.
71590         (R11_LP): Likewise.
71591         (R12_LP): Likewise.
71592         (R13_LP): Likewise.
71593         (R14_LP): Likewise.
71594         (R15_LP): Likewise.
71596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71598         * sysdeps/x86_64/x32/dl-machine.h: New file.
71600 2012-05-14  Andreas Jaeger  <aj@suse.de>
71602         * manual/Makefile (subdir): Remove export of subdir.
71603         (all): Remove target.
71604         (.PHONY): Remove all from list.
71605         (mkinstalldirs): Remove.
71606         (.PHONY): Remove installdirs from list.
71607         ($(inst_infodir)/libc.info): Use make-target-directory.
71608         (installdirs): Remove.
71609         (subdir_%): Remove.
71610         (glibc-targets): Remove.
71611         (lib): Remove.
71612         (stubs): Remove.
71613         ($(objpfx)stubs ../po/manual.pot): Remove.
71614         ($(objpfx)stamp%): Remove.
71615         (make-target-directory): Remove.
71616         (subdir_install): Remove.
71617         (routines): Remove.
71618         (aux): Remove.
71619         (sources): Remove.
71620         (objects): Remove.
71621         (headers): Remove.
71623         [BZ #13750]
71624         * manual/.gitignore: Remove, it's not needed anymore.
71625         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71626         all files in it.
71627         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71628         directory.
71629         (texis): Renamed to $(objpfx)texis.
71630         (texis-path): New, contains path to generated files.
71631         (chapters.%): Use texis-path for complete path, add extra argument
71632         libc-texinfo.sh.
71633         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71634         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71635         (summary,texi, stamp-summary): Use complete path of
71636         files. Generate files in build dir.
71637         (dir-add.texi): Build in build dir.
71638         (libm-err.texi,stamp-libm-err): Likewise.
71639         (version.texi, stamp-version): Likewise.
71640         (.%c.texi): Likewise.
71641         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71642         (mostlyclean): Remove target.
71643         (realclean): Remove target.
71644         (generated): Add new variable with contents from mostlyclean and
71645         realclean, remove entries duplicated in common-mostlyclean, add
71646         stamp-libm-err and stamp-version.
71647         (generated-dirs): Add libc directory.
71648         ($(inst_infodir)/libc.info): Install files from build dir.
71650         * manual/install.texi (Configuring and compiling): Adjust since
71651         the info files are not part of the tar ball anymore.
71653 2012-05-14  Andreas Jaeger  <aj@suse.de>
71655         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71656         variable.
71658 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71660         [BZ #13717]
71661         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71662         to 2.2.0 where earlier.
71663         * sysdeps/unix/sysv/linux/configure: Regenerated.
71664         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71665         Remove conditional code.
71666         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71667         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71668         Remove conditional code.
71669         [!__NR_lchown]: Likewise.
71670         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71671         [__NR_lchown]: Likewise.
71672         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71673         comment referencing __ASSUME_LCHOWN_SYSCALL.
71674         * sysdeps/unix/sysv/linux/i386/sigaction.c
71675         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71676         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71677         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71678         Remove conditional code.
71679         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71680         (__protocol_available): Remove #if 0 code.
71681         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71682         conditional code.
71683         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71684         * sysdeps/unix/sysv/linux/kernel-features.h
71685         (__ASSUME_GETCWD_SYSCALL): Don't define.
71686         (__ASSUME_REALTIME_SIGNALS): Likewise.
71687         (__ASSUME_PREAD_SYSCALL): Likewise.
71688         (__ASSUME_PWRITE_SYSCALL): Likewise.
71689         (__ASSUME_POLL_SYSCALL): Likewise.
71690         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71691         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71692         non-SPARC.
71693         (__ASSUME_SIOCGIFNAME): Don't define.
71694         (__ASSUME_MSG_NOSIGNAL): Likewise.
71695         (__ASSUME_SENDFILE): Define unconditionally.
71696         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71697         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71698         conditional code.
71699         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71700         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71701         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71702         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71703         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71704         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71705         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71707         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71708         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71710         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71711         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71713         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71714         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71716         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71717         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71719         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71720         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71722         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71723         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71725         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71726         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71728         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71729         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71730         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71731         Remove conditional code.
71732         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71733         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71734         Remove conditional code.
71735         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71736         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71737         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71738         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71739         Remove conditional code.
71740         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71741         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71742         Remove conditional code.
71743         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71744         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71745         Remove conditional code.
71746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71747         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71748         Remove conditional code.
71749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71750         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71751         Remove conditional code.
71752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71753         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71756         * sysdeps/unix/sysv/linux/sigaction.c
71757         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71758         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71759         * sysdeps/unix/sysv/linux/sigpending.c
71760         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71761         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71762         * sysdeps/unix/sysv/linux/sigprocmask.c
71763         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71764         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71765         * sysdeps/unix/sysv/linux/sigsuspend.c
71766         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71767         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71769         (__libc_missing_rt_sigs): Remove.
71770         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71771         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71772         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71773         Remove conditional code.
71774         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71775         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71776         return 1.
71777         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71779         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71780         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71782 2012-05-14  Andreas Jaeger  <aj@suse.de>
71784         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71785         it's not used in glibc.
71786         (__coshm1): Likewise.
71787         (__acosh1p): Likewise.
71788         (__sgn): Likewise.
71790         * manual/string.texi (Copying and Concatenation): Add missing
71791         variable in concat example.
71792         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71794 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71796         [BZ #14103]
71797         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71798         __builtin_clzl with __builtin_clzll.
71800 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71802         [BZ #14104]
71803         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71804         libc_freeres_ptr.
71806 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71808         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71809         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71810         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71811         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71813 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71815         * NEWS: Update ia64 info.
71817 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71819         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71820         used as bcopy.
71822 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71824         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71825         * sysdeps/unix/syscalls.list (dup3): Likewise.
71826         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71827         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71829 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71831         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71832         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71834 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71836         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71837         thread pointer.
71838         (TLS_IE): Use mov/add instead of movq/addq to load thread
71839         pointer.
71840         (TLS_GD_PREFIX): New.
71841         (TLS_GD): Use it.
71843 2012-05-11  David S. Miller  <davem@davemloft.net>
71845         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71846         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71847         (_FPU_SETCW): Likewise.
71849 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71851         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71852         is 32-byte aligned.
71854 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71856         [BZ #11837]
71857         * iconvdata/gb18030.c: Update tables.
71858         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71859         characters specially.
71860         (BODY for TO_LOOP): Add encoding of missing ranges.
71862 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71864         [BZ #13673]
71865         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71866         * sysdeps/mach/hurd/dup3.c: Likewise.
71867         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71868         * sysdeps/powerpc/memmove.c:: Likewise.
71870 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71872         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71873         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71875 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71877         * elf/elf.h (R_X86_64_RELATIVE64): New.
71878         (R_X86_64_NUM): Updated.
71879         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71880         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71881         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71882         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71883         tst-quad1pie tst-quad2pie
71884         (modules-names): Add tst-quadmod1 tst-quadmod2.
71885         ($(objpfx)tst-quad1): New dependency.
71886         ($(objpfx)tst-quad2): Likewise.
71887         ($(objpfx)tst-quad1pie): Likewise.
71888         ($(objpfx)tst-quad2pie): Likewise.
71889         * sysdeps/x86_64/tst-quad1.c: New file.
71890         * sysdeps/x86_64/tst-quad1pie.c: New file.
71891         * sysdeps/x86_64/tst-quad2.c: Likewise.
71892         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71893         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71894         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71895         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71896         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71898 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71900         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71901         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71902         * streams/stropts.h (t_scalar_t): Define type.
71904         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71905         (_PATH_PRESERVE): Set to "/var/lib".
71906         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71908         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71909         instead of int.
71911         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71912         if __dir_mkfile succeeded.
71914         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71915         checking for _hurd_dtablesize.  Unlock it right after having
71916         finished _hurd_dtable allocation.
71918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71920         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71921         * sysdeps/mach/hurd/configure: Regenerated.
71922         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71923         special-casing to...
71924         * sysdeps/gnu/configure.in: ... this new file.
71925         * sysdeps/unix/sysv/linux/configure: Regenerated.
71926         * sysdeps/gnu/configure: New generated file.
71928         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71929         for Linux: use nsec instead of usec, as well as:
71930         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71931         members of type struct timespec.
71932         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71933         New macros.
71934         (struct stat64): Likewise.
71935         (_STATBUF_ST_NSEC): New macro.
71936         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71938         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71939         __strtoul_internal rather than strtoul.
71941 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71943         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71944         and reject them.
71946 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71948         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71949         which preserves existing values.
71950         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71952 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71954         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71955         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71956         greater than FD_SETSIZE.
71958 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71960         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71961         allocated, call __vm_protect to finish enabling the existing space, and
71962         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71963         allocate the remainder.
71965 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71967         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71968         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71970 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71972         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71973         sysdeps/mach/hurd/readlink.c.
71975         * posix/tst-sysconf.c (posix_options): Only use
71976         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71977         _POSIX_SYNCHRONIZED_IO when they are defined
71978         * sysdeps/mach/hurd/bits/posix_opt.h:
71979         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71980         (_XOPEN_REALTIME): Undefine macro.
71981         (_XOPEN_REALTIME_THREADS): Undefine macro.
71982         (_XOPEN_SHM): Undefine macro.
71983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71984         macro to -1.
71985         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71986         macro to -1.
71987         (_POSIX_ASYNC_IO): Undefine macro.
71988         (_POSIX_PRIORITIZED_IO): Undefine macro.
71989         (_POSIX_SPIN_LOCKS): Define macro to -1.
71991         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71992         SA_NODEFER, SA_RESETHAND.
71993         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71994         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71995         F_DUPFD_CLOEXEC.
71997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71999         * elf/Makefile (pldd-modules): Define unconditionally.
72001 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72003         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72005 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72007         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72008         Return ENOENT when name is empty.
72009         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72011 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72013         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72015         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72017 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72019         Fix mlock in all cases except non-readable pages.
72020         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72021         instead of VM_PROT_ALL as parameter to __vm_wire function.
72023         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72024         (__mkdir): When path is `/', just fail with EEXIST.
72025         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72029         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72030         <sys/uio.h> (for writev).
72031         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72032         and <sys/param.h> (for MIN).
72034 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72036         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72037         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72038         if interrupted.
72040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72042         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72043         Depend on against $(link-rpcuserlibs).
72045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72047         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72048         (__libc_stack_end): Do not use attribute_relro.
72049         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72050         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72051         to libthread-provided value.
72052         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72053         attribute_relro.
72055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72057         [BZ #3748]
72058         * bits/libc-lock.h (__libc_once_get): New macro.
72059         * sysdeps/mach/bits/libc-lock.h: Likewise.
72060         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72061         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72062         instead of using implementation details.
72064         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72065         * libio/freopen.c: Likewise.
72066         * libio/freopen64.c: Likewise.
72067         * misc/syslog.c: Likewise.
72068         * nscd/connections.c: Likewise.
72069         * nscd/netgroupcache.c: Likewise.
72070         * sysdeps/posix/getcwd.c: Likewise.
72072 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72074         * math/w_ilogbf.c: Add #include <limits.h>.
72076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72078         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72079         path instead of returning without unlocking.
72081         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72082         immediate-write ioctls.
72083         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72087         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72088         __builtin_frame_address instead of making assumptions about the
72089         location of the return address relative to DATA.  Force early load of
72090         the return address.
72091         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72092         __builtin_frame_address.
72094         dup3 for GNU Hurd.
72095         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72096         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72097         implement dup3 and do some further code clean-ups.
72098         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72099         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72101 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72103         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72105         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72106         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72107         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72108         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72109         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72110         d->port.lock.
72112         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72113         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72114         when handler == SIG_ERR, not when handler != SIG_ERR.
72116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72118         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72119         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72120         definitions.
72122         accept4 for GNU Hurd.
72123         * include/sys/socket.h (__libc_accept4): New prototype.
72124         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72125         to implement __libc_accept4.
72126         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72127         __libc_accept4.
72128         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72130         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72131         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72132         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72133         signal-defines.sym.
72135 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72137         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72139 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72141         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72142         assertion on O_CLOEXEC flag.
72143         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72144         * hurd/intern-fd.c: Likewise.
72145         * hurd/port2fd.c: Likewise.
72147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72149         [BZ #3906]
72150         * bits/in.h (IPV6_PKTINFO): Define new macro.
72151         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72153 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72155         [BZ #13954]
72156         [BZ #13955]
72157         [BZ #13956]
72158         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72159         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72160         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72161         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72162         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72163         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72164         * math/libm-test.inc (logb_test) : Additional logb tests.
72166 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72167             Andreas Jaeger  <aj@suse.de>
72169         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72170         * configure: Regenerated.
72171         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72172         * config.make.in (link-obsolete-rpc): New substituted variable.
72173         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72174         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72175         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72176         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72177         so that libc.a contains the symbols.
72178         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72179         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72180         * sunrpc/auth_none.c: Likewise.
72181         * sunrpc/auth_unix.c: Likewise.
72182         * sunrpc/authdes_prot.c: Likewise.
72183         * sunrpc/authuxprot.c: Likewise.
72184         * sunrpc/clnt_gen.c: Likewise.
72185         * sunrpc/clnt_perr.c: Likewise.
72186         * sunrpc/clnt_raw.c: Likewise.
72187         * sunrpc/clnt_simp.c: Likewise.
72188         * sunrpc/clnt_tcp.c: Likewise.
72189         * sunrpc/clnt_udp.c: Likewise.
72190         * sunrpc/clnt_unix.c: Likewise.
72191         * sunrpc/des_crypt.c: Likewise.
72192         * sunrpc/des_soft.c: Likewise.
72193         * sunrpc/get_myaddr.c: Likewise.
72194         * sunrpc/key_call.c: Likewise.
72195         * sunrpc/key_prot.c: Likewise.
72196         * sunrpc/netname.c: Likewise.
72197         * sunrpc/pm_getmaps.c: Likewise.
72198         * sunrpc/pm_getport.c: Likewise.
72199         * sunrpc/pmap_clnt.c: Likewise.
72200         * sunrpc/pmap_prot.c: Likewise.
72201         * sunrpc/pmap_prot2.c: Likewise.
72202         * sunrpc/pmap_rmt.c: Likewise.
72203         * sunrpc/publickey.c: Likewise.
72204         * sunrpc/rpc_cmsg.c: Likewise.
72205         * sunrpc/rpc_common.c: Likewise.
72206         * sunrpc/rpc_dtable.c: Likewise.
72207         * sunrpc/rpc_prot.c: Likewise.
72208         * sunrpc/rpc_thread.c: Likewise.
72209         * sunrpc/rtime.c: Likewise.
72210         * sunrpc/svc.c: Likewise.
72211         * sunrpc/svc_auth.c: Likewise.
72212         * sunrpc/svc_raw.c: Likewise.
72213         * sunrpc/svc_run.c: Likewise.
72214         * sunrpc/svc_tcp.c: Likewise.
72215         * sunrpc/svc_udp.c: Likewise.
72216         * sunrpc/svc_unix.c: Likewise.
72217         * sunrpc/svcauth_des.c: Likewise.
72218         * sunrpc/xcrypt.c: Likewise.
72219         * sunrpc/xdr.c: Likewise.
72220         * sunrpc/xdr_array.c: Likewise.
72221         * sunrpc/xdr_float.c: Likewise.
72222         * sunrpc/xdr_intXX_t.c: Likewise.
72223         * sunrpc/xdr_mem.c: Likewise.
72224         * sunrpc/xdr_rec.c: Likewise.
72225         * sunrpc/xdr_ref.c: Likewise.
72226         * sunrpc/xdr_sizeof.c: Likewise.
72227         * sunrpc/xdr_stdio.c: Likewise.
72229 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72231         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72232         change.  Update copyright years.
72234 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72236         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72238 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72239             Joseph Myers  <joseph@codesourcery.com>
72240             Paul Pluzhnikov  <ppluzhnikov@google.com>
72242         [BZ #14012]
72243         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72244         requiring rpcgen.
72245         [cross-compiling] (extra-libs): Likewise.
72246         [cross-compiling] (extra-libs-others): Likewise.
72247         [cross-compiling] (librpcsvc-routines): Likewise.
72248         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72249         [cross-compiling] (omit-deps): Likewise.
72250         (sunrpc-CPPFLAGS): New variable.
72251         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72252         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72253         (cross-rpcgen-objs): New variable.
72254         (extra-objs): Append $(cross-rpcgen-objs).
72255         ($(cross-rpcgen-objs)): New rule.
72256         ($(objpfx)cross-rpcgen): Likewise.
72257         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72258         comment.
72259         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72260         ($(objpfx)x%.stmp): Likewise.
72261         * sunrpc/proto.h [IS_IN_build] (_): Define.
72262         [IS_IN_build] (_libc_intl_domainname): Likewise.
72264 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72266         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72267         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72268         and R_X86_64_TPOFF64.
72270 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72272         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72273         sysdeps/unix/sysv/syscalls.list.
72274         (stime): Likewise.
72275         (utime): Likewise.
72276         * sysdeps/unix/sysv/syscalls.list: Remove file.
72278 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72280         [BZ #3440]
72281         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72282         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72283         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72284         (__LC_IDENTIFICATION): Make these macros useful in #if
72285         expressions, as required by C99.
72287 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72289         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72290         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72291         after this.
72293 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72295         * stdlib/longlong.h: Updated from GCC.
72297 2012-05-09  Andreas Jaeger  <aj@suse.de>
72299         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72300         default is first entry.
72301         (run_mode): Set type.
72302         (main): Remove informal message about syslog.
72303         (options): Fix typo.
72305         [BZ #14053]
72306         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72307         to asm.
72308         (lrint): Likewise.
72309         (llrintf): Likewise.
72310         (llrint): Likewise.
72311         (rint): Likewise.
72312         (rintf): Likewise.
72313         (nearbyint): Likewise.
72314         (nearbyintf): Likewise.
72316 2012-05-09  Andreas Jaeger  <aj@suse.de>
72317             Pedro Alves  <palves@redhat.com>
72319         * nscd/nscd.c (run_mode): Use enum.
72320         (main): Cleanup coding style issue.
72322 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72323             Andreas Jaeger  <aj@suse.de>
72325         * nscd/nscd.c (go_background): Replaced with...
72326         (run_mode): ... this.
72327         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72328         (options): Add -F --foreground.
72329         (main): Implement it.
72330         (parse_opt): Parse it.
72332 2012-05-09  Andreas Jaeger  <aj@suse.de>
72334         [BZ #14083]
72335         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72336         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72337         -Wconversion warning.
72338         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72339         Likewise.
72341 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72343         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72344         == 0.
72345         (LC_ALL): Use macro-int-constant.
72346         (LC_COLLATE): Likewise.
72347         (LC_CTYPE): Likewise.
72348         (LC_MESSAGES): Likewise.
72349         (LC_MONETARY): Likewise.
72350         (LC_NUMERIC): Likewise.
72351         (LC_TIME): Likewise.
72352         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72353         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72354         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72355         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72356         Specify type.
72357         [C99-based standards] (float_t): Expect type.
72358         [C99-based standards] (double_t): Expect type.
72359         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72360         type.
72361         [C99-based standards] (HUGE_VALL): Likewise.
72362         [C99-based standards] (INFINITY): Likewise.
72363         [C99-based standards] (NAN): Likewise.
72364         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72365         [C99-based standards] (FP_NAN): Likewise.
72366         [C99-based standards] (FP_NORMAL): Likewise.
72367         [C99-based standards] (FP_SUBNORMAL): Likewise.
72368         [C99-based standards] (FP_ZERO): Likewise.
72369         [C99-based standards] (FP_FAST_FMA): Use
72370         optional-macro-int-constant.  Specify type.  Require == 1.
72371         [C99-based standards] (FP_FAST_FMAF): Likewise.
72372         [C99-based standards] (FP_FAST_FMAL): Likewise.
72373         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72374         [C99-based standards] (FP_ILOGBNAN): Likewise.
72375         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72376         Specify type.
72377         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72378         [C99-based standards] (math_errhandling): Specify type.
72379         [ISO99 || ISO11] (signgam): Do not allow.
72380         [non-C99-based standards] (copysignf): Do not allow.
72381         [non-C99-based standards] (exp2f): Likewise.
72382         [non-C99-based standards] (log2f): Likewise.
72383         [non-C99-based standards] (modff): Allow.
72384         [non-C99-based standards] (erff): Do not allow.
72385         [non-C99-based standards] (erfcf): Likewise.
72386         [non-C99-based standards] (gammaf): Likewise.
72387         [non-C99-based standards] (hypotf): Likewise.
72388         [non-C99-based standards] (j0f): Likewise.
72389         [non-C99-based standards] (j1f): Likewise.
72390         [non-C99-based standards] (jnf): Likewise.
72391         [non-C99-based standards] (lgammaf): Likewise.
72392         [non-C99-based standards] (tgammaf): Likewise.
72393         [non-C99-based standards] (y0f): Likewise.
72394         [non-C99-based standards] (y1f): Likewise.
72395         [non-C99-based standards] (ynf): Likewise.
72396         [non-C99-based standards] (isnanf): Likewise.
72397         [non-C99-based standards] (acoshf): Likewise.
72398         [non-C99-based standards] (asinhf): Likewise.
72399         [non-C99-based standards] (atanhf): Likewise.
72400         [non-C99-based standards] (cbrtf): Likewise.
72401         [non-C99-based standards] (expm1f): Likewise.
72402         [non-C99-based standards] (ilogbf): Likewise.
72403         [non-C99-based standards] (log1pf): Likewise.
72404         [non-C99-based standards] (logbf): Likewise.
72405         [non-C99-based standards] (nextafterf): Likewise.
72406         [non-C99-based standards] (remainderf): Likewise.
72407         [non-C99-based standards] (rintf): Likewise.
72408         [non-C99-based standards] (scalbf): Likewise.
72409         [non-C99-based standards] (copysignl): Likewise.
72410         [non-C99-based standards] (exp2l): Likewise.
72411         [non-C99-based standards] (log2l): Likewise.
72412         [non-C99-based standards] (modfl): Allow.
72413         [non-C99-based standards] (erfl): Do not allow.
72414         [non-C99-based standards] (erfcl): Likewise.
72415         [non-C99-based standards] (gammal): Likewise.
72416         [non-C99-based standards] (hypotl): Likewise.
72417         [non-C99-based standards] (j0l): Likewise.
72418         [non-C99-based standards] (j1l): Likewise.
72419         [non-C99-based standards] (jnl): Likewise.
72420         [non-C99-based standards] (lgammal): Likewise.
72421         [non-C99-based standards] (tgammal): Likewise.
72422         [non-C99-based standards] (y0l): Likewise.
72423         [non-C99-based standards] (y1l): Likewise.
72424         [non-C99-based standards] (ynl): Likewise.
72425         [non-C99-based standards] (isnanl): Likewise.
72426         [non-C99-based standards] (acoshl): Likewise.
72427         [non-C99-based standards] (asinhl): Likewise.
72428         [non-C99-based standards] (atanhl): Likewise.
72429         [non-C99-based standards] (cbrtl): Likewise.
72430         [non-C99-based standards] (expm1l): Likewise.
72431         [non-C99-based standards] (ilogbl): Likewise.
72432         [non-C99-based standards] (log1pl): Likewise.
72433         [non-C99-based standards] (logbl): Likewise.
72434         [non-C99-based standards] (nextafterl): Likewise.
72435         [non-C99-based standards] (remainderl): Likewise.
72436         [non-C99-based standards] (rintl): Likewise.
72437         [non-C99-based standards] (scalbl): Likewise.
72438         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72439         [non-C99-based standards] (FP_*): Do not allow.
72440         [C99-based standards] (FP_*): Change to
72441         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72442         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72443         allow.
72444         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72445         (SIG_ERR): Likewise.
72446         [X/Open-based standards] (SIG_HOLD): Likewise.
72447         (SIG_IGN): Likewise.
72448         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72449         positive value.
72450         (SIGFPE): Likewise.
72451         (SIGILL): Likewise.
72452         (SIGINT): Likewise.
72453         (SIGSEGV): Likewise.
72454         (SIGTER): Likewise.
72455         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72456         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72457         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72458         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72459         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72460         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72461         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72462         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72463         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72464         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72465         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72466         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72467         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72468         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72469         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72470         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72471         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72472         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72473         [X/Open-based standards] (SIGTRAP): Likewise.
72474         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72475         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72476         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72477         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72478         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72479         allow.
72481 2012-05-08  Ian Wienand  <ianw@vmware.com>
72483         [BZ #14080]
72484         * time/tzset.c (__tzset_parse_tz): Update default rules for
72485         daylight time changes in the Energy Policy Act of 2005.
72487 2012-05-09  Andreas Jaeger  <aj@suse.de>
72489         [BZ #13983]
72490         * elf/ldconfig.c (parse_conf): Change string to make clear that
72491         ldconfig only issued a warning if ld.so.conf does not exist.
72493 2012-05-08  David S. Miller  <davem@davemloft.net>
72495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72496         movxtod instead of popping the value on the stack.
72498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72500 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72502         * config.h.in: Add HAVE_ARM_PCS_VFP.
72504 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72506         [BZ #13979]
72507         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72508         checking but the checks are disabled for any reason.
72510 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72512         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72513         and ELF64_R_TYPE with ELFW(R_TYPE).
72515 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72517         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72518         (ulimit): Likewise.
72520         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72521         (settimeofday): Likewise.
72523 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72525         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72526         a struct th_u2 inside the union, and move tu_block/tu_code into
72527         a new th_u3 union of tu_block/tu_code inside of that.  Move
72528         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72529         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72530         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72531         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72532         (th_stuff): Change to th_u1.tu_stuff.
72533         (th_data): Define.
72534         (th_msg): Change to th_u1.th_u2.tu_data.
72536 2012-05-07  David S. Miller  <davem@davemloft.net>
72538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72540         [BZ #14074]
72541         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72542         (SETUP_PIC_REG): Use it.
72543         (SETUP_PIC_REG_LEAF): Use it.
72545 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72547         [BZ #13885]
72548         [BZ #13923]
72549         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72550         USE_AS_EXPM1L.
72551         (EXPL_FINITE): Likewise.
72552         (FLDLOG): Likewise.
72553         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72554         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72555         e_expl.S.
72556         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72557         USE_AS_EXPM1L.
72558         (EXPL_FINITE): Likewise.
72559         (FLDLOG): Likewise.
72560         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72561         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72562         e_expl.S.
72563         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72564         test of -max_value argument for long double.
72565         * sysdeps/i386/fpu/libm-test-ulps: Update.
72566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72568 2012-05-06  David S. Miller  <davem@davemloft.net>
72570         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72571         quad soft-float symbols whose references which are compiler
72572         generated.
72573         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72575 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72577         [BZ #13884]
72578         [BZ #13914]
72579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72580         USE_AS_EXP10L.
72581         (EXPL_FINITE): Likewise.
72582         (FLDLOG): Likewise.
72583         (c0): Likewise.
72584         (c1): Likewise.
72585         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72586         Adjust comments for base varying.
72587         (__expl_finite): Change alias to EXPL_FINITE.
72588         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72589         e_expl.S.
72590         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72591         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72592         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72593         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72595         USE_AS_EXP10L.
72596         (EXPL_FINITE): Likewise.
72597         (FLDLOG): Likewise.
72598         (c0): Likewise.
72599         (c1): Likewise.
72600         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72601         Adjust comments for base varying.
72602         (__expl_finite): Change alias to EXPL_FINITE.
72603         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72604         tests for bugs.
72605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72607         [BZ #14064]
72608         * math/libm-test.inc (check_float_internal): Correct ulp
72609         calculation for subnormal expected results.
72611 2012-05-06  Andreas Jaeger  <aj@suse.de>
72613         * Makeconfig (+math-flags): New, set to -frounding-math.
72614         (+cflags): Add +math-flags so that all of glibc gets compiled with
72615         it.
72617         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72619 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72621         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72622         Disable one test.
72624         [BZ #13787]
72625         [BZ #13922]
72626         [BZ #14036]
72627         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72628         (__ieee754_expl): Allow for and saturate large arguments.
72629         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72630         (u_threshold): Likewise.
72631         (__exp): Call __ieee754_exp before checking for overflow and
72632         underflow.
72633         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72634         (u_threshold): Likewise.
72635         (__expf): Call __ieee754_expf before checking for overflow and
72636         underflow.
72637         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72638         (u_threshold): Likewise.
72639         (__expl): Call __ieee754_expl before checking for overflow and
72640         underflow.
72641         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72642         (__ieee754_expl): Allow for and saturate large arguments.
72643         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72644         missing overflow exception on overflow.
72645         (expm1_test): Do not allow missing overflow exception on overflow.
72647         * sysdeps/i386/fpu/e_expl.c: Move to ...
72648         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72649         rather than using inline asm.
72650         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72651         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72652         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72654         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72655         (nice): Likewise.
72656         (poll): Likewise.
72657         (signal): Likewise.
72658         (time): Likewise.
72659         (times): Likewise.
72661 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72663         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72664         sysdeps/unix/common/syscalls.list.
72665         (fchmod): Likewise.
72666         (fchown): Likewise.
72667         (ftruncate): Likewise.
72668         (getrusage): Likewise.
72669         (gettimeofday): Likewise.
72670         (setpgid): Likewise.
72671         (setregid): Likewise.
72672         (setreuid): Likewise.
72673         (sigaction): Likewise.
72674         (truncate): Likewise.
72675         (vhangup): Likewise.
72676         * sysdeps/unix/common/syscalls.list: Remove file.
72677         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72678         * sysdeps/unix/sysv/linux/Implies: Likewise.
72680 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72682         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72684         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72685         Moved to ...
72686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72687         Here.
72688         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72689         to ...
72690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72691         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72692         to ...
72693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72694         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72695         to ...
72696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72697         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72698         to ...
72699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72700         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72701         to ...
72702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72703         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72704         to ...
72705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72706         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72707         to ...
72708         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72709         Here.
72710         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72711         to ...
72712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72713         Here.
72714         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72715         to ...
72716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72717         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72718         Moved to ...
72719         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72720         Here.
72721         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72722         to ...
72723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72725 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72727         * sysdeps/unix/common/bits/dirent.h: Remove file.
72728         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72730         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72731         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72732         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72733         * sysdeps/unix/bsd/isatty.c: Likewise.
72734         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72735         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72736         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72738 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72740         [BZ #13563]
72741         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72742         long double comparison inaccuracies.
72743         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72746 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72748         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72749         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72751 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72753         [BZ #14049]
72754         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72755         nonzero digits before rounding a hex value.
72756         * stdlib/tst-strtod.c (tests): Add another test.
72758 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72760         * sysdeps/s390/fpu/libm-test-ulps: Update.
72762 2012-05-03  Andreas Jaeger  <aj@suse.de>
72764         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72765         does not get optimized out.
72766         (malloc_opt_barrier): New.
72768 2012-05-03  Andreas Jaeger  <aj@suse.de>
72769             Roland McGrath  <roland@hack.frob.com>
72771         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72772         intermediate file deletion.
72773         (generated): Add .symlist files.
72775 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72777         [BZ #13775]
72778         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72779         Redirect under this condition.
72780         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72781         [__USE_GNU] (__dprintf_chk): Not under this condition.
72782         [__USE_GNU] (__vdprintf_chk): Likewise.
72783         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72784         under this condition.
72785         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72786         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72787         [__USE_XOPEN2K8] (vdprintf): Likewise.
72788         [__USE_GNU] (__dprintf_chk): Not under this condition.
72789         [__USE_GNU] (__vdprintf_chk): Likewise.
72790         [__USE_GNU] (dprintf): Likewise.
72791         [__USE_GNU] (vdprintf): Likewise.
72793 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72795         * elf/Makefile (common-generated): Set this instead of generated for
72796         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72797         $(all-built-dso)-derived lists.
72799 2012-05-03  Andreas Jaeger  <aj@suse.de>
72801         * sysdeps/i386/fpu/libm-test-ulps: Update.
72803         * FAQ: Removed.
72804         * FAQ.in: Likewise.
72805         * scripts/gen-FAQ.pl: Likewise.
72806         * manual/install.texi (Installation): Point to online location of
72807         FAQ.
72808         * Makefile (files-for-dist): Remove FAQ.
72809         (FAQ): Remove.
72811 2012-05-02  Allan McRae  <allan@archlinux.org>
72813         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72814         (LDFLAGS-reldepmod5.so): Likewise.
72815         (LDFLAGS-reldep6mod1.so): Likewise.
72816         (LDFLAGS-reldep6mod4.so): Likewise.
72817         (LDFLAGS-reldep8mod3.so): Likewise.
72818         (LDFLAGS-unload4mod1.so): Likewise.
72819         (LDFLAGS-unload4mod2.so): Likewise.
72820         (LDFLAGS-tst-initorder): Likewise.
72821         (LDFLAGS-tst-initordera2.so): Likewise.
72822         (LDFLAGS-tst-initordera3.so): Likewise.
72823         (LDFLAGS-tst-initordera4.so): Likewise.
72824         (LDFLAGS-tst-initorderb2.so): Likewise.
72825         (LDFLAGS-noload): Likewise.
72826         (LDFLAGS-next): Likewise.
72827         (LDFLAGS-order2mod1.so): Likewise.
72828         (LDFLAGS-order2mod2.so): Likewise.
72829         (LDFLAGS-tst-initorder2): Likewise.
72830         (LDFLAGS-tst-initorder2a.so): Likewise.
72831         (LDFLAGS-tst-initorder2b.so): Likewise.
72832         (LDFLAGS-tst-initorder2c.so): Likewise.
72833         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72835 2012-05-02  David S. Miller  <davem@davemloft.net>
72837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72839 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72841         [BZ #14055]
72842         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72844 2012-05-02  Andreas Jaeger  <aj@suse.de>
72846         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72847         since we manipulate rounding mode.
72848         (CPPFLAGS-test-idouble.c): Likewise.
72849         (CPPFLAGS-test-ifloat.c): Likewise.
72850         (CFLAGS-test-ldouble.c): Likewise.
72851         (CFLAGS-test-double.c): Likewise.
72852         (CFLAGS-test-float.c): Likewise.
72853         (CFLAGS-test-misc.c): Likewise.
72854         (CFLAGS-test-test-fenv.c): Likewise.
72856 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72858         [BZ #2550]
72859         [BZ #2570]
72860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72861         comparisons to determine direction to adjust input.
72863 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72865         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72866         output to the target.
72868         * scripts/localplt.awk: New file.
72869         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72870         (check-localplt-CFLAGS): Variable removed.
72871         ($(all-built-dso:=.jmprel)): New static pattern rule.
72872         (generated): Add those targets.
72873         (localplt-built-dso): New variable.
72874         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72876         * elf/check-localplt.c: File removed.
72878         * scripts/check-execstack.awk: New file.
72879         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72880         (check-execstack-CFLAGS): Variable removed.
72881         ($(objpfx)check-execstack.h): Target removed.
72882         ($(objpfx)execstack-default): New target.
72883         (generated): Add that instead of check-execstack.h.
72884         ($(all-built-dso:=.phdr)): New static pattern rule.
72885         (generated): Add those targets.
72886         * elf/check-execstack.c: File removed.
72888         * scripts/check-textrel.awk: New file.
72889         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72890         (check-textrel-CFLAGS): Variable removed.
72891         (all-built-dso): Use := to define.o
72892         ($(all-built-dso:=.dyn)): New static pattern rule.
72893         (generated): Add those targets.
72894         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72895         * config.make.in (READELF): New substituted variable.
72896         * elf/check-textrel.c: File removed.
72898 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72900         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72901         allow.
72902         * conform/data/ctype.h-data [C99-based standards] (isblank):
72903         Expect function.
72904         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72905         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72906         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72907         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72908         Specify type.  Require positive value.
72909         (EILSEQ): Likewise.
72910         (ERANGE): Likewise.
72911         [ISO || POSIX] (EILSEQ): Do not expect.
72912         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72913         Specify type.  Require positive value.
72914         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72915         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72916         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72917         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72918         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72919         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72920         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72921         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72922         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72923         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72924         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72925         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72926         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72927         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72928         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72929         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72930         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72931         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72932         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72933         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72934         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72935         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72936         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72937         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72938         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72939         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72940         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72941         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72942         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72943         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72944         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72945         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72946         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72947         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72948         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72949         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72950         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72951         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72952         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72953         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72954         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72955         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72956         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72957         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72958         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72959         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72960         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72961         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72962         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72963         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72964         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72965         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72966         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72967         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72968         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72969         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72970         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72971         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72972         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72973         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72974         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72975         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72976         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72977         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72978         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72979         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72980         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72981         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72982         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72983         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72984         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72985         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72986         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72987         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72988         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72989         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72990         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72991         Require >= 2.
72992         (FLT_ROUNDS): Expect as macro, not constant.
72993         (FLT_MANT_DIG): Use macro-int-constant.
72994         (DBL_MANT_DIG): Likewise.
72995         (LDBL_MANT_DIG): Likewise.
72996         (FLT_DIG): Likewise.
72997         (DBL_DIG): Likewise.
72998         (LDBL_DIG): Likewise.
72999         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73000         (DBL_MIN_EXP): Likewise.
73001         (LDBL_MIN_EXP): Likewise.
73002         (FLT_MAX_EXP): Use macro-int-constant.
73003         (DBL_MAX_EXP): Likewise.
73004         (LDBL_MAX_EXP): Likewise.
73005         (FLT_MAX_10_EXP): Likewise.
73006         (DBL_MAX_10_EXP): Likewise.
73007         (LDBL_MAX_10_EXP): Likewise.
73008         (FLT_MAX): Use macro-constant.
73009         (DBL_MAX): Likewise.
73010         (LDBL_MAX): Likewise.
73011         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73012         (DBL_EPSILON): Likewise.
73013         (LDBL_EPSILON): Likewise.
73014         (FLT_MIN): Likewise.
73015         (DBL_MIN): Likewise.
73016         (LDBL_MIN): Likewise.
73017         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73018         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73019         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73020         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73021         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73022         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73023         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73024         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73025         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73026         [ISO11] (FLT_TRUE_MIN): Likewise.
73027         [ISO11] (LDBL_TRUE_MIN): Likewise.
73028         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73029         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73030         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73031         (SCHAR_MAX): Likewise.
73032         (UCHAR_MAX): Likewise.
73033         (CHAR_MIN): Likewise.
73034         (CHAR_MAX): Likewise.
73035         (MB_LEN_MAX): Use macro-int-constant.
73036         (SHRT_MIN): Use macro-int-constant.  Specify type.
73037         (SHRT_MAX): Likewise.
73038         (USHRT_MAX): Likewise.
73039         (INT_MAX): Likewise.
73040         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73041         bound negative.
73042         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73043         bound with "U".
73044         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73045         bound with "L".
73046         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73047         bound negative.  Suffix upper bound with "L".
73048         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73049         bound with "UL".
73050         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73051         Specify type.
73052         [C99-based standards] (LLONG_MAX): Likewise.
73053         [C99-based standards] (ULLONG_MAX): Likewise.
73054         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73055         == 0.
73056         [ISO11] (max_align_t): Require type.
73057         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73059         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73060         from $CFLAGS, without defining away __attribute__ calls.
73061         (checknamespace): Use $CFLAGS_namespace.
73063         * conform/conformtest.pl (@keywords): Only include C99 keywords
73064         for standards based on C99 or C11.
73066         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73067         Disable tests.
73068         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73069         UNIX98]: Likewise.
73071         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73072         usability of symbols in #if.
73074         * conform/conformtest.pl: If macro or constant types start
73075         "promoted:", expect the symbol to be of the following type
73076         promoted by the integer promotions.
73078         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73079         in one place.  Also handle "macro-constant".
73081         * conform/conformtest.pl: Only accept expected macro values with
73082         "==".  Parse all "macro" lines in one place.
73083         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73085         * conform/conformtest.pl: Handle braced types on "constant" lines
73086         instead of handling "typed-constant".
73087         * conform/data/signal.h-data: Use "constant" instead of
73088         "typed-constant".
73090         * conform/conformtest.pl: Handle "optional-" at start of lines in
73091         one place rather than duplicating several cases.  Handle each
73092         format of "macro" line with initial "optional-".
73094         * conform/conformtest.pl: Only accept expected constant or
73095         optional-constant values with "==".  Parse all "constant" lines in
73096         one place.  Parse all "optional-constant" lines in one place.
73097         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73098         * conform/data/fmtmsg.h-data: Likewise.
73099         * conform/data/netinet/in.h-data: Likewise.
73100         * conform/data/tar.h-data: Likewise.
73101         * conform/data/limits.h-data: Use "==" form on "constant" and
73102         "optional-constant" lines.
73104         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73105         Use -std=c99 for XOPEN2K.
73106         (@knownproblems): Remove.
73107         (newtoken): Don't check %isknown.
73109         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73110         Do not expect macro.
73111         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73112         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73113         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73114         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73115         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73116         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73117         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73118         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73119         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73120         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73121         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73122         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73123         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73124         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73125         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73126         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73127         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73128         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73129         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73130         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73131         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73134         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73135         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73136         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73137         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73138         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73139         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73140         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73141         [XPG3] (acosh): Likewise.
73142         [XPG3] (asinh): Likewise.
73143         [XPG3] (atanh): Likewise.
73144         [XPG3] (cbrt): Likewise.
73145         [XPG3] (expm1): Likewise.
73146         [XPG3] (ilogb): Likewise.
73147         [XPG3] (log1p): Likewise.
73148         [XPG3] (logb): Likewise.
73149         [XPG3] (nextafter): Likewise.
73150         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73151         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73152         [XPG3] (remainder): Likewise.
73153         [XPG3] (rint): Likewise.
73154         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73155         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73156         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73157         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73158         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73159         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73160         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73161         [UNIX98 || XOPEN2K] (scalb): Expect.
73162         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73163         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73164         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73165         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73166         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73167         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73168         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73169         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73170         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73171         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73172         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73173         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73174         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73175         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73176         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73177         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73178         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73179         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73180         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73181         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73182         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73183         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73184         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73185         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73186         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73187         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73188         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73189         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73190         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73191         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73192         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73193         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73194         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73195         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73196         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73197         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73198         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73199         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73200         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73201         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73202         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73203         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73204         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73205         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73206         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73207         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73208         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73209         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73210         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73211         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73212         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73213         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73214         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73215         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73216         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73217         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73218         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73219         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73220         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73221         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73222         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73223         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73224         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73225         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73226         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73227         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73228         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73229         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73230         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73231         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73232         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73233         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73234         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73235         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73236         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73237         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73238         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73239         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73240         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73241         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73242         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73243         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73244         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73245         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73246         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73247         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73248         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73249         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73250         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73251         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73252         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73253         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73254         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73255         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73256         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73257         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73258         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73259         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73260         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73261         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73262         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73263         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73264         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73265         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73266         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73267         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73268         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73269         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73270         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73271         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73272         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73273         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73274         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73275         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73276         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73277         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73278         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73279         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73280         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73281         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73282         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73283         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73284         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73285         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73286         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73287         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73288         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73289         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73290         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73291         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73292         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73293         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73294         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73295         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73296         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73297         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73298         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73300         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73301         _XOPEN_SOURCE_EXTENDED for XPG4.
73303         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73305         * Makeconfig (localtime): Remove variable.
73306         (inst_localtime-file): Likewise.
73308 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73311         Update.
73312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73313         Update.
73314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73315         Update.
73316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73317         Update.
73318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73319         Update.
73320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73321         Update.
73322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73323         Update.
73324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73325         Update.
73326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73327         Update.
73329 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73331         [BZ #2550]
73332         [BZ #2570]
73333         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73334         comparisons to determine direction to adjust input.
73335         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73336         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73337         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73338         Likewise.
73339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73340         Likewise.
73341         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73342         Likewise.
73343         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73344         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73345         Likewise.
73346         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73347         Likewise.
73348         * math/libm-test.inc (nexttoward_test): Add more tests.
73350 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73352         [BZ #14040]
73353         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73354         in version GLIBC_2.1, not GLIBC_2.0.
73355         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73356         Likewise.
73358 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73360         [BZ #13942]
73361         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73362         (1 - x) * (1 + x).
73363         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73364         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73365         * math/libm-test.inc (acos_test): Add more tests.
73366         (asin_test): Likewise.
73367         * sysdeps/i386/fpu/libm-test-ulps: Update.
73368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73370         [BZ #14034]
73371         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73372         of square root.
73373         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73374         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73375         * math/libm-test.inc (acos_test_tonearest): New function.
73376         (acos_test_towardzero): Likewise.
73377         (acos_test_downward): Likewise.
73378         (acos_test_upward): Likewise.
73379         (asin_test_tonearest): Likewise.
73380         (asin_test_towardzero): Likewise.
73381         (asin_test_downward): Likewise.
73382         (asin_test_upward): Likewise.
73383         (main): Call the new functions.
73384         * sysdeps/i386/fpu/libm-test-ulps: Update.
73385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73387         [BZ #13884]
73388         [BZ #13924]
73389         * math/e_exp10.c: Include <float.h>.
73390         (__ieee754_exp10): Handle underflow here rather than multiplying
73391         large negative argument by M_LN10.
73392         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73393         of __ieee754_expf.
73394         * math/e_exp10l.c: Include <float.h>.
73395         (__ieee754_exp10l): Handle underflow here rather than multiplying
73396         large negative argument by M_LN10l.
73397         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73398         spurious overflow exception on underflow.
73400 2012-04-29  Marek Polacek  <polacek@redhat.com>
73402         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73403         (__fortify_function): New macro.
73404         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73405         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73406         __extern_always_inline.
73407         * libio/bits/stdio2.h: Likewise.
73408         * libio/bits/stdio.h: Likewise.
73409         * string/string.h: Likewise.
73410         * string/bits/string3.h: Likewise.
73411         * include/stdio.h: Likewise.
73412         * stdlib/bits/stdlib.h: Likewise.
73413         * stdlib/stdlib.h: Likewise.
73414         * rt/bits/mqueue2.h: Likewise.
73415         * rt/mqueue.h: Likewise.
73416         * posix/bits/unistd.h: Likewise.
73417         * posix/unistd.h: Likewise.
73418         * io/bits/poll2.h: Likewise.
73419         * io/bits/fcntl2.h: Likewise.
73420         * io/fcntl.h: Likewise.
73421         * io/sys/poll.h: Likewise.
73422         * misc/bits/syslog.h: Likewise.
73423         * misc/bits/syslog-ldbl.h: Likewise.
73424         * misc/sys/syslog.h: Likewise.
73425         * socket/bits/socket2.h: Likewise.
73426         * socket/sys/socket.h: Likewise.
73427         * debug/tst-chk1.c: Likewise.
73428         * wcsmbs/bits/wchar2.h: Likewise.
73429         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73430         * wcsmbs/wchar.h: Likewise.
73432 2012-04-29  Andreas Jaeger  <aj@suse.de>
73434         * Makerules (tests): Remove enable-check-abi protection.
73435         (check-abi-warn): Remove.
73436         (check-abi-%): Remove check-abi-warn usage.
73438         * configure.in: Remove check-abi configure option.
73439         * configure: Regenerated.
73440         * config.make.in (enable-check-abi): Remove.
73442 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73444         [BZ #14033]
73445         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73446         double functions to double *_finite functions.
73448         [BZ #13941]
73449         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73450         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73451         LDBL_MIN_EXP.
73452         * stdio-common/Makefile (tests): Add tst-sprintf3.
73453         * stdio-common/tst-sprintf3.c: New file.
73455         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73456         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73458 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73460         * conform/conformtest.pl: Remove duplicate typed-constant
73461         handling.
73463 2012-04-28  David S. Miller  <davem@davemloft.net>
73465         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73466         (check-abi-%): Remove AWK script prerequisite and explicit
73467         abilist directory.
73468         (check-abi): Rewrite to just diff the symlist with the abilist.
73469         (config-tls, config-abi-config): Delete, no longer used.
73470         (update-abi-%): Remove AWK script and explicit abilist directory.
73471         (update-abi): Rewrite to simply compare and conditionally copy the
73472         symlist and the sysdep abilist file.  Remove update-abi-config
73473         checks.
73474         * abilist/ld.abilist: Remove.
73475         * abilist/libBrokenLocale.abilist: Remove.
73476         * abilist/libanl.abilist: Remove.
73477         * abilist/libcrypt.abilist: Remove.
73478         * abilist/libdl.abilist: Remove.
73479         * abilist/librt.abilist: Remove.
73480         * abilist/libthread_db.abilist: Remove.
73481         * abilist/libutil.abilist: Remove.
73482         * scripts/extract-abilist.awk: Remove.
73483         * scripts/merge-abilist.awk: Remove.
73484         * sysdeps/generic/libcidn.abilist: New file.
73485         * sysdeps/generic/libnss_compat.abilist: New file.
73486         * sysdeps/generic/libnss_db.abilist: New file.
73487         * sysdeps/generic/libnss_dns.abilist: New file.
73488         * sysdeps/generic/libnss_files.abilist: New file.
73489         * sysdeps/generic/libnss_hesiod.abilist: New file.
73490         * sysdeps/generic/libnss_nis.abilist: New file.
73491         * sysdeps/generic/libnss_nisplus.abilist: New file.
73492         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73493         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73494         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73495         file.
73496         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73497         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73498         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73499         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73500         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73502         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73503         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73504         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73505         file.
73506         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73507         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73508         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73509         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73510         file.
73511         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73512         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73513         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73514         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73515         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73516         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73517         file.
73518         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73519         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73520         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73521         file.
73522         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73524         New file.
73525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73526         New file.
73527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73528         New file.
73529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73530         New file.
73531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73532         New file.
73533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73534         New file.
73535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73536         New file.
73537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73538         New file.
73539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73540         New file.
73541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73542         New file.
73543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73544         New file.
73545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73546         New file.
73547         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73548         New file.
73549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73550         file.
73551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73552         New file.
73553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73554         New file.
73555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73556         file.
73557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73558         New file.
73559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73560         New file.
73561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73562         file.
73563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73564         New file.
73565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73566         New file.
73567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73568         New file.
73569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73570         New file.
73571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73572         New file.
73573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73574         New file.
73575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73577         file.
73578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73579         New file.
73580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73581         file.
73582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73583         file.
73584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73585         file.
73586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73587         file.
73588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73589         file.
73590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73591         New file.
73592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73593         file.
73594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73595         file.
73596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73597         New file.
73598         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73599         file.
73600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73602         file.
73603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73604         New file.
73605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73606         file.
73607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73608         file.
73609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73610         file.
73611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73612         file.
73613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73614         file.
73615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73616         New file.
73617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73618         file.
73619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73620         file.
73621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73622         New file.
73623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73624         file.
73625         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73626         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73627         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73628         file.
73629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73630         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73631         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73632         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73633         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73634         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73635         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73636         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73637         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73638         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73641         file.
73642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73643         New file.
73644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73645         file.
73646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73647         file.
73648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73649         file.
73650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73651         file.
73652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73653         file.
73654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73655         New file.
73656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73657         New file.
73658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73659         file.
73660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73661         New file.
73662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73663         file.
73664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73666         file.
73667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73668         New file.
73669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73670         file.
73671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73672         file.
73673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73674         file.
73675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73676         file.
73677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73678         file.
73679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73680         New file.
73681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73682         New file.
73683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73684         file.
73685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73686         New file.
73687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73688         file.
73690 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73692         * conform/conformtest.pl: Fix typo in handling typed-constant from
73693         allow-header.
73695 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73697         * README: Cut down references to pre-2.6 Linux kernels and
73698         Linuxthreads.  Update lists of configurations in libc and ports
73699         and sort alphabetically.  Say "or newer" with Linux kernel version
73700         requirements.
73702         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73704 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73706         [BZ #887]
73707         * math/libm-test.inc (logb_test_downward): New test to expose
73708         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73709         rounding mode.
73711 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73713         [BZ #14027]
73714         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73715         to be done.
73716         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73717         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73719 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73721         * sysdeps/unix/i386/brk.S: Remove file.
73722         * sysdeps/unix/i386/dl-brk.S: Likewise.
73723         * sysdeps/unix/i386/pipe.S: Likewise.
73724         * sysdeps/unix/i386/sigreturn.S: Likewise.
73725         * sysdeps/unix/i386/syscall.S: Likewise.
73726         * sysdeps/unix/i386/vfork.S: Likewise.
73727         * sysdeps/unix/i386/wait.S: Likewise.
73729         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73730         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73732         * configure.in (arm*-none*): Do not allow without
73733         --enable-hacker-mode.
73734         (netbsd*): Remove case setting base_os.
73735         (386bsd*): Likewise.
73736         (freebsd*): Likewise.
73737         (bsdi*): Likewise.
73738         (osf*): Likewise.
73739         (sunos*): Likewise.
73740         (ultrix*): Likewise.
73741         (newsos*): Likewise.
73742         (dynix*): Likewise.
73743         (*bsd*): Likewise.
73744         (sysv*): Likewise.
73745         (isc*): Likewise.
73746         (esix*): Likewise.
73747         (sco*): Likewise.
73748         (minix*): Likewise.
73749         (irix4*): Likewise.
73750         (irix6*): Likewise.
73751         (solaris[2-9]*): Likewise.
73752         (none): Likewise.
73753         * configure: Regenerated.
73755 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73757         [BZ #11521]
73758         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73759         overflow or cancellation in calculating denominator.
73760         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73761         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73762         down expression to avoid unexpected rounding in newer GCCs.
73763         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73765 2012-04-26  David S. Miller  <davem@davemloft.net>
73767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73768         long-double compat symbols.
73769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73783 2012-04-25  David S. Miller  <davem@davemloft.net>
73785         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73786         HWCAP_* values only after the memory barriers have been defined.
73787         (atomic_full_barrier): Define.
73788         (atomic_read_barrier): Define.
73789         (atomic_write_barrier): Define.
73791 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73793         * shlib-versions: Add libgcc_s version information.
73794         * sysdeps/generic/libgcc_s.h: Remove.
73795         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73796         libgcc_s.h.
73797         * sysdeps/gnu/unwind-resume.c: Likewise.
73798         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73800 2012-04-25  David S. Miller  <davem@davemloft.net>
73802         * sysdeps/unix/sparc/brk.S: Delete.
73803         * sysdeps/unix/sparc/dl-brk.S: Delete.
73804         * sysdeps/unix/sparc/pipe.S: Delete.
73805         * sysdeps/unix/sparc/sysdep.S: Delete.
73806         * sysdeps/unix/sparc/sysdep.h: Delete.
73807         * sysdeps/unix/sparc/vfork.S: Delete.
73808         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73809         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73810         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73811         (ret_ERRVAL, r0, r1, MOVE): Define.
73812         (JUMPTARGET): Remove.
73813         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73814         sysdeps/unix/sparc/sysdep.h
73815         (ENTRY, END): Remove.
73816         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73818 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73820         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73821         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73822         -DIS_IN_build.
73824         * timezone/README: Update upstream location and email address for
73825         tzcode and tzdata.
73826         * timezone/zdump.c: Update from tzcode 2012b.
73827         * timezone/zic.c: Likewise.
73829         * configure.in (libc_cv_as_needed): Remove test.
73830         * configure: Regenerated.
73831         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73832         conditional definition.
73833         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73834         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73835         * config.make.in (have-as-needed): Remove variable.
73837 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73838             Paul Pluzhnikov  <ppluzhnikov@google.com>
73840         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73841         strings correctly.
73843 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73845         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73846         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73847         * sysdeps/sh/strlen.S: Likewise.
73849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73851         * sysdeps/unix/fork.S: Remove file.
73852         * sysdeps/unix/i386/fork.S: Likewise.
73853         * sysdeps/unix/sparc/fork.S: Likewise.
73855         * sysdeps/unix/system.c: Remove file.
73856         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73858         * sysdeps/unix/getegid.S: Remove file.
73859         * sysdeps/unix/geteuid.S: Likewise.
73861 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73863         * scripts/check-localplt.awk: New file.
73864         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73865         of diff.
73866         * scripts/data/localplt-generic.data: Add a comment.
73868         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73869         NODE when __dir_mkfile failed.
73870         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73871         Reported by Ludovic Courtès <ludo@gnu.org>.
73873 2012-04-24  Andreas Jaeger  <aj@suse.de>
73875         * Makerules (common-clean): Also remove gen-as-const-headers
73876         files.
73878 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73880         * Makerules (native-compile): Do not change working directory for
73881         build.  Use $(OUTPUT_OPTION) in command.
73882         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73884 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73886         [BZ #13886]
73887         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73888         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73889         * math/libm-test.inc (floor_test): Add more tests.
73890         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73892 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73894         * sysdeps/unix/getdents.c: Remove file.
73895         * sysdeps/unix/sysv/getdents.c: Likewise.
73896         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73898         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73899         sysdeps/unix/mman/syscalls.list.
73900         (mmap): Likewise.
73901         (mprotect): Likewise.
73902         (msync): Likewise.
73903         (munmap): Likewise.
73904         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73905         * sysdeps/unix/mman/syscalls.list: Remove.
73906         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73908         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73909         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73910         * configure: Regenerated.
73911         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73912         $(libgcc_s_suffix).
73913         * config.make.in (libgcc_s_suffix): Remove variable.
73915 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73917         * sysdeps/unix/sysv/gethostname.c: Move to ...
73918         * sysdeps/posix/gethostname.c: ... here.
73920         * sysdeps/unix/execve.S: Remove file.
73922         * sysdeps/unix/_exit.S: Remove file.
73924 2012-04-23  Andreas Jaeger  <aj@suse.de>
73926         [BZ #13739]
73927         * manual/Makefile: Remove make dist support, there's no
73928         need for a stand-alone documentation tar ball.
73929         (TEXI2DVI): Define always, it's not in Makeconfig.
73930         (dist): Removed.
73931         (tar-it): Removed.
73932         (edition): Removed.
73933         (glibc-doc-$(edition).tar): Removed
73934         (%.Z): Removed.
73935         (%.gz): Removed.
73936         (%.uu): Removed.
73937         (ETAGS): Remove, it's in Makeconfig.
73938         (move-if-change): Remove, it's in Makeconfig.
73940 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73942         [BZ #13970]
73943         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73944         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73945         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73946         (strtod_l, strtof_l, strtold_l): Remove __wur.
73947         It is not necessarily an error to ignore strtol's return value.
73948         One can reliably look at the stored endptr to decide whether
73949         the number had valid syntax.
73951 2012-04-21  Andreas Jaeger  <aj@suse.de>
73953         [BZ #13739]
73954         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73956 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73958         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73959         * sysdeps/unix/sysv/Versions: Remove file.
73961 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73963         [BZ #13927]
73964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73966 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73968         [BZ #7064]
73969         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73970         version from __vm86.
73972 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73974         * sysdeps/unix/common/lxstat.c: Remove file.
73975         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73977         * sysdeps/unix/sysv/Makefile: Remove file.
73979         * sysdeps/unix/sysv/direct.h: Remove file.
73981         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73982         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73983         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73984         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73985         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73986         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73987         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73989         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73991         * sysdeps/unix/xmknod.c: Remove file.
73992         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73994         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73996         * sysdeps/unix/sysv/i386/time.S: Remove file.
73998         * sysdeps/unix/fxstat.c: Remove file.
73999         * sysdeps/unix/xstat.c: Likewise.
74000         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74002         * sysdeps/unix/sysv/sigaction.c: Remove file.
74004         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74005         (sysdep_headers): Remove variable.
74006         [termio.h not in sysdep_headers] (generated): Likewise.
74007         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74008         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74009         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74010         * sysdeps/unix/sysv/tcflow.c: Likewise.
74011         * sysdeps/unix/sysv/tcflush.c: Likewise.
74012         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74013         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74014         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74015         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74016         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74018         * sysdeps/unix/siglist.c: Remove file.
74020         * sysdeps/unix/getppid.S: Remove file.
74022         * sysdeps/unix/mkdir.c: Remove file.
74023         * sysdeps/unix/rmdir.c: Likewise.
74025 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74027         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74028         ERR_MAX value.
74029         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74030         errlist-compat value.
74032 2012-04-18  David S. Miller  <davem@davemloft.net>
74034         * sysdeps/generic/memcopy.h (reg_char): Delete.
74035         * debug/strcat_chk.c: Use char, not reg_char.
74036         * debug/strcpy_chk.c: Likewise.
74037         * debug/strncat_chk.c: Likewise.
74038         * debug/strncpy_chk.c: Likewise.
74039         * string/memchr.c: Likewise.
74040         * string/memrchr.c: Likewise.
74041         * string/rawmemchr.c: Likewise.
74042         * string/strcat.c: Likewise.
74043         * string/strchr.c: Likewise.
74044         * string/strchrnul.c: Likewise.
74045         * string/strcmp.c: Likewise.
74046         * string/strcpy.c: Likewise.
74047         * string/strncat.c: Likewise.
74048         * string/strncmp.c: Likewise.
74049         * string/strncpy.c: Likewise.
74051 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74053         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74054         __builtin_memcopy is called when src and dest ranges are known to not
74055         overlap.
74057 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74059         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74060         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74061         fwd_align_merge macro call.
74062         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74063         bwd_align_merge macro call.
74064         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74066 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74068         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74069         bwd_align_merge macros.
74070         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74071         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74072         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74074 2012-04-18  David S. Miller  <davem@davemloft.net>
74076         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74078 2012-04-18  Andreas Jaeger  <aj@suse.de>
74080         [BZ# 6794]
74081         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74082         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74083         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74085         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74086         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74087         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74089         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74090         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74091         Adjust for changed ldbl-128 files.
74093         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74094         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74095         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74097 2012-04-17  David S. Miller  <davem@davemloft.net>
74099         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74101 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74103         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74104         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74105         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74106         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74107         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74108         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74110 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74112         [BZ #6794]
74113         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74114         * math/libm-test.inc: Add ilogb errno and exception tests.
74115         * math/w_ilogb.c: New file: ilogb wrapper.
74116         * math/w_ilogbf.c: New file: ilogbf wrapper.
74117         * math/w_ilogbl.c: New file: ilogbl wrapper.
74118         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74119         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74120         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74121         exception being thrown with 0.0 as argument.
74122         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74123         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74124         exception being thrown with 0.0 as argument.
74125         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74126         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74127         exception being thrown with 0.0 as argument.
74128         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74129         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74130         exception being thrown with 0.0 as argument.
74131         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74132         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74133         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74134         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74135         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74136         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74137         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74138         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74139         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74141 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74143         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74144         with altivec.
74146 2012-04-16  Marek Polacek  <polacek@redhat.com>
74148         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74150 2012-04-16  Marek Polacek  <polacek@redhat.com>
74152         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74153         operands of fdivp instruction.
74155 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74157         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74158         * elf/tst-auditmod3b.c: Likewise.
74159         * elf/tst-auditmod4b.c: Likewise.
74160         * elf/tst-auditmod5b.c: Likewise.
74161         * elf/tst-auditmod6b.c: Likewise.
74162         * elf/tst-auditmod6c.c: Likewise.
74163         * elf/tst-auditmod7b.c: Likewise.
74164         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74165         * sysdeps/x86_64/preconfigure.in: Likewise.
74166         * sysdeps/x86_64/preconfigure: Regenerated.
74168 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74170         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74171         __ILP32__.
74173 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74175         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74176         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74178 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74180         [BZ #13973]
74181         * locale/iso-639.def: Fix gl language name. Spotted by
74182         Yaron Shahrabani.
74184 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74186         [BZ #2074]
74187         * libio/libio.h (__io_write_fn): Update comment.
74189 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74191         [BZ #2074]
74192         * stdio.texi (Hook Functions): The user provided writer function
74193         is not allowed to return -1.
74195 2012-04-11  David S. Miller  <davem@davemloft.net>
74197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74199 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74201         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74202         Add a leading slash to rtkaio.
74204 2012-04-11  Jim Meyering  <meyering@redhat.com>
74206         [BZ #11959]
74207         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74208         It is not necessarily an error to ignore fwrite's return
74209         value.  One can reliably use ferror to test for errors after
74210         the fact.
74212 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74214         * bits/types.h (__snseconds_t): New type.
74215         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74217         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74218         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74219         (__SNSECONDS_T_TYPE): Likewise.
74220         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74221         (__SNSECONDS_T_TYPE): Likewise.
74222         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74223         (__SNSECONDS_T_TYPE): Likewise.
74225 2012-04-10  Andreas Jaeger  <aj@suse.de>
74227         [BZ #2636]
74228         * manual/time.texi (Processor Time): Return type of times is
74229         elapsed real time since an arbitrary point in the past.
74230         (CPU Time): Move CLK_TCK from here...
74231         (Processor Time): ...to here.  Correct description.
74232         * manual/conf.texi (Constants for Sysconf): Correct description of
74233         _SC_CLK_TCK.
74235 2012-04-10  David S. Miller  <davem@davemloft.net>
74237         [BZ #13967]
74238         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74239         where the is a gap between DT_REL(A) and DT_JMPREL.
74241 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74243         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74244         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74245         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74247 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74249         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74250         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74251         (dl_main): Handle --inhibit-cache.
74252         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74253         _dl_inhibit_cache.
74254         * elf/dl-load.c (_dl_map_object): Use it.
74255         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74257 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74259         [BZ #13872]
74260         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74261         (__ieee754_powl): Saturate large exponents rather than testing for
74262         overflow of y*log2(x).
74263         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74264         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74265         exceptions.
74267         [BZ #11521]
74268         * math/s_ctan.c: Include <float.h>.
74269         (__ctan): Avoid internal overflow or cancellation in calculating
74270         denominator.
74271         * math/s_ctanf.c: Likewise.
74272         * math/s_ctanl.c: Likewise.
74273         * math/s_ctanh.c: Likewise.
74274         * math/s_ctanhf.c: Likewise.
74275         * math/s_ctanhl.c: Likewise.
74276         * math/libm-test.inc (ctan_test): Add more tests.
74277         (ctanh_test): Likewise.
74278         * sysdeps/i386/fpu/libm-test-ulps: Update.
74279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74281 2012-04-09  Andreas Jaeger  <aj@suse.de>
74283         [BZ #6894]
74284         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74285         is an optional BSD extension.
74287         [BZ #10254]
74288         * manual/stdio.texi (Opening Streams): Document additional fopen
74289         parameters.
74291 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74293         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74294         %eax without telling the compiler.
74296 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74298         [BZ # 13963]
74299         * manual/install.texi: Use sourceware.org.
74301 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74303         [BZ #13873]
74304         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74305         (__ieee754_pow): Generate overflow and underflow using huge*huge
74306         and tiny*tiny rather than just returning constant infinity or zero
74307         for large exponents.
74308         * math/libm-test.inc (pow_test): Require overflow exceptions for
74309         applicable cases of large exponents.
74311         [BZ #706]
74312         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74313         (__ieee754_pow): Use iterative multiplication algorithm only for
74314         integer exponents with absolute value below 1024.  Check for odd
74315         integer exponents when using algorithm for real exponents.
74316         * math/libm-test.inc (pow_test): Add more tests.
74317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74319 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74321         [BZ #13705]
74322         * math/libm-test.inc (exp_test): Do not allow overflow exception
74323         on underflow test.
74325 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74327         [BZ #13705]
74328         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74329         instead of __kernel_standard_f.
74331 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74333         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74334         * sysdeps/x86_64/memset_chk.S: Likewise.
74336 2012-04-08  Andreas Jaeger  <aj@suse.de>
74338         [BZ #10153]
74339         * manual/startup.texi (Environment Access): Describe return value
74340         for putenv and setenv.
74342         [BZ #6895]
74343         * manual/filesys.texi (Directory Entries): Add description for
74344         DT_LNK.
74346         [BZ #6890]
74347         * manual/filesys.texi (Directory Entries): Clarify that it's file
74348         system not operating system in the description of DT_UNKNOWN.
74350         [BZ #6578]
74351         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74353 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74355         [BZ #6649]
74356         * manual/llio.texi (Opening and Closing Files): Add cross
74357         reference to explain mode argument.
74359 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74361         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74362         * sysdeps/x86_64/memset_chk.S: Likewise.
74364 2012-04-07  David S. Miller  <davem@davemloft.net>
74366         * elf/elf.h (R_SPARC_WDISP10): Define.
74367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74368         R_SPARC_SIZE32.
74369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74370         R_SPARC_SIZE64 and R_SPARC_H34.
74372 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74374         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74375         conditions and remove no longer applicable assertion.
74377 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74379         * bits/byteswap.h: Include <features.h>.
74380         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74381         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74383 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74385         * bits/byteswap.h (__bswap_16): Removed.
74386         Include <bits/byteswap-16.h> to get __bswap_16.
74387         * sysdeps/i386/bits/byteswap.h: Likewise.
74388         * sysdeps/s390/bits/byteswap.h: Likewise.
74389         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74390         * bits/byteswap-16.h: New file.
74391         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74392         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74393         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74394         * string/Makefile (headers): Add bits/byteswap-16.h.
74396 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74398         [BZ #13895]
74399         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74400         extra indirection.
74401         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74402         * nss/tst-nss-static.c: New.
74404 2012-04-06  Robert Millan  <rmh@gnu.org>
74406         [BZ #6486]
74407         * manual/llio.texi (File Position Primitive): lseek
74408         refers to WHENCE when it really means OFFSET.
74410 2012-04-06  Andreas Jaeger  <aj@suse.de>
74412         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74413         strncmp declarations.
74415         * abilist/libc.abilist: Add __poll and __ppoll.
74417 2012-04-05  David S. Miller  <davem@davemloft.net>
74419         * scripts/check-local-headers.sh: Accept a host triplet in the
74420         path matched by the exclude regexp.
74422         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74423         definition.
74424         * sysdeps/powerpc/powerpc32/dl-machine.h
74425         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74426         * sysdeps/s390/s390-32/dl-machine.h
74427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74428         * sysdeps/sparc/sparc32/dl-machine.h
74429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74430         * sysdeps/sparc/sparc64/dl-machine.h
74431         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74433         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74434         lazy binding.
74435         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74436         undefined symbol errors.
74438         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74439         DT_NEEDED entries.
74441 2012-04-05  Michael Matz  <matz@suse.de>
74443         [BZ #13592]
74444         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74446 2012-04-05  Andreas Jaeger  <aj@suse.de>
74448         [BZ #13908]
74449         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74450         comment.
74452 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74454         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74455         which ROUND is no valid rounding mode.
74457 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74459         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74460         read again.
74461         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74463 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74465         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74466         an exception using FPU order intentionally.
74468 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74470         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74471         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74472         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74473         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74475 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74477         [BZ #12340]
74478         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74479         EINVAL when BUFLEN is too smal.
74481 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74483         [BZ #13553]
74484         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74485         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74487 2012-04-03  Andreas Jaeger  <aj@suse.de>
74489         [BZ #13938]
74490         * manual/setjmp.texi (System V contexts): Fix sentence.
74492         [BZ #13926]
74493         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74494         New macro for this case.
74495         [!__GNUC__] (__bswap_64): New inline function for this case.
74496         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74497         * bits/byteswap.h: Likewise.
74498         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74499         ull, guard with __GLIBC_HAVE_LONG_LONG.
74501         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74502         __GLIBC_HAVE_LONG_LONG.
74504         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74505         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74507 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74509         [BZ #13691]
74510         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74511         inptr and inend, rather than using last_ch.
74513 2012-04-02  David S. Miller  <davem@davemloft.net>
74515         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74516         * stdio-common/printf-parse.h (read_int): Change return type to
74517         'int', return -1 on INT_MAX overflow.
74518         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74519         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74520         overflows INT_MAX.  Check for overflow of in-format-string precision
74521         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74522         SIZE_MAX not INT_MAX for integer overflow test.
74523         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74524         skip the construct in the format string but do not record anything.
74525         * stdio-common/bug22.c: Adjust to test both width/prevision
74526         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74527         explicitly for proper errno values.
74529 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74531         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74532         CHAR_MAX.
74533         * string/test-strcmp.c [! WIDE]: Likewise.
74534         * time/tst-mktime2.c: Likewise for INT_MAX.
74535         * string/test-string.h: #include <sys/param.h> for MIN.
74537         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74538         * sysdeps/i386/init-first.c (init): Likewise.
74539         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74540         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74541         * sysdeps/sh/init-first.c (init): Likewise.
74543 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74545         * po/ru.po: Update from translation team.
74546         * po/vi.po: Likewise.
74548 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74550         * resolv/nss_dns/dns-host.c: Merge copyright years.
74552 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74555         Optimize memcpy with prefetch if
74556         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74557         src, dst pointers have unequal 16 byte alignments.
74559 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74561         [BZ #13928]
74562         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74563         from a CNAME entry and return the minimum ttl for the query.
74564         (gaih_getanswer_slice): Likewise.
74566 2012-03-30  Jeff Law  <law@redhat.com>
74568         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74569         due to long keys.
74570         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74571         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74573         * resolv/nss_dns/dns-host.c: Update copyright year.
74575 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74577         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74578         requests to save a system call.  Fix check that all bytes are sent.
74580         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74581         comments for sendmmsg.
74583 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74585         [BZ #13691]
74586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74587         with only 1 character between 0x0041 and 0x01b0.
74588         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74589         * wcsmbs/tst-mbsnrtowcs.c: New file.
74591 2012-03-29  David S. Miller  <davem@davemloft.net>
74593         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74594         small copies by hand.
74596 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74598         [BZ #13761]
74599         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74600         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74601         group memberships.
74603 2012-03-28  David S. Miller  <davem@davemloft.net>
74605         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74606         that branches into memcpy.
74607         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74610         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74611         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74612         bits.
74613         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74614         implementation too.
74615         * sysdeps/sparc/mempcpy.S: New file.
74617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74618         the IFUNC routine in the libc case.
74619         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74622         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74623         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74624         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74625         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74626         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74627         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74628         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74630         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74631         loop to 256 bytes instead of 64 bytes and fix test signedness.
74633         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74634         * sysdeps/sparc/sparc32/Makefile: rather than here...
74635         * sysdeps/sparc/sparc64/Makefile: and here.
74637 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74639         * malloc/mallocbug.c: Avoid warnings about unused variables.
74641 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74643         [BZ #13760]
74644         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74645         in the right place. Discard and retry query if response is
74646         larger than input buffer size.
74648 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74650         [BZ #369]
74651         [BZ #2678]
74652         [BZ #3866]
74653         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74654         x for large integer exponent.
74655         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74656         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74657         sign of result as needed afterwards.
74658         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74659         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74660         result for underflowing pow the same as for overflow.
74661         (__kernel_standard_l): Handle powl overflow and underflow here
74662         rather than calling __kernel_standard.
74663         * math/libm-test.inc (pow_test): Add more tests.
74665         [BZ #3868]
74666         [BZ #13879]
74667         [BZ #13910]
74668         [BZ #13911]
74669         [BZ #13912]
74670         [BZ #13913]
74671         [BZ #13915]
74672         [BZ #13916]
74673         [BZ #13917]
74674         [BZ #13918]
74675         [BZ #13919]
74676         [BZ #13920]
74677         [BZ #13921]
74678         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74679         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74680         (__kernel_standard_l): New function.
74681         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74682         __kernel_standard.
74683         * math/w_acosl.c (__acosl): Likewise.
74684         * math/w_asinl.c (__asinl): Likewise.
74685         * math/w_atan2l.c (__atan2l): Likewise.
74686         * math/w_atanhl.c (__atanhl): Likewise.
74687         * math/w_coshl.c (__coshl): Likewise.
74688         * math/w_exp10l.c (__exp10l): Likewise.
74689         * math/w_exp2l.c (__exp2l): Likewise.
74690         * math/w_fmodl.c (__fmodl): Likewise.
74691         * math/w_hypotl.c (__hypotl): Likewise.
74692         * math/w_j0l.c (__j0l, __y0l): Likewise.
74693         * math/w_j1l.c (__j1l, __y1l): Likewise.
74694         * math/w_jnl.c (__jnl, __ynl): Likewise.
74695         * math/w_lgammal.c (__lgammal): Likewise.
74696         * math/w_log10l.c (__log10l): Likewise.
74697         * math/w_log2l.c (__log2l): Likewise.
74698         * math/w_logl.c (__logl): Likewise.
74699         * math/w_powl.c (__powl): Likewise.
74700         * math/w_remainderl.c (__remainderl): Likewise.
74701         * math/w_scalbl.c (sysv_scalbl): Likewise.
74702         * math/w_sinhl.c (__sinhl): Likewise.
74703         * math/w_sqrtl.c (__sqrtl): Likewise.
74704         * math/w_tgammal.c (__tgammal): Likewise.
74705         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74706         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74707         * math/libm-test.inc (acos_test): Add more tests.
74708         (acosh_test): Likewise.
74709         (asin_test): Likewise.
74710         (atanh_test): Likewise.
74711         (exp_test): Likewise.
74712         (exp10_test): Likewise.
74713         (exp2_test): Likewise.
74714         (expm1_test): Likewise.
74715         (lgamma_test): Likewise.
74716         (log_test): Likewise.
74717         (log10_test): Likewise.
74718         (log1p_test): Likewise.
74719         (log2_test): Likewise.
74720         (pow_test): Do not allow some spurious overflow exceptions.
74721         (sqrt_test): Add more tests.
74722         (tgamma_test): Likewise.
74723         (y0_test): Likewise.
74724         (y1_test): Likewise.
74725         (yn_test): Likewise.
74727 2012-03-27  Anton Blanchard  <anton@samba.org>
74729         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74730         MAP_HUGETLB.
74731         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74732         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74735 2012-03-27  David S. Miller  <davem@davemloft.net>
74737         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74739         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74740         have-as-vis3 check.
74742 2012-03-27  Andreas Jaeger  <aj@suse.de>
74744         * sysdeps/x86_64/elf/configure.in: Moved to ...
74745         * sysdeps/x86_64/configure.in: ... here.
74746         * sysdeps/x86_64/elf/start.S: Moved to ...
74747         * sysdeps/x86_64/start.S: ... here.
74748         * sysdeps/x86_64/elf/configure: Delete.
74750         * sysdeps/x86_64/configure.in: Merge contents from
74751         sysdeps/i386/configure.in (without i686 check).
74753         * sysdeps/i386/elf/Versions: Merge into ...
74754         * sysdeps/i386/Versions: ... this.
74755         * sysdeps/i386/elf/Versions: Delete file.
74756         * sysdeps/i386/elf/start.S: Moved to ...
74757         * sysdeps/i386/start.S: ...here.
74758         * sysdeps/i386/elf/configure.in: Merge into...
74759         * sysdeps/i386/configure.in: ...here.
74760         * sysdeps/i386/elf/configure.in: Delete file.
74761         * sysdeps/i386/elf/configure: Delete file.
74763         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74764         * debug/backtracesyms.c: ... here.
74765         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74766         * debug/backtracesymsfd.c: ... here.
74767         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74768         * sysdeps/generic/ifunc-sel.h: ... here.
74770         * sysdeps/unix/i386/start.c: Delete file.
74771         * sysdeps/unix/sparc/start.c: Delete file.
74772         * sysdeps/unix/start.c: Delete file.
74774         * sysdeps/sh/elf/configure.in: Moved to ...
74775         * sysdeps/sh/configure.in: ... here.
74776         * sysdeps/sh/elf/start.S: Moved to ...
74777         * sysdeps/sh/start.S: ... here.
74778         * sysdeps/sh/elf/configure: Delete file.
74780         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74781         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74782         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74783         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74784         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74785         * sysdeps/powerpc/powerpc64/start.S: here.
74786         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74787         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74788         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74789         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74790         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74792         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74793         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74794         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74795         * sysdeps/powerpc/powerpc32/start.S: ... here.
74796         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74797         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74798         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74800         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74801         * sysdeps/powerpc/ifunc-sel.h: ... here.
74802         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74803         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74805         * sysdeps/sparc/elf/configure.in: Moved to ...
74806         * sysdeps/sparc/configure.in: ... here.
74807         * sysdeps/sparc/elf/configure: Delete file.
74808         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74809         * sysdeps/sparc/sparc32/start.S: ... here.
74810         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74811         * sysdeps/sparc/sparc64/start.S: ... here.
74812         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74813         * sysdeps/sparc/sparc32/Makefile: ... this.
74814         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74815         * sysdeps/sparc/sparc64/Makefile: ... this.
74817         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74818         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74819         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74820         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74821         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74822         * sysdeps/s390/s390-32/setjmp.S: ... here.
74823         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74824         * sysdeps/s390/s390-32/configure.in: ... here.
74825         * sysdeps/s390/s390-32/elf/configure: Delete file.
74826         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74827         * sysdeps/s390/s390-32/start.S: ... here.
74829         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74830         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74831         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74832         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74833         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74834         * sysdeps/s390/s390-64/setjmp.S: ... here.
74835         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74836         * sysdeps/s390/s390-64/configure.in: ... here
74837         * sysdeps/s390/s390-64/elf/configure: Delete file.
74838         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74839         * sysdeps/s390/s390-64/start.S: ... here.
74840         * sysdeps/s390/s390-64/elf/configure: Delete.
74842         * configure.in: Remove support for elf directories in sysdeps.
74844         * configure: Regenerated.
74845         * sysdeps/i386/configure: Regenerated.
74846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74847         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74848         * sysdeps/s390/s390-32/configure: Regenerated.
74849         * sysdeps/s390/s390-64/configure: Regenerated.
74850         * sysdeps/sh/configure: Regenerated.
74851         * sysdeps/sparc/configure: Regenerated.
74852         * sysdeps/x86_64/configure: Regenerated.
74854 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74858         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74859         denormal result into account.
74861 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74863         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74864         Reported by Allan McRae <allan@archlinux.org>.
74866 2012-03-23  Jeff Law  <law@redhat.com>
74868         * nss/getnssent.c (__nss_getent): Fix typo.
74870 2012-03-23  David S. Miller  <davem@davemloft.net>
74872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74874 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74876         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74877         to pad to uint64_t for each field.
74878         (dl_tls_index): Replace unsigned long with uint64_t.
74880 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74881         Paul Pluzhnikov  <ppluzhnikov@google.com>
74883         [BZ #6528]
74884         * grp/Makefile (otherlibs): Don't set it.
74885         * inet/Makefile (otherlibs): Likewise.
74886         * login/Makefile (otherlibs): Likewise.
74887         * nscd/Makefile (otherlibs): Likewise.
74888         * posix/Makefile (otherlibs): Likewise.
74889         * pwd/Makefile (otherlibs): Likewise.
74890         * rt/Makefile (otherlibs): Likewise.
74891         * sunrpc/Makefile (otherlibs): Likewise.
74892         * nss/Makefile (otherlibs): Likewise.
74893         Add libnss_files to routines and static-only-routines.
74894         ($(objpfx)getent): Remove rule.
74895         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74896         static-only-routines.
74898 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74900         [BZ #13892]
74901         * math/s_cexp.c: Include <float.h>.
74902         (__cexp): Handle exp result overflowing not necessarily
74903         overflowing both real and imaginary parts of result.
74904         * math/s_cexpf.c: Likewise.
74905         * math/s_cexpl.c: Likewise.
74906         * math/libm-test.inc (cexp_test): Add more tests.
74907         * sysdeps/i386/fpu/libm-test-ulps: Update.
74908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74910 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74912         * include/link.h (ELFW): New macro.
74913         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74914         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74916 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74918         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74919         with uint64_t.
74921 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74923         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74924         declaration.
74925         (struct La_x32_retval): Likewise.
74927 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74929         * sysdeps/x86_64/preconfigure.in: New file.
74930         * sysdeps/x86_64/preconfigure: New generated file.
74932 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74934         [BZ #13824]
74935         * math/e_exp2l.c: Include <float.h>.
74936         (__ieee754_exp2l): Handle overflow and underflow cases
74937         separately.  Only pass fractional part of argument to
74938         __ieee754_expl.
74939         * math/libm-test.inc (exp2_test): Add more tests.
74941         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74942         negating x to take absolute value.
74943         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74944         Likewise.
74945         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74946         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74947         Likewise.
74948         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74949         computing low part if x was negated.
74950         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74954         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74955         la_x32_gnu_pltexit.
74956         (pltexit): Cast int_retval to ptrdiff_t.
74957         * elf/tst-auditmod3b.c: Likewise.
74958         * elf/tst-auditmod4b.c: Likewise.
74959         * elf/tst-auditmod5b.c: Likewise.
74960         * elf/tst-auditmod6b.c: Likewise.
74961         * elf/tst-auditmod6c.c: Likewise.
74962         * elf/tst-auditmod7b.c: Likewise.
74964         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74965         and x32_gnu_pltexit.
74967         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74968         __ELF_NATIVE_CLASS.
74969         (La_x32_regs): New macro.
74970         (La_x32_retval): Likewise.
74971         (la_x32_gnu_pltenter): New function prototype.
74972         (la_x32_gnu_pltexit): Likewise.
74974 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74976         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74977         exponent.
74979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74981         * configure.in (libc_cv_cc_nofma): Check for option to disable
74982         generation of FMA instructions.
74983         * configure: Regenerate.
74984         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74985         * sysdeps/ieee754/dbl-64/Makefile: New file.
74986         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74987         Remove brandred-fma4.
74988         (CFLAGS-brandred-fma4.c): Remove.
74989         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74990         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74991         define.
74992         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74993         define.
74995 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74997         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74998         LLONG_MAX != LONG_MAX.
74999         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75000         (_fitoa_word): Likewise.
75001         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75002         LLONG_MAX != LONG_MAX.
75003         * stdio-common/_itowa.h: Include <_itoa.h>.
75004         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75005         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75006         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75007         only if not defined.
75008         (_ITOA_WORD_TYPE): Likewise.
75009         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75010         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75012 2012-03-21  David S. Miller  <davem@davemloft.net>
75014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75016 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75018         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75019         of x86_64 when setting libc_cv_slibdir, libdir and
75020         libc_cv_localedir.
75021         * sysdeps/unix/sysv/linux/configure: Regenerated.
75023 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75025         * manual/lang.texi (Old Varargs): Remove section.
75026         (How Variadic): Update menu.
75027         (va_start): Do not mention varargs.h.
75029 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75030             Joseph Myers  <joseph@codesourcery.com>
75032         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75033         link test.
75034         * configure: Regenerated.
75036 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75038         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75039         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75040         conformtest.pl
75042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75044         * NOTES: Remove.
75045         * Makefile (files-for-dist): Remove NOTES.
75046         (NOTES): Remove rule.
75047         * README: Don't refer to NOTES.
75048         * manual/creature.texi: Don't include macros.texi.
75049         * manual/intro.texi (creature.texi): Remove comment referring to
75050         NOTES.
75052         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75053         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75054         * configure: Regenerated.
75055         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75056         LIBC_TRY_CC_OPTION.
75057         (libc_cv_as_i686): Likewise.
75058         (libc_cv_cc_avx): Likewise.
75059         (libc_cv_cc_sse2avx): Likewise.
75060         (libc_cv_cc_fma4): Likewise.
75061         (libc_cv_cc_novzeroupper): Likewise.
75062         * sysdeps/i386/configure: Regenerated.
75064         [BZ #13883]
75065         * sysdeps/i386/fpu/s_cexp.S: Remove.
75066         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75067         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75068         * math/libm-test.inc (cexp_test): Add more tests.
75069         * sysdeps/i386/fpu/libm-test-ulps: Update.
75070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75072 2012-03-21  Allan McRae  <allan@archlinux.org>
75074         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75076 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75078         [BZ #13871]
75079         * math/w_exp2.c: Do not include <float.h>.
75080         (o_threshold, u_threshold): Remove.
75081         (__exp2): Calculate result before checking finiteness and calling
75082         __kernel_standard.
75083         * math/w_exp2f.c: Likewise.
75084         * math/w_exp2l.c: Likewise.
75085         * math/libm-test.inc (exp2_test): Require overflow exception for
75086         1e6 input.
75088         [BZ #3866]
75089         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75090         range of signed 64-bit integers before using fistpll.  Remove
75091         checks for whether integers fit in mantissa bits.
75092         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75093         the range of signed 32-bit integers before using fistpl.  Remove
75094         checks for whether integers fit in mantissa bits.
75095         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75096         (__ieee754_powl): Test for y outside the range of signed 64-bit
75097         integers before using fistpll.  Reduce 64-bit values to 63-bit
75098         ones as needed.
75099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75100         divide-by-zero is raised for zero to large negative powers.
75101         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75102         (__ieee754_powl): Test for y outside the range of signed 64-bit
75103         integers before using fistpll.  Reduce 64-bit values to 63-bit
75104         ones as needed.
75105         * math/libm-test.inc (pow_test): Add more tests.
75107 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75109         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75110         <stdio-common/_itoa.h>.
75111         * debug/segfault.c: Likewise.
75112         * elf/dl-cache.c: Likewise.
75113         * elf/dl-minimal.c: Likewise.
75114         * elf/dl-misc.c: Likewise.
75115         * elf/dl-sysdep.c: Likewise.
75116         * elf/dl-version.c: Likewise.
75117         * elf/rtld.c: Likewise.
75118         * hurd/hurdsock.c: Likewise.
75119         * hurd/lookup-retry.c: Likewise.
75120         * malloc/malloc.c: Likewise.
75121         * malloc/mtrace.c: Likewise.
75122         * nscd/nscd_getgr_r.c: Likewise.
75123         * nscd/nscd_getpw_r.c: Likewise.
75124         * nscd/nscd_getserv_r.c: Likewise.
75125         * posix/getopt_init.c: Likewise.
75126         * posix/wordexp.c: Likewise.
75127         * stdio-common/_itoa.c: Likewise.
75128         * stdio-common/printf_fphex.c: Likewise.
75129         * stdio-common/vfprintf.c: Likewise.
75130         * string/_strerror.c: Likewise.
75131         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75132         * sysdeps/i386/i686/hp-timing.h: Likewise.
75133         * sysdeps/mach/_strerror.c: Likewise.
75134         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75135         * sysdeps/mach/hurd/sethostid.c: Likewise.
75136         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75137         * sysdeps/mach/xpg-strerror.c: Likewise.
75138         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75140         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75141         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75142         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75143         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75144         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75145         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75146         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75147         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75148         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75149         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75150         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75151         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75152         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75153         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75154         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75155         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75156         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75157         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75158         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75160         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75162         * stdio-common/_itoa.h: Moved to ...
75163         * sysdeps/generic/_itoa.h: Here.
75165         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75167         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75168         instead of "_itoa.h" and "_itowa.h".
75169         * stdio-common/vfprintf.: Likewise.
75171 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75173         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75174         <bits/wordsize.h>.
75175         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75176         (__signbit): Likewise.
75177         (llrintf): Likewise.
75178         (llrint): Likewise.
75180 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75182         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75183         __WORDSIZE != 64.
75185 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75187         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75188         OVERFLOW_EXCEPTION_OK.
75189         * math/libm-test.inc ("Philosophy"): Update comment about
75190         exception testing.
75191         (OVERFLOW_EXCEPTION): Define.
75192         (OVERFLOW_EXCEPTION_OK): Likewise.
75193         (INVALID_EXCEPTION_OK): Renumber.
75194         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75195         (IGNORE_ZERO_INF_SIGN): Likewise.
75196         (test_exceptions): Handle FE_OVERFLOW.
75197         (exp10_test): Expect overflow exceptions.
75198         (exp2_test): Likewise.
75199         (expm1_test): Likewise.
75200         (nextafter_test): Likewise.
75201         (pow_test): Likewise.
75202         (scalbn_test): Likewise.
75203         (scalbln_test): Likewise.
75205 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75207         * sysdeps/x86_64/bits/atomic.h
75208         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75209         64bit integer.
75210         (atomic_exchange_acq): Likewise.
75211         (__arch_exchange_and_add_body): Likewise.
75212         (__arch_add_body): Likewise.
75213         (atomic_add_negative): Likewise.
75214         (atomic_add_zero): Likewise.
75216 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75218         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75219         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75221 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75223         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75224         Check __x86_64__ instead of __WORDSIZE.
75226 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75228         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75230 2012-03-19  David S. Miller  <davem@davemloft.net>
75232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75234         * sysdeps/sparc/fpu/fenv_private.h: New file.
75235         * sysdeps/sparc/fpu/math_private.h: Use it.
75236         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75237         Remove.
75238         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75239         (libc_feholdexcept_setroundl): Remove.
75240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75241         Remove.
75242         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75243         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75247         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75248         int64_t instead of long int.
75249         (INSERT_WORDS64): Likewise.
75251 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75253         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75254         _Unwind_GetCFA return to _Unwind_Ptr first.
75256 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75258         [BZ #13629]
75259         * math/s_clog.c: Include <float.h>.
75260         (__clog): Scale large or subnormal inputs.
75261         * math/s_clogf.c: Likewise.
75262         * math/s_clogl.c: Likewise.
75263         * math/s_clog10.c: Include <float.h>.
75264         (M_LOG10_2): Define.
75265         (__clog10): Scale large or subnormal inputs.
75266         * math/s_clog10f.c: Likewise.
75267         * math/s_clog10l.c: Likewise.
75268         * math/libm-test.inc (clog_test): Add more tests.
75269         (clog10_test): Likewise.
75270         * sysdeps/i386/fpu/libm-test-ulps: Update.
75271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75273         [BZ #11451]
75274         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75275         x and y.
75276         * math/libm-test.inc (atan2_test): Add another test.
75278         * Makerules (common-objdir-compile): Remove.
75279         * sysdeps/unix/Makefile (config-generated): Do not add
75280         $(unix-generated) to variable.
75281         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75282         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75283         Remove rule.
75284         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75285         Likewise.
75286         [generic bits/local_lim.h] (before-compile): Do not append to
75287         variable.
75288         [generic bits/local_lim.h] (common-generated): Likewise.
75289         [generic sys/param.h] (before-compile): Do not append to variable.
75290         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75291         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75293         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75294         include.
75295         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75296         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75297         [generic sys/param.h] ($(addprefix
75298         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75299         [generic sys/param.h] (common-generated): Do not append to
75300         variable.
75301         [generic sys/param.h] (sysdep_headers): Likewise.
75302         [generic bits/errno.h] (before-compile): Do not append to
75303         variable.
75304         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75305         rule.
75306         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75307         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75308         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75309         [generic bits/errno.h] (common-generated): Do not append to
75310         variable.
75311         [generic bits/ioctls.h] (before-compile): Do not append to
75312         variable.
75313         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75314         rule.
75315         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75316         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75318         rule.
75319         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75320         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75321         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75322         [generic bits/ioctls.h] (common-generated): Do not append to
75323         variable.
75324         [generic sys/syscall.h] (syscall.h): Remove variable.
75325         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75326         rule.
75327         [generic sys/syscall.h] (before-compile): Do not append to
75328         variable.
75329         [generic sys/syscall.h] (common-generated): Likewise.
75330         * sysdeps/unix/errnos-tmpl.c: Remove file.
75331         * sysdeps/unix/errnos.awk: Likewise.
75332         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75333         * sysdeps/unix/ioctls.awk: Likewise.
75334         * sysdeps/unix/mk-local_lim.c: Likewise.
75335         * sysdeps/unix/snarf-ioctls: Likewise.
75337 2012-03-19  Richard Henderson  <rth@twiddle.net>
75339         * sysdeps/i386/fpu/fenv_private.h: New file.
75340         * sysdeps/i386/fpu/math_private.h: Use it.
75341         (math_opt_barrier, math_force_eval): Remove.
75342         (libc_feholdexcept_setround_53bit): Remove.
75343         (libc_feupdateenv_53bit): Remove.
75344         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75345         (math_opt_barrier, math_force_eval): Remove.
75346         (libc_feholdexcept): Remove.
75347         (libc_feholdexcept_setround): Remove.
75348         (libc_fetestexcept, libc_fesetenv): Remove.
75349         (libc_feupdateenv_test): Remove.
75350         (libc_feupdateenv, libc_feholdsetround): Remove.
75351         (libc_feresetround): Remove.
75353         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75354         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75356         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75357         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75358         (libc_feupdateenv_testl): New.
75359         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75360         (libc_feupdateenv_testf): New.
75361         (libc_feupdateenv): Use libc_feupdateenv_test.
75362         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75363         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75365         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75366         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75367         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75368         (libc_feresetround_noex): New.
75369         (libc_feresetround_noexf): New.
75370         (libc_feresetround_noexl): New.
75371         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75372         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75373         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75374         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75375         SET_RESTORE_ROUND.
75376         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75377         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75378         (__cos): Likewise.
75379         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75381         SET_RESTORE_ROUND_NOEX.
75382         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75383         SET_RESTORE_ROUND_NOEXF.
75384         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75385         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75386         (libc_feholdsetroundf): New.
75387         (libc_feresetround, libc_feresetroundf): New.
75389         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75390         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75391         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75393         * sysdeps/generic/math_private.h: Include <fenv.h>.
75394         (default_libc_feholdexcept): New.
75395         (default_libc_feholdexcept_setround): New.
75396         (default_libc_fesetenv, default_libc_feupdateenv): New.
75397         (libc_feholdexcept): Only define if undefined.
75398         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75399         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75400         (libc_feholdexcept_setroundl): Likewise.
75401         (libc_feholdexcept_setround_53bit): Likewise.
75402         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75403         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75404         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75405         (libc_feupdateenv_53bit): Likewise.
75406         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75407         (libc_feholdexcept): Convert from macro to inline function.
75408         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75409         (libc_fesetenv, libc_feupdateenv): Likewise.
75411         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75412         not previously defined.
75413         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75414         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75415         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75416         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75417         * sysdeps/ieee754/flt-32/math_private.h: New file.
75418         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75419         math_private.h below SET_FLOAT_WORD.
75420         (__isnan, __isinf_ns, __finite): Remove.
75421         (__isnanf, __isinf_nsf, __finitef): Remove.
75423 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75425         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75427 2012-03-17  David S. Miller  <davem@davemloft.net>
75429         [BZ #6471]
75430         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75431         for 2.16.
75433 2012-03-16  David S. Miller  <davem@davemloft.net>
75435         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75436         warnings.
75438         [BZ #6471]
75439         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75440         properly.
75441         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75442         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75443         sysdep_routines when subdir is sysvipc.
75444         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75445         __getshmlba helper.
75447         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75449 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75451         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75452         [__LP64__].
75454 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75456         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75457         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75458         (__lround): Renamed to ...
75459         (__llround): This.  Replace long int with long long int.
75460         Define lround functions as aliases of llround functions.
75461         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75463 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75465         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75466         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75467         adresses to uintptr_t.  Replace "long int" and "unsigned long
75468         int" with "greg_t" on va_arg.
75470 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75472         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75473         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75475         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75476         Move e_machine check before EI_CLASS check.  Handle x32
75477         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75478         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75479         SKIP_EM_IA_64 and include
75480         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75482         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75483         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75484         (add_system_dir): New macro.
75486         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75487         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75489 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75491         [BZ #2551]
75492         [BZ #2552]
75493         [BZ #2553]
75494         [BZ #2554]
75495         [BZ #2562]
75496         [BZ #2563]
75497         [BZ #2565]
75498         [BZ #2566]
75499         [BZ #2576]
75500         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75501         (y0): Likewise.
75502         * math/w_j0f.c (j0f): Likewise.
75503         (y0f): Likewise.
75504         * math/w_j0l.c (__j0l): Likewise.
75505         (__y0l): Likewise.
75506         * math/w_j1.c (j1): Likewise.
75507         (y1): Likewise.
75508         * math/w_j1f.c (j1f): Likewise.
75509         (y1f): Likewise.
75510         * math/w_j1l.c (__j1l): Likewise.
75511         (__y1l): Likewise.
75512         * math/w_jn.c (jn): Likewise.
75513         (yn): Likewise.
75514         * math/w_jnf.c (jnf): Likewise.
75515         (ynf): Likewise.
75516         * math/w_jnl.c (__jnl): Likewise.
75517         (__ynl): Likewise.
75518         * math/libm-test.inc (j0_test): Add more tests.
75519         (j1_test): Likewise.
75520         (jn_test): Likewise.  Add trailing semicolon to existing test.
75521         (y0_test): Likewise.
75522         (y1_test): Likewise.
75523         * sysdeps/i386/fpu/libm-test-ulps: Update.
75524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75526         [BZ #13851]
75527         [BZ #13854]
75528         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75529         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75530         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75531         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75532         (__tanl): Set errno for infinite argument.
75533         * sysdeps/i386/fpu/mptan.c: Remove.
75534         * sysdeps/i386/fpu/s_tan.S: Likewise.
75535         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75536         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75537         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75538         * math/libm-test.inc (tan_test): Add more tests and enable more
75539         tests for double and long double.
75540         * sysdeps/i386/fpu/libm-test-ulps: Update.
75541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75543 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75545         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75546         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75548 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75550         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75551         * configure.in: Use it for both main tree and add-ons.
75552         * configure: Regenerated.
75554 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75556         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75558 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75560         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75561         in comment.
75563         [BZ #13851]
75564         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75565         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75566         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75567         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75568         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75569         infinite argument.
75570         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75571         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75572         != 0 for prec == 2.
75573         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75574         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75575         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75576         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75577         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75578         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75579         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75580         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75581         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75582         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75583         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75584         * math/libm-test.inc (cos_test): Add more tests and enable more
75585         tests for long double.
75586         (sin_test): Likewise.
75587         (sincos_test): Likewise.
75588         * sysdeps/i386/fpu/libm-test-ulps: Update.
75589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75591 2012-03-16  David S. Miller  <davem@davemloft.net>
75593         * sysdeps/sparc/fpu/math_private.h: New file.
75595 2012-03-15  David S. Miller  <davem@davemloft.net>
75597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75598         file.
75599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75601         file.
75602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75607         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75608         sysdep routines.
75609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75611         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75612         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75614         * sysdeps/sparc/sparc-ifunc.h: New file.
75615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75616         sparc-ifunc.h
75617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75619         Likewise.
75620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75621         Likewise.
75622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75626         Likewise.
75627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75632         Likewise.
75633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75634         Likewise.
75635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75660 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75662         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75663         scaling.
75664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75666 2012-03-15  Andreas Jaeger  <aj@suse.de>
75668         [BZ #13852]
75669         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75670         ieee754/flt-32 implementation for sin, cos and sincos.
75671         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75672         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75673         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75674         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75675         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75676         ieee754/flt-32 implementation for tan.
75678         * math/libm-test.inc (cos_test): Enable some large input tests for
75679         float as well
75680         (sin_test): Likewise.
75681         (sincos_test): Likewise.
75682         (tan_test): Add tests for large input.
75684         * sysdeps/i386/fpu/libm-test-ulps: Update.
75686 2012-03-15  Andreas Jaeger  <aj@suse.de>
75688         [BZ #13658]
75689         * math/libm-test.inc (cos_test): Add more test cases.
75690         (sin_test): Likewise.
75691         (sincos_test): Likewise.
75693 2012-03-15  Andreas Jaeger  <aj@suse.de>
75695         [BZ #13837]
75696         * math/libm-test.inc (cos_test): Add a test case for large input
75697         value.
75698         (sin_test): Likewise.
75699         (sincos_test): Likewise.
75701 2012-03-15  Andreas Jaeger  <aj@suse.de>
75702             Joseph Myers  <joseph@codesourcery.com>
75704         [BZ #13658]
75705         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75706         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75707         * sysdeps/i386/fpu/branred.c: Likewise.
75708         * sysdeps/i386/fpu/dosincos.c: Likewise.
75709         * sysdeps/i386/fpu/mpa.c: Likewise.
75710         * sysdeps/i386/fpu/s_cos.S: Likewise.
75711         * sysdeps/i386/fpu/s_sin.S: Likewise.
75712         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75713         * sysdeps/i386/fpu/sincos32.c: Likewise.
75715         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75716         Define.
75717         (libc_feupdateenv_53bit): Define.
75718         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75719         Define.
75720         (libc_feupdateenv_53bit): Define.
75722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75723         53 bit (without extend i386 double precision).
75725         * math/libm-test.inc (sincos_test): Add tests for large input.
75726         (sin): Likewise.
75727         (cos): Likewise.
75729         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75731 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75735 2012-03-15  David S. Miller  <davem@davemloft.net>
75737         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75738         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75739         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75740         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75753         file.
75754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75756         file.
75757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75759         file.
75760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75762         file.
75763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75764         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75765         fmin/fmax sysdep routines.
75766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75768 2012-03-14  David S. Miller  <davem@davemloft.net>
75770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75798         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75799         routines.
75800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75801         file.
75802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75804         file.
75805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75807         file.
75808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75810         file.
75811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75813         file.
75814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75816         file.
75817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75818         file.
75819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75820         file.
75821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75822         file.
75823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75824         New file.
75825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75826         file.
75827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75828         file.
75829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75831         file.
75832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75834         file.
75835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75837         file.
75838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75840         VIS3 routines.
75842         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75843         New file.
75845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75847         * sysdeps/sparc/configure.in: New file.
75848         * sysdeps/sparc/configure: Generate.
75849         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75850         * configure: Regenerate.
75851         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75852         * config.make.in (have-as-vis3): New.
75853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75854         available use -Av9d instead of -Av9a.
75855         * sysdeps/sparc/sparc64/Makefile: Likewise.
75856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75858         New file.
75859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75860         file.
75861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75862         New file.
75863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75864         file.
75865         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75871         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75872         fzeros/fnegs to load 0x80000000 into a float register instead of
75873         using the stack.
75874         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75876 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75879         bits/syscall.h.
75880         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75881         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75882         ($(inst_includedir)/bits/syscall.h): Remove rule.
75883         ($(objpfx)bits/syscall.d): Include instead of
75884         $(objpfx)syscall-list.d.
75885         (generated): Change syscall-list.h and syscall-list.d to
75886         bits/syscall.h and bits/syscall.d.
75888 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75890         [BZ #13846]
75891         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75893 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75895         [BZ #13841]
75896         * math/s_csqrt.c: Include <float.h>.
75897         (__csqrt): Scale large or subnormal inputs.
75898         * math/s_csqrtf.c: Likewise.
75899         * math/s_csqrtl.c: Likewise.
75900         * math/libm-test.inc (csqrt_test): Add more tests.
75901         * sysdeps/i386/fpu/libm-test-ulps: Update.
75902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75904         [BZ #13840]
75905         * math/libm-test.inc (hypot_test): Add more tests.
75907 2012-03-13  David S. Miller  <davem@davemloft.net>
75909         [BZ #13840]
75910         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75911         double-precision for the calculation instead of scaling.
75913 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75915         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75916         manipulate bits before adding and subtracting TWO52[sx].
75917         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75918         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75919         Likewise.
75920         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75922 2012-03-13  David S. Miller  <davem@davemloft.net>
75924         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75925         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75926         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75927         rtld-global-offsets.h
75928         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75930         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75931         large parameters.
75933         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75935         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75936         'err' in the ifdef scope in which it is actually used.
75938         * nss/nss_db/db-init.c: Include string.h
75940 2012-03-12  David S. Miller  <davem@davemloft.net>
75942         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75943         masking out of the most significant byte of random value used.
75944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75945         Fix coding style in previous change.
75947         * sysdeps/unix/sysv/linux/kernel-features.h
75948         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75949         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75950         expression.
75951         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75952         later.
75954 2012-03-11  David S. Miller  <davem@davemloft.net>
75956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75957         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75959         for 'resultvar' otherwise things get truncated on 64-bit.
75961         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75962         Fix masking out of the most significant byte of random value used.
75964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75966 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75970 2012-03-09  David S. Miller  <davem@davemloft.net>
75972         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75973         variables with appropriate CPP guards.
75974         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75975         from the frame pointer, not the stack pointer.  Correct layout
75976         comments.  Fix test on resulting framesize and the management of
75977         the outregs buffer for pltexit.  Preserve floating point return
75978         values across _dl_call_pltexit call.
75979         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75980         framesize and the management of the outregs buffer for pltexit.
75981         Preserve floating point return values across _dl_call_pltexit
75982         call.
75983         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75984         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75985         (la_sparc64_gnu_pltexit): New functions.
75986         (print_exit): Fix format string for return register value.
75988 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75990         * sunrpc/Makefile (others): Add rpcgen.
75991         ($(objpfx)rpcgen): Remove special build rule and dependency on
75992         libc.
75993         * sunrpc/rpcgen.c: New file.
75995 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75997         [BZ #13673]
75998         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75999         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76000         * sysdeps/i386/crti.S: Likewise.
76001         * sysdeps/i386/crtn.S: Likewise.
76002         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76003         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76004         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76005         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76006         * sysdeps/sh/crti.S: Likewise.
76007         * sysdeps/sh/crtn.S: Likewise.
76008         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76010         [BZ #13673]
76011         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76012         with URL.
76013         * locale/programs/locfile-kw.gperf: Likewise.
76014         * locale/programs/charmap-kw.h: Regenerated.
76015         * locale/programs/locfile-kw.h: Likewise.
76017         [BZ #13673]
76018         * intl/plural.y: Replace FSF snail mail address with URL.
76019         * intl/plural.c: Regenerated.
76021 2012-03-09  Richard Henderson  <rth@twiddle.net>
76023         * include/math_private.h: Remove file.
76024         * math/math_private.h: Move file ...
76025         * sysdeps/generic/math_private.h: ... here.
76027         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76028         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76029         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76031         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76032         and <math_private.h>.
76033         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76034         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76035         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76036         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76037         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76038         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76039         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76040         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76041         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76042         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76043         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76044         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76045         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76046         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76047         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76048         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76049         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76050         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76051         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76052         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76054         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76055         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76057         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76059         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76060         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76061         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76062         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76063         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76064         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76065         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76066         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76067         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76068         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76069         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76070         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76071         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76072         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76073         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76074         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76075         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76076         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76077         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76078         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76079         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76080         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76081         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76082         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76083         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76084         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76085         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76086         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76087         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76088         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76089         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76090         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76091         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76092         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76093         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76094         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76095         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76096         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76097         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76098         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76099         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76100         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76101         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76102         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76103         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76104         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76105         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76106         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76107         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76111         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76112         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76113         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76114         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76115         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76116         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76117         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76119         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76120         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76121         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76122         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76123         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76124         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76125         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76126         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76127         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76128         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76129         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76130         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76131         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76133         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76134         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76135         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76136         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76137         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76138         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76139         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76140         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76141         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76142         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76143         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76144         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76145         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76146         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76147         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76148         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76149         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76150         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76151         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76152         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76153         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76154         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76155         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76156         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76157         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76158         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76159         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76160         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76161         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76162         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76163         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76164         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76165         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76166         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76167         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76168         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76169         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76170         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76171         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76172         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76173         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76174         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76175         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76176         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76177         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76178         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76179         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76180         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76181         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76182         * sysdeps/ieee754/k_standard.c: Likewise.
76183         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76184         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76185         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76186         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76187         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76188         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76189         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76190         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76191         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76192         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76193         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76194         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76195         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76196         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76197         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76198         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76199         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76200         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76201         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76202         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76203         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76204         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76205         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76207         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76208         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76209         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76210         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76211         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76213         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76214         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76215         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76216         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76217         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76218         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76219         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76220         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76221         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76222         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76223         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76224         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76225         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76226         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76227         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76228         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76229         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76230         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76231         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76232         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76233         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76234         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76235         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76236         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76237         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76238         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76239         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76240         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76241         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76242         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76243         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76244         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76245         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76246         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76247         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76248         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76249         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76250         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76251         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76252         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76253         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76255         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76256         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76257         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76258         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76259         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76260         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76261         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76262         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76263         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76264         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76265         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76266         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76267         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76268         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76269         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76270         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76271         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76273         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76275         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76276         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76277         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76278         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76279         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76280         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76281         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76282         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76283         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76284         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76287         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76288         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76289         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76290         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76291         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76292         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76294         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76295         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76296         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76297         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76298         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76299         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76300         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76301         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76302         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76303         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76304         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76305         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76306         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76307         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76308         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76309         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76310         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76311         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76312         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76313         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76314         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76315         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76316         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76317         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76318         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76319         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76320         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76321         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76322         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76323         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76324         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76325         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76326         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76327         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76328         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76329         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76330         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76331         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76332         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76333         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76334         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76335         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76336         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76337         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76338         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76339         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76340         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76341         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76342         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76343         * sysdeps/ieee754/s_lib_version.c: Likewise.
76344         * sysdeps/ieee754/s_matherr.c: Likewise.
76345         * sysdeps/ieee754/s_signgam.c: Likewise.
76346         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76347         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76348         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76349         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76350         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76351         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76352         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76353         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76354         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76355         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76356         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76357         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76358         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76359         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76360         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76361         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76362         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76363         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76364         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76368 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76370         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76371         * sunrpc/rpc_main.c: Likewise.
76372         * sunrpc/rpc_svcout.c: Likewise.
76374 2012-03-09  David S. Miller  <davem@davemloft.net>
76376         * include/math_private.h: New file.
76378 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76380         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76381         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76382         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76383         from <bits/socket_type.h>.
76384         (enum __socket_type): Don't define here.
76385         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76386         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76387         bits/socket_type.h.
76389         [BZ #13566]
76390         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76391         checking __USE_GNU.
76393         * Makerules ($(inst_includedir)/%.h): New rule.
76394         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76395         (install-others): Remove variable setting.
76396         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76398 2012-03-08  Richard Henderson  <rth@twiddle.net>
76400         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76401         from macro to inline function; merge with the
76402         !__LIBC_INTERNAL_MATH_INLINES version.
76403         (__ieee754_sqrtf): Likewise.
76405         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76406         to inline function.
76407         (__rintf, __floor, __floorf): Likewise.
76409         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76410         macro to inline function.
76411         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76413         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76414         not <math/math_private.h>.
76416 2012-03-08  David S. Miller  <davem@davemloft.net>
76418         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76419         copyright year.
76420         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76422 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76424         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76425         normalization.
76426         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76427         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76429 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76431         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76432         be defined individually, they must be defined as a block.  Define
76433         S for printing a string instead of hidint the different by using a
76434         macro for adding the 'l'.
76435         * stdio-common/tst-fphex-wide.c: Adjust.
76437 2012-03-07  Marek Polacek  <polacek@redhat.com>
76439         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76441 2012-03-08  Marek Polacek  <polacek@redhat.com>
76443         [BZ #13806]
76444         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76445         * stdio-common/tst-fphex.c: Define a few macros to make the
76446         test reusable.  Use them.
76447         * stdio-common/tst-fphex-wide.c: New file.
76449 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76451         [BZ #6911]
76452         * manual/macros.texi (gnusystems): New macro.
76453         (nongnusystems): Likewise.
76454         (gnulinuxhurdsystems): Likewise.
76455         (gnuhurdsystems): Likewise..
76456         (gnulinuxsystems): Likewise.
76457         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76458         variants of the GNU system, not "GNU system".
76459         * manual/conf.texi: Likewise.
76460         * manual/errno.texi: Likewise.  Update example of errno macro
76461         expansion.
76462         * manual/filesys.texi: Likewise.
76463         (getumask): Document as specific to GNU/Hurd.
76464         * manual/install.texi: Likewise.  Reword some references to
76465         GNU/Linux.
76466         * manual/intro.texi: Likewise.
76467         * manual/io.texi: Likewise.
76468         (File Name Portability): Detail which constraints are inapplicable
76469         to all GNU systems and which are only inapplicable to GNU/Hurd.
76470         * manual/job.texi: Likewise.
76471         * manual/llio.texi: Likewise.
76472         (O_NOCTTY): Document as present on GNU/Linux.
76473         * manual/maint.texi: Likewise.
76474         * manual/memory.texi: Likewise.
76475         * manual/pattern.texi: Likewise.
76476         * manual/pipe.texi: Likewise.
76477         * manual/process.texi: Likewise.
76478         * manual/resource.texi: Likewise.
76479         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76480         child on GNU/Hurd.
76481         * manual/setjmp.texi: Likewise.
76482         * manual/signal.texi: Likewise.
76483         * manual/startup.texi: Likewise.
76484         * manual/stdio.texi: Likewise.
76485         * manual/terminal.texi: Likewise.
76486         (ONLCR): Document as POSIX.
76487         (OXTABS): Document availability on GNU/Linux as XTABS.
76488         (ONOEOT): Document availability separately from other bits.
76489         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76490         * manual/time.texi: Likewise.
76491         * manual/users.texi: Likewise.
76492         * INSTALL: Regenerated.
76493         * sysdeps/gnu/errlist.c: Regenerated.
76495         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76496         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76497         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76498         puts.
76499         * configure: Regenerated.
76501 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76503         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76504         default includes instead of AC_HEADER_CHECK.
76505         * sysdeps/i386/configure: Regenerated.
76507         [BZ #10716]
76508         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76509         * math/s_cacoshf.c (__cacoshf): Likewise.
76510         * math/s_cacoshl.c (__cacoshl): Likewise.
76511         * math/s_casinh.c (__casinh): Set signs of result from argument.
76512         * math/s_casinhf.c (__casinhf): Likewise.
76513         * math/s_casinhl.c (__casinhl): Likewise.
76514         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76515         (casinh_test): Add more tests.
76516         * sysdeps/i386/fpu/libm-test-ulps: Update.
76517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76519 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76521         * po/zh_TW.po: Update from translation team.
76523         * login/Makefile (distribute): Remove variable.
76524         * catgets/Makefile: Likewise.
76525         * mach/Makefile: Likewise.
76526         * malloc/Makefile: Likewise.
76527         * misc/Makefile: Likewise.
76528         * iconv/Makefile: Likewise.
76529         * nscd/Makefile: Likewise.
76530         * hurd/Makefile: Likewise.
76531         * manual/Makefile: Likewise.
76532         * locale/Makefile: Likewise.
76533         * intl/Makefile: Likewise.
76534         * conform/Makefile: Likewise.
76535         * nss/Makefile: Likewise.
76536         * time/Makefile: Likewise.
76537         * soft-fp/Makefile: Likewise.
76538         * dirent/Makefile: Likewise.
76539         * gmon/Makefile: Likewise.
76540         * po/Makefile: Likewise.
76541         * rt/Makefile: Likewise.
76542         * socket/Makefile: Likewise.
76543         * math/Makefile: Likewise.
76544         * signal/Makefile: Likewise.
76545         * debug/Makefile: Likewise.
76546         * elf/Makefile: Likewise.
76547         * timezone/Makefile: Likewise.
76548         * stdlib/Makefile: Likewise.
76549         * iconvdata/Makefile: Likewise.
76550         * sunrpc/Makefile: Likewise.
76551         * io/Makefile: Likewise.
76552         * argp/Makefile: Likewise.
76553         * inet/Makefile: Likewise.
76554         * hesiod/Makefile: Likewise.
76555         * grp/Makefile: Likewise.
76556         * csu/Makefile: Likewise.
76557         * wctype/Makefile: Likewise.
76558         * crypt/Makefile: Likewise.
76559         * libio/Makefile: Likewise.
76560         * string/Makefile: Likewise.
76561         * nis/Makefile: Likewise.
76562         * resolv/Makefile: Likewise.
76563         * stdio-common/Makefile: Likewise.
76564         * wcsmbs/Makefile: Likewise.
76565         * dlfcn/Makefile: Likewise.
76566         * posix/Makefile: Likewise.
76568         [BZ #6959]
76569         * timezone/Makefile: Don't install timezone files, just the programs
76570         and scripts.
76572 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76574         * nss/databases.def: Add missing gshadow entry.
76576         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76578 2012-03-06  Marek Polacek  <polacek@redhat.com>
76580         [BZ #13726]
76581         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76582         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76583         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76584         * stdio-common/tst-long-dbl-fphex.c: New file.
76586 2012-03-06  David S. Miller  <davem@davemloft.net>
76588         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76589         (set_obp_int): New function.
76590         (get_obp_int): New function.
76591         (__get_clockfreq_via_dev_openprom): Likewise.
76592         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76593         Avoid unused variable warnings on 'val' and use builtin_expect.
76594         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76595         __builtin_expect.
76596         (INLINE_CLONE_SYSCALL): Likewise.
76598 2012-03-05  David S. Miller  <davem@davemloft.net>
76600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76602 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76606         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76607         only for |x| >= 40.
76608         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76610 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76612         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76613         Replace gettimeofday with __vdso_gettimeofday.
76615         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76616         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76617         __vdso_clock_gettime and __vdso_getcpu.
76619         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76620         time with __vdso_time.
76622 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76624         * manual/lang.texi (size_t): Note types to which size_t may be
76625         equivalent with the GNU C Library, but do not describe when
76626         differences between them are significant.
76628 2012-03-05  Andreas Jaeger  <aj@suse.de>
76630         * sysdeps/i386/fpu/libm-test-ulps: Update.
76632 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76634         [BZ #3976]
76635         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76636         (__ieee754_pow): Save and restore rounding mode and use
76637         round-to-nearest for main computations.
76638         * math/libm-test.inc (pow_test_tonearest): New function.
76639         (pow_test_towardzero): Likewise.
76640         (pow_test_downward): Likewise.
76641         (pow_test_upward): Likewise.
76642         (main): Call the new functions.
76643         * sysdeps/i386/fpu/libm-test-ulps: Update.
76644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76646         [BZ #3976]
76647         * math/libm-test.inc (cosh_test_tonearest): New function.
76648         (cosh_test_towardzero): Likewise.
76649         (cosh_test_downward): Likewise.
76650         (cosh_test_upward): Likewise.
76651         (sinh_test_tonearest): Likewise.
76652         (sinh_test_towardzero): Likewise.
76653         (sinh_test_downward): Likewise.
76654         (sinh_test_upward): Likewise.
76655         (main): Call the new functions.
76656         * sysdeps/i386/fpu/libm-test-ulps: Update.
76657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76659 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76661         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76662         default stack guard is set in last bytes.
76663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76665 2012-03-05  Kees Cook  <keescook@chromium.org>
76667         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76669         [BZ #13656]
76670         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76671         possibly allocate from heap instead of stack.
76672         * stdio-common/bug-vfprintf-nargs.c: New file.
76673         * stdio-common/Makefile (tests): Add nargs overflow test.
76675 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76677         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76679 2012-03-03  Marek Polacek  <polacek@redhat.com>
76681         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76682         * math/math_private.h: Likewise.
76683         * stdlib/tst-strtod.c: Likewise.
76684         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76685         * sysdeps/x86_64/bits/atomic.h: Likewise.
76687 2012-03-02  David S. Miller  <davem@davemloft.net>
76689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76693         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76694         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76695         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76696         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76698 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76700         [BZ #13792]
76701         * manual/examples/README: New file, says the example source files
76702         can be used under GPL>=2.
76703         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76704         line containing just "*/".
76705         * manual/examples/add.c: Add copyright header (GPL>=2).
76706         * manual/examples/argp-ex1.c: Likewise.
76707         * manual/examples/argp-ex2.c: Likewise.
76708         * manual/examples/argp-ex3.c: Likewise.
76709         * manual/examples/argp-ex4.c: Likewise.
76710         * manual/examples/atexit.c: Likewise.
76711         * manual/examples/db.c: Likewise.
76712         * manual/examples/dir.c: Likewise.
76713         * manual/examples/dir2.c: Likewise.
76714         * manual/examples/execinfo.c: Likewise.
76715         * manual/examples/filecli.c: Likewise.
76716         * manual/examples/filesrv.c: Likewise.
76717         * manual/examples/fmtmsgexpl.c: Likewise.
76718         * manual/examples/genpass.c: Likewise.
76719         * manual/examples/inetcli.c: Likewise.
76720         * manual/examples/inetsrv.c: Likewise.
76721         * manual/examples/isockad.c: Likewise.
76722         * manual/examples/longopt.c: Likewise.
76723         * manual/examples/memopen.c: Likewise.
76724         * manual/examples/memstrm.c: Likewise.
76725         * manual/examples/mkfsock.c: Likewise.
76726         * manual/examples/mkisock.c: Likewise.
76727         * manual/examples/mygetpass.c: Likewise.
76728         * manual/examples/pipe.c: Likewise.
76729         * manual/examples/popen.c: Likewise.
76730         * manual/examples/rprintf.c: Likewise.
76731         * manual/examples/search.c: Likewise.
76732         * manual/examples/select.c: Likewise.
76733         * manual/examples/setjmp.c: Likewise.
76734         * manual/examples/sigh1.c: Likewise.
76735         * manual/examples/sigusr.c: Likewise.
76736         * manual/examples/stpcpy.c: Likewise.
76737         * manual/examples/strdupa.c: Likewise.
76738         * manual/examples/strftim.c: Likewise.
76739         * manual/examples/strncat.c: Likewise.
76740         * manual/examples/subopt.c: Likewise.
76741         * manual/examples/swapcontext.c: Likewise.
76742         * manual/examples/termios.c: Likewise.
76743         * manual/examples/testopt.c: Likewise.
76744         * manual/examples/testpass.c: Likewise.
76745         * manual/examples/timeval_subtract.c: Likewise.
76747         [BZ #13792]
76748         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76749         function to ...
76750         * manual/timeval_subtract.c.texi: ... here, new file.
76752 2012-03-02  David S. Miller  <davem@davemloft.net>
76754         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76756 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76758         [BZ #3976]
76759         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76760         (__sin): Save and restore rounding mode and use round-to-nearest
76761         for all computations.
76762         (__cos): Save and restore rounding mode and use round-to-nearest
76763         for all computations.
76764         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76765         <fenv.h>.
76766         (tan): Save and restore rounding mode and use round-to-nearest for
76767         all computations.
76768         * math/libm-test.inc (cos_test_tonearest): New function.
76769         (cos_test_towardzero): Likewise.
76770         (cos_test_downward): Likewise.
76771         (cos_test_upward): Likewise.
76772         (sin_test_tonearest): Likewise.
76773         (sin_test_towardzero): Likewise.
76774         (sin_test_downward): Likewise.
76775         (sin_test_upward): Likewise.
76776         (tan_test_tonearest): Likewise.
76777         (tan_test_towardzero): Likewise.
76778         (tan_test_downward): Likewise.
76779         (tan_test_upward): Likewise.
76780         (main): Call the new functions.
76781         * sysdeps/i386/fpu/libm-test-ulps: Update.
76782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76784         [BZ #10135]
76785         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76786         small n, then large n, before computing and testing k+n.
76787         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76789         Likewise.
76790         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76791         Likewise.
76792         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76793         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76794         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76795         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76796         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76797         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76798         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76799         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76800         * math/libm-test.inc (scalbn_test): Add more tests.
76801         (scalbln_test): Likewise.
76803         * manual/filesys.texi (mode_t): Describe constraints on size and
76804         signedness, not exact equivalence to a particular type.
76805         (ino_t): Likewise.
76806         (ino64_t): Likewise.
76807         (dev_t): Likewise.
76808         (nlink_t): Likewise.
76809         (blkcnt_t): Likewise.
76810         (blkcnt64_t): Likewise.
76811         * manual/llio.texi (off_t): Likewise.
76813         [BZ #3976]
76814         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76815         (__ieee754_exp): Save and restore rounding mode and use
76816         round-to-nearest for all computations.
76817         * math/libm-test.inc (exp_test_tonearest): New function.
76818         (exp_test_towardzero): Likewise.
76819         (exp_test_downward): Likewise.
76820         (exp_test_upward): Likewise.
76821         (main): Call the new functions.
76822         * sysdeps/i386/fpu/libm-test-ulps: Update.
76823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76825 2012-03-01  Chris Demetriou  <cgd@google.com>
76827         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76828         have predictable order.
76830 2012-03-01  David S. Miller  <davem@davemloft.net>
76832         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76834         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76835         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76836         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76837         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76839         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76840         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76841         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76843         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76844         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76845         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76846         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76847         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76851         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76852         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76853         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76855         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76856         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76857         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76858         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76859         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76860         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76861         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76862         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76863         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76864         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76865         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76866         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76867         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76868         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76869         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76870         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76871         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76872         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76873         * sysdeps/sparc/elf/configure: Regenerated.
76875 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76877         * configure.in (AS, LD): Require binutils 2.20 or later.
76878         * configure: Regenerated.
76879         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76880         as required minimum version.
76881         * INSTALL: Regenerated.
76883         [BZ #2541]
76884         [BZ #4108]
76885         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76886         before squaring exponent.
76887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76888         bottom long double and 27 bits of top long double before squaring
76889         exponent.
76890         * math/libm-test.inc (erfc_test): Add more tests.
76891         * sysdeps/i386/fpu/libm-test-ulps: Update.
76892         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76895 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76897         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76898         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76899         containing bit-fields.
76900         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76901         * soft-fp/single.h (_FP_UNION_S): Likewise.
76902         * soft-fp/double.h (_FP_UNION_D): Likewise.
76904 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76906         [BZ #13786]
76907         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76908         not include ../strcmp.S.
76909         [USE_AS_STRNCASECMP_L]: Likewise.
76910         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76911         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76912         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76913         (__strncasecmp_l_ia32): Define as alias to
76914         __strncasecmp_l_nonascii.
76916         [BZ #5794]
76917         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76918         * sysdeps/i386/fpu/libm-test-ulps: Update.
76919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76921         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76924 2012-02-29  Jeff Law  <law@redhat.com>
76926         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76927         out of bounds read.
76929 2012-02-29  Marek Polacek  <polacek@redhat.com>
76931         [BZ #13706]
76932         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76933         * elf/Makefile: Add rules to run tst-unused-dep.out.
76935 2012-02-28  David S. Miller  <davem@davemloft.net>
76937         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76938         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76940         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76941         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76942         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76944 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76946         * math/libm-test.inc (llround_test): Move one test from
76947         lround_test.  Use TEST_f_L in moved test.
76948         (lround_test): Move misplaced test to llround_test.  Add testcase
76949         from bug 2561.
76951 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76953         * sysdeps/x86_64/fpu/e_expf.S: New file.
76954         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76956 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76958         [BZ #13637]
76959         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76960         of remain_len that may cause incomplete multi-byte character and
76961         false match.
76962         * posix/bug-regex33.c: New file.
76963         * posix/Makefile (tests): Add bug-regex33.
76965 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76967         * manual/macros.texi: New file.
76968         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76969         * manual/libc.texinfo: Include macros.texi.
76970         * manual/creatute.texi: Likewise.
76971         * manual/install.texi: Likewise.
76972         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76973         @glibcadj{} in references to the GNU C Library.
76974         * manual/charset.texi: Likewise.
76975         * manual/conf.texi: Likewise.
76976         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76977         when not using those macros.
76978         * manual/creature.texi: Likewise.
76979         * manual/crypt.texi: Likewise.
76980         * manual/errno.texi: Likewise.
76981         * manual/filesys.texi: Likewise.
76982         * manual/header.texi: Likewise.
76983         * manual/install.texi: Likewise.
76984         * manual/intro.texi: Likewise.
76985         * manual/io.texi: Likewise.
76986         * manual/job.texi: Likewise.
76987         * manual/lang.texi: Likewise.
76988         * manual/libc.texiinfo: Likewise.
76989         * manual/llio.texi: Likewise.
76990         * manual/locale.texi: Likewise.
76991         * manual/maint.texi: Likewise.
76992         * manual/math.texi: Likewise.
76993         * manual/memory.texi: Likewise.
76994         * manual/message.texi: Likewise.
76995         * manual/nss.texi: Likewise.
76996         * manual/pattern.texi: Likewise.
76997         * manual/process.texi: Likewise.
76998         * manual/resource.texi: Likewise.
76999         * manual/search.texi: Likewise.
77000         * manual/setjmp.texi: Likewise.
77001         * manual/signal.texi: Likewise.
77002         * manual/socket.texi: Likewise.
77003         * manual/startup.texi: Likewise.
77004         * manual/stdio.texi: Likewise.
77005         * manual/string.texi: Likewise.
77006         * manual/sysinfo.texi: Likewise.
77007         * manual/syslog.texi: Likewise.
77008         * manual/terminal.texi: Likewise.
77009         * manual/time.texi: Likewise.
77010         * manual/users.texi: Likewise.
77011         * INSTALL: Regenerated.
77012         * NOTES: Regenerated.
77013         * sysdeps/gnu/errlist.c: Regenerated.
77015 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77017         * include/dirent.h: Include <dirstream.h> before
77018         <dirent/dirent.h>.
77020 2012-02-28  David S. Miller  <davem@davemloft.net>
77022         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77023         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77024         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77025         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77027 2012-02-27  David S. Miller  <davem@davemloft.net>
77029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77031         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77032         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77035         frame pointer instead of stack pointer relative arg slot.
77036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77037         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77038         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77040 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77042         [BZ #3992]
77043         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77045 2012-02-27  David S. Miller  <davem@davemloft.net>
77047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77051         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77052         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77053         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77054         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77056 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77058         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77059         later.  Allow versions 5-9.
77060         * configure: Regenerated.
77061         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77062         required minimum version and 4.6 as recommended version.  Do not
77063         mention bugs in GCC 2.7 and 2.8.
77064         * INSTALL: Regenerated.
77066 2012-02-27  David S. Miller  <davem@davemloft.net>
77068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77072         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77073         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77074         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77075         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77077         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77078         manipulate bits before adding and subtracting TWO112[sx].
77079         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77081 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77083         [BZ #13775]
77084         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77085         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77086         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77087         being in POSIX, because they are in 1003.1-2008.
77089         * rt/tst-aio.c: Include <fcntl.h>.
77090         * rt/tst-aio7.c: Likewise.
77091         * rt/tst-aio64.c: Likewise.
77093         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77095 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77097         * manual/install.texi (--with-headers): Describe headers as
77098         interface headers, not private headers.
77099         (Specific advice for GNU/Linux systems): Describe use of headers
77100         from "make headers_install", not private headers from older
77101         kernels.
77102         * INSTALL: Regenerated.
77103         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77104         Change to 2.6.19.
77105         * sysdeps/unix/sysv/linux/configure: Regenerated.
77107         * manual/llio.texi (fclean): Remove documentation.
77109         * manual/Makefile (libc-texi-generated): New variable.  Include
77110         version.texi.
77111         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77112         $(libc-texi-generated), not duplicated list of files.
77113         (version.texi, stamp-version): New rules.
77114         (realclean): Remove $(libc-texi-generated), not individual files
77115         from that list.  Do not remove dir-add.texinfo.
77116         * manual/libc.texinfo: Comment out uses of edition numbers and
77117         references to printed manual.  Remove last-updated dates.
77118         (EDITION): Comment out.
77119         (ISBN): Likewise.
77120         (VERSION, UPDATED): Remove.
77121         (version.texi): Include.
77123 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77125         * sysdeps/posix/spawni.c: Include <signal.h>.
77126         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77127         * sysdeps/pthread/aio_fsync.c: Likewise.
77129 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77131         * conform/Makefile (tests): Run only when not cross-compiling and
77132         when fast-check is not defined.
77134         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77135         * conform/data/limits.h-data: Fixes for POSIX2008.
77136         * conform/run-conformtest.sh: Run all tests.
77137         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77138         headers.
77139         * include/bits/dlfcn.h: Likewise.
77140         * include/langinfo.h: Likewise.
77141         * include/monetary.h: Likewise.
77142         * include/sys/poll.h: Likewise.
77144         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77145         for __USE_GNU.
77146         * posix/spawn.h: Define __need_sigset_t.
77147         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77148         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77149         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77150         to get sigevent_t only.
77151         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77152         only for __USE_GNU.
77153         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77154         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77155         process_vm_writev only for __USE_GNU.
77156         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77158         * conform/Makefile: For now ignore errors from run-conformtest.
77159         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77160         POSIX to avoid namespace pollution.  Don't prepend headers.
77161         * conform/data/aio.h-data: Fixes for POSIX testing.
77162         * conform/data/fcntl.h-data: Likewise.
77163         * conform/data/glob.h-data: Likewise.
77164         * conform/data/grp.h-data: Likewise.
77165         * conform/data/pthread.h-data: Likewise.
77166         * conform/data/pwd.h-data: Likewise.
77167         * conform/data/signal.h-data: Likewise.
77168         * conform/data/spawn.h-data: Likewise.
77169         * conform/data/stdio.h-data: Likewise.
77170         * conform/data/stdlib.h-data: Likewise.
77171         * conform/data/stropts.h-data: Likewise.
77172         * conform/data/sys/mman.h-data: Likewise.
77173         * conform/data/sys/stat.h-data: Likewise.
77174         * conform/data/sys/types.h-data: Likewise.
77175         * conform/data/sys/wait.h-data: Likewise.
77176         * conform/data/time.h-data: Likewise.
77177         * conform/data/unistd.h-data: Likewise.
77178         * conform/data/utime.h-data: Likewise.
77180         * io/sys/stat.h: fchmod was always in POSIX.
77181         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77182         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77183         * rt/aio.h: Define __need_timespec before including <time.h>.
77184         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77185         struct.  Add forward declaration of pthread_attr_t and use it in
77186         sigevent.
77187         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77188         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77189         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77190         always remove CLK_TCK definition.
77192 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77194         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77196 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77198         * conform/run-conformtest.sh: New file.
77199         * conform/Makefile: Run run-conformtest for tests.
77200         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77201         support.
77203         * conform/data/uchar.h-data: New file.
77204         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77205         * conform/data/arpa/inet.h-data: Likewise.
77206         * conform/data/assert.h-data: Likewise.
77207         * conform/data/complex.h-data: Likewise.
77208         * conform/data/cpio.h-data: Likewise.
77209         * conform/data/ctype.h-data: Likewise.
77210         * conform/data/dirent.h-data: Likewise.
77211         * conform/data/dlfcn.h-data: Likewise.
77212         * conform/data/errno.h-data: Likewise.
77213         * conform/data/fcntl.h-data: Likewise.
77214         * conform/data/float.h-data: Likewise.
77215         * conform/data/fmtmsg.h-data: Likewise.
77216         * conform/data/fnmatch.h-data: Likewise.
77217         * conform/data/ftw.h-data: Likewise.
77218         * conform/data/glob.h-data: Likewise.
77219         * conform/data/grp.h-data: Likewise.
77220         * conform/data/iconv.h-data: Likewise.
77221         * conform/data/inttypes.h-data: Likewise.
77222         * conform/data/langinfo.h-data: Likewise.
77223         * conform/data/libgen.h-data: Likewise.
77224         * conform/data/limits.h-data: Likewise.
77225         * conform/data/locale.h-data: Likewise.
77226         * conform/data/math.h-data: Likewise.
77227         * conform/data/monetary.h-data: Likewise.
77228         * conform/data/mqueue.h-data: Likewise.
77229         * conform/data/ndbm.h-data: Likewise.
77230         * conform/data/net/if.h-data: Likewise.
77231         * conform/data/netdb.h-data: Likewise.
77232         * conform/data/netinet/in.h-data: Likewise.
77233         * conform/data/nl_types.h-data: Likewise.
77234         * conform/data/poll.h-data: Likewise.
77235         * conform/data/pthread.h-data: Likewise.
77236         * conform/data/pwd.h-data: Likewise.
77237         * conform/data/regex.h-data: Likewise.
77238         * conform/data/sched.h-data: Likewise.
77239         * conform/data/search.h-data: Likewise.
77240         * conform/data/semaphore.h-data: Likewise.
77241         * conform/data/setjmp.h-data: Likewise.
77242         * conform/data/signal.h-data: Likewise.
77243         * conform/data/spawn.h-data: Likewise.
77244         * conform/data/stdarg.h-data: Likewise.
77245         * conform/data/stdio.h-data: Likewise.
77246         * conform/data/stdlib.h-data: Likewise.
77247         * conform/data/string.h-data: Likewise.
77248         * conform/data/strings.h-data: Likewise.
77249         * conform/data/stropts.h-data: Likewise.
77250         * conform/data/sys/ipc.h-data: Likewise.
77251         * conform/data/sys/mman.h-data: Likewise.
77252         * conform/data/sys/msg.h-data: Likewise.
77253         * conform/data/sys/resource.h-data: Likewise.
77254         * conform/data/sys/select.h-data: Likewise.
77255         * conform/data/sys/sem.h-data: Likewise.
77256         * conform/data/sys/shm.h-data: Likewise.
77257         * conform/data/sys/socket.h-data: Likewise.
77258         * conform/data/sys/stat.h-data: Likewise.
77259         * conform/data/sys/statvfs.h-data: Likewise.
77260         * conform/data/sys/time.h-data: Likewise.
77261         * conform/data/sys/timeb.h-data: Likewise.
77262         * conform/data/sys/times.h-data: Likewise.
77263         * conform/data/sys/types.h-data: Likewise.
77264         * conform/data/sys/uio.h-data: Likewise.
77265         * conform/data/sys/un.h-data: Likewise.
77266         * conform/data/sys/utsname.h-data: Likewise.
77267         * conform/data/sys/wait.h-data: Likewise.
77268         * conform/data/syslog.h-data: Likewise.
77269         * conform/data/tar.h-data: Likewise.
77270         * conform/data/termios.h-data: Likewise.
77271         * conform/data/utime.h-data: Likewise.
77272         * conform/data/utmpx.h-data: Likewise.
77273         * conform/data/varargs.h-data: Likewise.
77274         * conform/data/wchar.h-data: Likewise.
77275         * conform/data/wctype.h-data: Likewise.
77276         * conform/data/wordexp.h-data: Likewise.
77278         * include/stropts.h: New file.
77279         * include/uchar.h: New file.
77280         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77281         * include/assert.h: Likewise.
77282         * include/ctype.h: Likewise.
77283         * include/dirent.h: Likewise.
77284         * include/dlfcn.h: Likewise.
77285         * include/fcntl.h: Likewise.
77286         * include/fnmatch.h: Likewise.
77287         * include/glob.h: Likewise.
77288         * include/grp.h: Likewise.
77289         * include/libio.h: Likewise.
77290         * include/locale.h: Likewise.
77291         * include/math.h: Likewise.
77292         * include/net/if.h: Likewise.
77293         * include/netdb.h: Likewise.
77294         * include/netinet/in.h: Likewise.
77295         * include/pthread.h: Likewise.
77296         * include/pwd.h: Likewise.
77297         * include/regex.h: Likewise.
77298         * include/sched.h: Likewise.
77299         * include/search.h: Likewise.
77300         * include/setjmp.h: Likewise.
77301         * include/signal.h: Likewise.
77302         * include/stdio.h: Likewise.
77303         * include/stdlib.h: Likewise.
77304         * include/string.h: Likewise.
77305         * include/sys/cdefs.h: Likewise.
77306         * include/sys/mman.h: Likewise.
77307         * include/sys/msg.h: Likewise.
77308         * include/sys/resource.h: Likewise.
77309         * include/sys/select.h: Likewise.
77310         * include/sys/socket.h: Likewise.
77311         * include/sys/stat.h: Likewise.
77312         * include/sys/statvfs.h: Likewise.
77313         * include/sys/time.h: Likewise.
77314         * include/sys/times.h: Likewise.
77315         * include/sys/uio.h: Likewise.
77316         * include/sys/utsname.h: Likewise.
77317         * include/sys/wait.h: Likewise.
77318         * include/termios.h: Likewise.
77319         * include/time.h: Likewise.
77320         * include/ulimit.h: Likewise.
77321         * include/unistd.h: Likewise.
77322         * include/utime.h: Likewise.
77323         * include/wchar.h: Likewise.
77324         * include/wctype.h: Likewise.
77325         * include/wordexp.h: Likewise.
77327         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77329         * time/time.h: TIME_UTC must be a macro.
77330         Make timespec_get available for ISO C11 only as well.
77332 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77334         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77335         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77337 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77339         * configure.in: Use -o not -a in test for unsupported multi-arch.
77341 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77343         * manual/texinfo.tex: Update to version 2012-01-19.16.
77345 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77347         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77349 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77351         [BZ #13738]
77352         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77353         * manual/fdl-1.3.texi: New file.
77354         * manual/fdl-1.1.texi: File removed.
77356         [BZ #13738]
77357         * manual/libc.texinfo (FDL_VERSION): New @set.
77358         Use it for mention of FDL in cover text.
77359         (Documentation License): Use it in @include file name.
77361 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77362             Roland McGrath  <roland@hack.frob.com>
77364         [BZ #5461]
77365         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77366         (not LONG_LONG_MAX and LONG_LONG_MIN.
77367         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77368         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77369         name.
77370         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77372 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77374         [BZ #2547]
77375         [BZ #11365]
77376         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77377         manipulate bits before adding and subtracting TWO23[sx].
77378         * math/libm-test.inc (nearbyint_test): Add more tests.
77380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77382         [BZ #2548]
77383         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77384         bits before adding and subtracting TWO23[sx].
77385         * math/libm-test.inc (rint_test): Add more tests.
77386         (rint_test_tonearest): Likewise.
77387         (rint_test_towardzero): Likewise.
77388         (rint_test_downward): Likewise.
77389         (rint_test_upward: Likewise.
77391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77393         [BZ #10110]
77394         * include/stdc-predef.h: New file.  Extracted from features.h.
77395         * include/features.h: Include stdc-predef.h.
77396         * Makefile (headers): Add stdc-predef.h.
77397         * CONFORMANCE (Compiler limitations): Update.
77399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77401         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77403 2012-02-21  David S. Miller  <davem@davemloft.net>
77405         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77406         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77408 2012-02-20  David S. Miller  <davem@davemloft.net>
77410         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77411         using a normal save/restore sequence, rather than allocating a
77412         dummy stack frame just to store a frame pointer and restore.
77413         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77415 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77417         * manual/install.texi: Fix stray word in line-wrapped comment.
77419 2012-02-20  David S. Miller  <davem@davemloft.net>
77421         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77422         both binutils and gcc support GOTDATA.
77424         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77425         "rd %pc" in the PIC register setup sequences.
77427         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77428         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77429         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77430         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77431         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77432         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77433         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77434         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77436         (SYSCALL_ERROR_HANDLER): Likewise.
77437         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77438         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77440         (SYSCALL_ERROR_HANDLER): Likewise.
77442         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77443         (HAVE_GCC_GOTDATA): New.
77444         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77445         relocation support in both binutils and gcc.
77446         * sysdeps/sparc/elf/configure: Regenerate.
77448         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77449         * sysdeps/sparc/sparc32/elf/configure: Delete.
77450         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77451         * sysdeps/sparc/sparc64/elf/configure: Delete.
77452         * sysdeps/sparc/elf/configure.in: New file.
77453         * sysdeps/sparc/elf/configure: Generate.
77455         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77456         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77457         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77458         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77459         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77461 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77463         * manual/install.texi: Do not mention specific glibc version
77464         numbers.
77465         * manual/libc.texinfo (VERSION, UPDATED): Update.
77466         (@copying): Use @copyright{} and range of years.
77468 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77470         [BZ #13695]
77471         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77472         [crti.S not in sysdirs] (generated): Do not append.
77473         [crti.S not in sysdirs] (omit-deps): Likewise.
77474         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77475         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77476         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77477         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77478         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77479         Likewise.
77480         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77481         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77482         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77483         * csu/defs.awk: Remove file.
77484         * sysdeps/generic/initfini.c: Likewise.
77485         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77486         variable.
77487         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77488         Likewise.
77490 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77492         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77493         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77494         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77495         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77496         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77497         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77498         <bits/epoll.h>.
77499         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77500         (__EPOLL_PACKED): Define to empty if not defined by
77501         <bits/epoll.h>.
77502         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77503         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77504         bits/epoll.h.
77506 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77508         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77509         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77510         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77511         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77512         <bits/timerfd.h>.
77513         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77515         bits/timerfd.h.
77517 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77519         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77520         in C locale.
77521         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77522         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77523         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77526 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77528         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77529         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77531 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77533         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77534         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77535         defined.
77536         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77537         Likewise.
77538         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77539         entry for 2.16.
77541 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77543         * math/w_acos.c: Use non-signaling floating-point comparisons.
77544         * math/w_acosf.c: Likewise.
77545         * math/w_acosh.c: Likewise.
77546         * math/w_acoshf.c: Likewise.
77547         * math/w_acoshl.c: Likewise.
77548         * math/w_acosl.c: Likewise.
77549         * math/w_asin.c: Likewise.
77550         * math/w_asinf.c: Likewise.
77551         * math/w_asinl.c: Likewise.
77552         * math/w_atanh.c: Likewise.
77553         * math/w_atanhf.c: Likewise.
77554         * math/w_atanhl.c: Likewise.
77555         * math/w_exp2.c: Likewise.
77556         * math/w_exp2f.c: Likewise.
77557         * math/w_exp2l.c: Likewise.
77558         * math/w_j0.c: Likewise.
77559         * math/w_j0f.c: Likewise.
77560         * math/w_j0l.c: Likewise.
77561         * math/w_j1.c: Likewise.
77562         * math/w_j1f.c: Likewise.
77563         * math/w_j1l.c: Likewise.
77564         * math/w_jn.c: Likewise.
77565         * math/w_jnf.c: Likewise.
77566         * math/w_log.c: Likewise.
77567         * math/w_log10.c: Likewise.
77568         * math/w_log10f.c: Likewise.
77569         * math/w_log10l.c: Likewise.
77570         * math/w_log2.c: Likewise.
77571         * math/w_log2f.c: Likewise.
77572         * math/w_log2l.c: Likewise.
77573         * math/w_logf.c: Likewise.
77574         * math/w_logl.c: Likewise.
77575         * math/w_sqrt.c: Likewise.
77576         * math/w_sqrtf.c: Likewise.
77577         * math/w_sqrtl.c: Likewise.
77578         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77579         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77580         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77581         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77582         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77584 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77586         [BZ #9739]
77587         * manual/string.texi (strnlen): Use correct parameter name in
77588         equivalent expression.
77590 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77592         [BZ #11174]
77593         * manual/users.texi (seteuid): Consistently use neweuid for
77594         argument name.
77596 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77598         [BZ #13704]
77599         * manual/nss.texi (Services in the NSS configuration): Correct
77600         list of services in example configuration file.
77602 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77604         [BZ #11322]
77605         * manual/arith.texi: Remove statements about negative zero
77606         behaving identically to zero.
77608 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77610         [BZ #5993]
77611         * manual/install.texi: Do not document upgrading from libc5.
77613 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77615         [BZ #4596]
77616         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77618 2012-02-18  David S. Miller  <davem@davemloft.net>
77620         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77621         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77622         %o7 across the call.
77623         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77624         instead.
77625         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77626         SETUP_PIC_REG_LEAF.
77627         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77628         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77629         * sysdeps/sparc/crtn.S: Likewise.
77631 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77633         * aout/Makefile: Remove.
77635 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77637         [BZ #13058]
77638         * manual/examples/argp-ex1.c (main): Format definition in GNU
77639         style.
77640         * manual/examples/argp-ex2.c (main): Likewise.
77641         * manual/examples/argp-ex3.c (main): Likewise.
77642         * manual/examples/argp-ex4.c (main): Likewise.
77643         * manual/examples/longopt.c (main): Use new-style prototype
77644         definition.
77645         * manual/examples/strncat.c (main): Specify return type and use
77646         (void) for arguments.
77647         * manual/examples/subopt.c (main): Use char **argv argument.
77649 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77651         [BZ #5077]
77652         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77653         rounding modes.
77655 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77657         [BZ #6907]
77658         * manual/string.texi (strchr): Change when strchrnul is
77659         recommended.
77661 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77663         [BZ #174]
77664         * manual/locale.texi (setlocale): Document LOCPATH.
77666 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77668         [BZ #10210]
77669         * manual/process.texi (execle): Move @dots{} before last argument.
77671 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77673         [BZ #12047]
77674         * manual/charset.texi (Generic Charset Conversion): Fix typo
77675         (LC_TYPE -> LC_CTYPE).
77677 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77679         [BZ #5805]
77680         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77681         (scalbnf): Likewise.
77682         (scalbnl): Likewise.
77683         (scalbln): Likewise.
77684         (scalblnf): Likewise.
77685         (scalblnl): Likewise.
77686         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77687         (vwarnx): Likewise.
77688         (verr): Likewise.
77689         (verrx): Likewise.
77690         * manual/filesys.texi (telldir): Use braces around return type.
77691         * manual/llio.texi (mmap): Add space after comma.
77692         (mmap64): Likewise.
77693         * manual/math.texi (jn): Use @var{} on parameter names.
77694         (jnf): Likewise.
77695         (jnl): Likewise.
77696         (yn): Likewise.
77697         (ynf): Likewise.
77698         (ynl): Likewise.
77699         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77700         line.
77701         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77702         "...".
77703         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77704         (sched_get_priority_max): Likewise.
77705         * manual/signal.texi (sigvec): Add space after comma.
77706         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77707         names.
77708         (if_indextoname): Likewise.
77709         (if_freenameindex): Likewise.
77710         (sendto): Use ',' instead of '.' in prototype.
77711         * manual/startup.texi (syscall): Use @dots{} instead of literal
77712         "...".
77713         * manual/stdio.texi (__fpending): Separate initial words of
77714         paragraph from @deftypefun line.
77715         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77716         "...".
77717         (vsyslog): Use @var{} on parameter names.
77718         * manual/terminal.texi (stty): Use @var{} on parameter names.
77719         * manual/users.texi (getutmp): Use @var{} on parameter names.
77720         (getutmpx): Likewise.
77722 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77724         [BZ #6884]
77725         * manual/stdio.texi (fopen): Fix typos in description of
77726         ",ccs=STRING".
77728 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77730         [BZ #4026]
77731         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77732         get clock_id definition.
77734 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77736         [BZ #4822]
77737         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77738         (madvise): Cast every argument to void on its own.
77740 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77742         [BZ #9902]
77743         * manual/startup.texi (Exit Status): Fix typo.
77745 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77747         [BZ #10140]
77748         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77749         * manual/examples/argp-ex2.c: Likewise.
77750         * manual/examples/argp-ex3.c: Likewise.
77752 2012-02-16  Richard Henderson  <rth@redhat.com>
77754         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77755         * sysdeps/s390/s390-32/initfini.c: Remove.
77756         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77757         * sysdeps/s390/s390-64/initfini.c: Remove.
77759 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77761         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77762         compiler output for sysdeps/generic/initfini.c.
77763         * sysdeps/sh/elf/initfini.c: Remove file.
77765 2012-02-16  David S. Miller  <davem@davemloft.net>
77767         [BZ #11494]
77768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77770         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77771         * sysdeps/sparc/crti.S: New file.
77772         * sysdeps/sparc/crtn.S: New file.
77773         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77774         * sysdeps/sparc/sparc64/Makefile: Likewise.
77776 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77778         [BZ #3335]
77779         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77781 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77783         [BZ #4822]
77784         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77786         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77787         (write, read, close): Likewise.
77788         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77790 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77792         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77793         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77794         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77795         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77796         <bits/signalfd.h>.
77797         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77798         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77799         bits/signalfd.h.
77801 2012-02-14  Marek Polacek  <polacek@redhat.com>
77803         * sysdeps/x86_64/crti.S: New file.
77804         * sysdeps/x86_64/crtn.S: New file.
77805         * sysdeps/x86_64/elf/initfini.c: Remove file.
77807 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77809         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77810         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77811         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77812         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77813         <bits/inotify.h>.
77814         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77815         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77816         bits/inotify.h.
77818 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77820         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77821         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77822         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77823         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77824         <bits/eventfd.h>.
77825         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77827         bits/eventfd.h.
77829 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77831         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77832         __feraiseexcept instead of feraiseexcept.
77834         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77835         nanosleep invocations.
77836         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77837         strings, and add error checking for a nanosleep invocations.
77839 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77841         Replace FSF snail mail address with URLs, as per GNU coding standards.
77842         Most of the snail mail addresses were wrong anyway, and omitting
77843         them makes the source code easier to maintain.  Almost all of the
77844         changes are to license notices and to locale LC_IDENTIFICATION
77845         addresses, except for this one:
77846         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77847         not its snail mail address.
77849 2012-02-09  Richard Henderson  <rth@twiddle.net>
77851         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77852         of kernel-features.h.
77854         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77856 2012-02-08  Marek Polacek  <polacek@redhat.com>
77858         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77859         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77860         * sysdeps/gnu/_G_config.h: Likewise.
77861         * sysdeps/generic/_G_config.h: Likewise.
77863 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77865         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77866         tests.
77867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77869         * sysdeps/powerpc/powerpc32/crti.S: New file.
77870         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77871         * sysdeps/powerpc/powerpc64/crti.S: New file.
77872         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77874         * Makeconfig (have-initfini): Don't set.
77875         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77876         * configure.in (nopic_initfini): Don't substitute.
77877         * config.h.in (HAVE_INITFINI): Don't #undef.
77878         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77879         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77881 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77883         Support crti.S and crtn.S provided directly by architectures.
77884         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77885         [crti.S in sysdirs] (omit-deps): Likewise.
77886         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77887         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77888         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77889         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77890         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77891         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77892         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77893         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77894         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77895         compiler output for sysdeps/generic/initfini.c.
77896         * sysdeps/i386/elf/Makefile: Remove file.
77897         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77899 2012-02-07  Marek Polacek  <polacek@redhat.com>
77901         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77902         * sysdeps/gnu/_G_config.h: Likewise.
77903         * sysdeps/mach/hurd/_G_config.h: Likewise.
77905 2012-02-07  Marek Polacek  <polacek@redhat.com>
77907         * math/Makefile (tests): Add tst-CMPLX2.
77908         * math/tst-CMPLX2.c: New file.
77910 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77912         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77914         * math/libm-test.inc (jn_test): Add missing L suffix.
77916 2012-02-06  Marek Polacek  <polacek@redhat.com>
77918         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77919         * sysdeps/i386/fpu/e_powf.S: Likewise.
77920         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77921         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77922         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77923         * sysdeps/i386/fpu/e_pow.S: Likewise.
77924         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77925         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77926         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77927         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77928         * sysdeps/i386/fpu/e_log2.S: Likewise.
77929         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77930         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77931         * sysdeps/i386/fpu/e_powl.S: Likewise.
77932         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77933         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77934         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77935         * sysdeps/i386/fpu/e_logl.S: Likewise.
77936         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77937         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77938         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77939         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77940         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77941         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77942         * sysdeps/i386/fpu/e_log.S: Likewise.
77943         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77944         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77945         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77946         * sysdeps/i386/fpu/e_logf.S: Likewise.
77947         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77948         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77949         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77950         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77951         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77952         * sysdeps/i386/fpu/e_log10.S: Likewise.
77953         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77954         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77955         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77956         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77957         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77958         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77959         * sysdeps/i386/asm-syntax.h: Likewise.
77960         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77961         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77962         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77963         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77964         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77965         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77966         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77967         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77968         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77969         * sysdeps/powerpc/sysdep.h: Likewise.
77970         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77971         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77973 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77975         [BZ #411]
77976         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77978 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77980         * sysdeps/i386/sysdep.h: Include <features.h>.
77981         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77982         version.
77984 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77986         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77987         Define.
77988         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77989         LOAD_PIC_REG_STR.
77991 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77993         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77994         (SETUP_PIC_REG): Use GET_PC_THUNK.
77995         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77996         macro.
77998 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78000         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78001         for non-PIC compilation.
78002         (SETUP_PIC_REG): Add .p2align directive.
78003         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78004         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78005         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78006         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78007         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78008         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78009         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78010         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78011         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78012         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78013         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78014         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78015         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78016         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78017         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78018         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78019         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78020         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78021         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78022         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78023         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78024         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78025         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78026         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78027         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78028         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78029         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78030         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78031         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78032         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78033         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78034         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78035         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78036         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78037         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78038         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78039         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78040         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78041         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78042         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78043         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78045 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78047         * math/tst-CMPLX.c: Include <stdio.h>.
78049 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78051         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78052         float.
78053         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78054         * sysdeps/sparc/bits/mathdef.h: Likewise.
78056 2012-01-31  Marek Polacek  <polacek@redhat.com>
78058         * libio/libio.h: Don't define _PARAMS.
78059         * locale/programs/config.h: Don't define PARAMS.
78060         * stdlib/strtol_l.c: Likewise.
78061         (__strtol_l): Remove PARAMS from the prototype.
78063 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78065         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78066         names.  Just use the correct names.  Remove unnecessary wrapper
78067         functions.
78068         * malloc/arena.c: Likewise.
78069         * malloc/hooks.c: Likewise.
78071         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78072         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78073         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78075 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78077         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78078         into tail calls.
78079         (update_get_addr): New function.
78080         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78081         GET_ADDR_MODULE parameter.
78083 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78085         * crypt/cert.c: Remove __STDC__ conditionals.
78086         * crypt/crypt-entry.c: Likewise.
78087         * crypt/crypt_util.c: Likewise.
78088         * libio/filedoalloc.c: Likewise.
78089         * libio/fileops.c: Likewise.
78090         * libio/genops.c: Likewise.
78091         * libio/iofclose.c: Likewise.
78092         * libio/iofdopen.c: Likewise.
78093         * libio/iofopen.c: Likewise.
78094         * libio/iofopen64.c: Likewise.
78095         * libio/iogetdelim.c: Likewise.
78096         * libio/iopopen.c: Likewise.
78097         * libio/obprintf.c: Likewise.
78098         * libio/oldfileops.c: Likewise.
78099         * libio/oldiofclose.c: Likewise.
78100         * libio/oldiofdopen.c: Likewise.
78101         * libio/oldiofopen.c: Likewise.
78102         * libio/oldiopopen.c: Likewise.
78103         * libio/wfiledoalloc.c: Likewise.
78104         * libio/wgenops.c: Likewise.
78105         * locale/programs/xmalloc.c: Likewise.
78106         * misc/syslog.c: Likewise.
78107         * stdio-common/xbug.c: Likewise.
78108         * string/memchr.c: Likewise.
78109         * string/memcmp.c: Likewise.
78110         * string/memrchr.c: Likewise.
78111         * string/rawmemchr.c: Likewise.
78112         * sysdeps/posix/getcwd.c: Likewise.
78113         * time/strftime_l.c: Likewise.
78115 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78117         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78118         * config.make.in (config-cflags-sse2avx): Define.
78119         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78120         Fix typo.
78122 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78124         * scripts/config.guess: Update from upstream config git repository.
78125         * scripts/config.sub: Likewise.
78127 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78129         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78130         (EM_NUM): Update.
78131         (R_TILEPRO_*, R_TILEGX_*): New macros.
78133         * scripts/firstversions.awk: Fix bug in version range handling.
78135         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78137         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78139         * include/sys/epoll.h: New file.
78140         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78141         libc_hidden_def.
78143 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78145         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78146         Avoid unnecessary __WORDSIZE == 64 test.
78147         (fmaxf): Use VEX format if possible.
78148         (fmax): Likewise.
78149         (fminf): Likewise.
78150         (fmin): Likewise.
78152         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78153         * math/math_private.h: Remove libc_fegetround* and
78154         libc_fesetround*.
78155         * sysdeps/i386/configure.in: Check for -msse2avx.
78156         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78157         also if SSE2AVX is defined.
78158         Remove libc_fegetround* and libc_fesetround*.
78159         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78160         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78161         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78162         of HAS_YMM_USABLE.
78163         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78164         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78165         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78166         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78167         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78169         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78171 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78173         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78174         size is not set.
78175         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78177 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78179         [BZ #13618]
78180         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78181         relocation.
78182         * Makeconfig (libm): Define.
78183         * elf/Makefile: Add rules to build and run tst-relsort1.
78184         * elf/tst-relsort1.c: New file.
78185         * elf/tst-relsort1mod1.c: New file.
78186         * elf/tst-relsort1mod2.c: New file.
78188 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78190         * math/s_ldexp.c: Remove __STDC__ conditionals.
78191         * math/s_ldexpf.c: Likewise.
78192         * math/s_ldexpl.c: Likewise.
78193         * math/s_nextafter.c: Likewise.
78194         * math/s_nexttowardf.c: Likewise.
78195         * math/s_significand.c: Likewise.
78196         * math/s_significandf.c: Likewise.
78197         * math/s_significandl.c: Likewise.
78198         * math/w_jnl.c: Likewise.
78199         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78200         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78201         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78202         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78203         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78204         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78205         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78206         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78207         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78208         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78209         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78210         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78211         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78212         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78213         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78216         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78217         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78218         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78219         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78220         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78221         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78223         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78224         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78225         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78226         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78227         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78228         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78229         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78230         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78231         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78232         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78233         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78234         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78235         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78236         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78237         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78238         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78239         * sysdeps/ieee754/k_standard.c: Likewise.
78240         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78241         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78242         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78243         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78244         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78245         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78246         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78247         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78248         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78249         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78250         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78251         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78252         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78253         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78254         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78255         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78256         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78257         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78258         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78259         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78260         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78261         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78262         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78263         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78264         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78265         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78269         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78270         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78271         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78272         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78273         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78274         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78275         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78276         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78277         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78278         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78279         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78280         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78282         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78283         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78284         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78285         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78286         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78287         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78288         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78289         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78290         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78291         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78292         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78293         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78294         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78295         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78296         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78297         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78299         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78300         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78301         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78302         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78303         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78304         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78305         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78306         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78307         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78308         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78309         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78310         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78311         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78312         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78313         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78314         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78315         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78316         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78317         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78318         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78319         * sysdeps/ieee754/s_matherr.c: Likewise.
78320         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78321         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78325 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78327         * crypt/md5.h: Remove __STDC__ conditionals.
78328         * libio/libioP.h: Likewise.
78329         * locale/programs/config.h: Likewise.
78330         * sysdeps/generic/sysdep.h: Likewise.
78331         * sysdeps/i386/asm-syntax.h: Likewise.
78332         * sysdeps/s390/asm-syntax.h: Likewise.
78333         * sysdeps/unix/sysdep.h: Likewise.
78334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78337 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78339         * libio/libio.h: Remove __STDC__ conditionals.
78340         * malloc/obstack.h: Likewise.
78341         * math/complex.h: Likewise.
78342         * math/math.h: Likewise.
78343         * sysdeps/generic/_G_config.h: Likewise.
78344         * sysdeps/gnu/_G_config.h: Likewise.
78345         * sysdeps/mach/hurd/_G_config.h: Likewise.
78346         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78347         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78348         * sysdeps/sparc/bits/mathdef.h: Likewise.
78350 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78352         [BZ #13583]
78353         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78354         Clean up HAS_* macros.
78355         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78356         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78357         possible.
78358         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78359         HAS_AVX.
78360         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78361         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78362         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78363         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78364         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78366 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78368         * elf/tst-unique3.cc (gets): Remove declaration.
78369         * elf/tst-unique3lib.cc (gets): Likewise.
78370         * elf/tst-unique3lib2.cc (gets): Likewise.
78371         * elf/tst-unique4.cc (gets): Likewise.
78373 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78375         * include/stdio.h: Add C++ protection.  Add gets declarations and
78376         definitions.
78377         * debug/tst-chk1.c: Don't declare gets here.
78378         * stdio-common/tst-gets.c: Likewise.
78380 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78382         * posix/glob: Remove directory.
78384 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78386         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78388 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78390         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78391         of the non-standard EPFNOSUPPORT.
78393 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78395         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78396         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78397         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78399 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78401         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78403 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78405         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78406         transient errors.
78407         * nscd/grpcache.c (cache_addgr): Likewise.
78408         * nscd/hstcache.c (cache_addhst): Likewise.
78409         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78410         * nscd/pwdcache.c (cache_addpw): Likewise.
78411         * nscd/servicescache.c (cache_addserv): Likewise.
78413 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78415         * malloc/malloc.c: Various cleanups.
78416         * malloc/hooks.c: Likewise.
78418         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78419         * stdlib/bug-fmtmsg1.c: New file.
78421         * stdlib/fmtmsg.c (init): Add missing unlock.
78422         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78424 2012-01-12  Marek Polacek  <polacek@redhat.com>
78426         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78427         and _GNU_SOURCE.
78429 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78431         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78432         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78433         macro to ensure uniqueness of label name.
78434         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78435         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78437 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78439         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78441         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78442         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78443         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78444         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78446 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78448         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78450         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78451         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78452         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78454         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78456         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78457         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78458         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78459         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78461         * math/bits/math-finite.h: Add ldexp support.
78463 2012-01-10  Marek Polacek  <polacek@redhat.com>
78465         * locale/programs/localedef.h (show_archive_content): Add noreturn
78466         attribute.
78468 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78470         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78472 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78474         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78476         * io/Makefile (headers): Add bits/poll2.h.
78478 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78481         typo #include statement.
78483 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78485         * include/sys/cdefs.h: Define __attribute_alloc_size.
78486         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78487         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78488         * elf/pldd.c: Likewise.
78489         * iconv/iconv_charmap.c: Likewise.
78490         * iconv/iconvconfig.c: Likewise.
78491         * iconv/strtab.c: Likewise.
78492         * locale/programs/locale.c: Likewise.
78493         * locale/programs/localedef.h: Likewise.
78494         * locale/programs/simple-hash.c: Likewise.
78495         * nscd/nscd.h: Likewise.
78496         * nss/makedb.c: Likewise.
78497         * sysdeps/generic/ldconfig.h: Likewise.
78498         * locale/programs/localedef.c: Remove xmalloc prototype.
78499         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78501 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78504         appropriate.
78506 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78508         * math/Makefile (tests): Add tst-CMPLX.
78509         * math/tst-CMPLX.c: New file.
78511         * math/complex.h (CMPLXL): Fix typo.
78513         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78514         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78515         GLIBC_2.16.
78516         * debug/tst-chk1.c: Add poll and ppoll tests.
78517         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78518         * include/sys/poll.h: Add hidden proto for ppoll.
78519         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78520         * sysdeps/mach/hurd/ppoll.c: Likewise.
78521         * io/ppoll.c: Likewise.
78522         * debug/poll_chk.c: New file.
78523         * debug/ppoll_chk.c: New file.
78524         * include/bits/poll2.h: New file.
78525         * io/bits/poll2.h: New file.
78527         [BZ #1350]
78528         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78530         * configure.in: static is always set to yes.  Remove.
78531         * config.make.in: Don't set build-static.
78532         * Makeconfig: Remove use of build-static.
78533         * dlfcn/Makefile: Likewise.
78534         * elf/Makefile: Likewise.
78535         * math/Makefile: Likewise.
78536         * misc/Makefile: Likewise.
78537         * nptl/Makefile: Likewise.
78538         * sysdeps/mach/hurd/Makefile: Likewise.
78540         * configure.in: PWD_P is not used anymore.
78541         * config.make.in: Remove PWD_P entry.
78543         * configure.in: Remove last remnants of RANLIB.
78544         No need to check for signed size_t anymore.
78545         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78546         and IA-64.
78547         Remove __builtin_expect test because we require at least gcc 3.4.
78548         * aclocal.m4: Likewise.
78550         * wcsmbs/mbrtoc16.c: Implement using towc function.
78551         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78552         * wcsmbs/wcsmbsload.c: Likewise.
78553         * iconv/gconv_simple.c: Likewise.
78554         * iconv/gconv_int.h: Likewise.
78555         * iconv/gconv_builtin.h: Likewise.
78556         * iconv/iconv_prog.c: Remove CHAR16 handling.
78558         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78560         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78562         * configure.in: Remove --with-elf and --enable-bounded options.
78563         Dont set base_machine for ia64.  More non-ELF conditions removed.
78564         Remove testing and setting of leading underscore information.
78565         * config.make.in (build-bounded): Set to no.
78566         * config.h.in: Remove NO_UNDERSCORES entry.
78567         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78568         them.
78569         * csu/start.c: Remove !NO_UNDERSCORE code.
78570         * locale/localeinfo.h: Likewise.
78571         * sysdeps/generic/machine-gmon.h: Likewise.
78572         * sysdeps/generic/sysdep.h: Likewise.
78573         * sysdeps/i386/sysdep.h: Likewise.
78574         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78575         * sysdeps/mach/sysdep.h: Likewise.
78576         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78577         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78578         * sysdeps/sh/sysdep.h: Likewise.
78579         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78580         * sysdeps/unix/i386/sysdep.S: Likewise.
78581         * sysdeps/unix/sparc/start.c: Likewise.
78582         * sysdeps/unix/sparc/sysdep.S: Likewise.
78583         * sysdeps/unix/sparc/sysdep.h: Likewise.
78584         * sysdeps/unix/start.c: Likewise.
78585         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78586         * sysdeps/x86_64/sysdep.h: Likewise.
78588 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78590         [BZ #13553]
78591         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78592         for non-gcc.
78593         * argp/argp-fmtstream.h: Use const instead __const.
78594         * argp/argp.h: Likewise.
78595         * assert/assert.h: Likewise.
78596         * bits/fenv.h: Likewise.
78597         * bits/sched.h: Likewise.
78598         * bits/sigset.h: Likewise.
78599         * bits/sigthread.h: Likewise.
78600         * catgets/nl_types.h: Likewise.
78601         * conform/data/pthread.h-data: Likewise.
78602         * crypt/crypt-private.h: Likewise.
78603         * crypt/crypt.h: Likewise.
78604         * crypt/crypt_util.c: Likewise.
78605         * ctype/ctype.h: Likewise.
78606         * debug/execinfo.h: Likewise.
78607         * debug/mbsnrtowcs_chk.c: Likewise.
78608         * debug/mbsrtowcs_chk.c: Likewise.
78609         * debug/wcsnrtombs_chk.c: Likewise.
78610         * debug/wcsrtombs_chk.c: Likewise.
78611         * debug/wcstombs_chk.c: Likewise.
78612         * dirent/dirent.h: Likewise.
78613         * dlfcn/dlfcn.h: Likewise.
78614         * elf/neededtest4.c: Likewise.
78615         * grp/grp.h: Likewise.
78616         * gshadow/gshadow.h: Likewise.
78617         * iconv/gconv.h: Likewise.
78618         * iconv/gconv_int.h: Likewise.
78619         * iconv/gconv_simple.c: Likewise.
78620         * iconv/iconv.h: Likewise.
78621         * iconv/loop.c: Likewise.
78622         * iconv/skeleton.c: Likewise.
78623         * include/aio.h: Likewise.
78624         * include/aliases.h: Likewise.
78625         * include/argz.h: Likewise.
78626         * include/arpa/inet.h: Likewise.
78627         * include/assert.h: Likewise.
78628         * include/dirent.h: Likewise.
78629         * include/dlfcn.h: Likewise.
78630         * include/execinfo.h: Likewise.
78631         * include/fcntl.h: Likewise.
78632         * include/fenv.h: Likewise.
78633         * include/glob.h: Likewise.
78634         * include/grp.h: Likewise.
78635         * include/libintl.h: Likewise.
78636         * include/mntent.h: Likewise.
78637         * include/netdb.h: Likewise.
78638         * include/pwd.h: Likewise.
78639         * include/rpc/netdb.h: Likewise.
78640         * include/sched.h: Likewise.
78641         * include/search.h: Likewise.
78642         * include/shadow.h: Likewise.
78643         * include/signal.h: Likewise.
78644         * include/stdio.h: Likewise.
78645         * include/stdlib.h: Likewise.
78646         * include/string.h: Likewise.
78647         * include/sys/socket.h: Likewise.
78648         * include/sys/stat.h: Likewise.
78649         * include/sys/statfs.h: Likewise.
78650         * include/sys/statvfs.h: Likewise.
78651         * include/sys/syslog.h: Likewise.
78652         * include/sys/time.h: Likewise.
78653         * include/sys/uio.h: Likewise.
78654         * include/time.h: Likewise.
78655         * include/unistd.h: Likewise.
78656         * include/utmp.h: Likewise.
78657         * include/wchar.h: Likewise.
78658         * include/wctype.h: Likewise.
78659         * inet/aliases.h: Likewise.
78660         * inet/arpa/inet.h: Likewise.
78661         * inet/netinet/ether.h: Likewise.
78662         * inet/netinet/in.h: Likewise.
78663         * intl/libintl.h: Likewise.
78664         * io/bits/fcntl2.h: Likewise.
78665         * io/fcntl.h: Likewise.
78666         * io/ftw.h: Likewise.
78667         * io/sys/poll.h: Likewise.
78668         * io/sys/stat.h: Likewise.
78669         * io/sys/statfs.h: Likewise.
78670         * io/sys/statvfs.h: Likewise.
78671         * io/utime.h: Likewise.
78672         * libio/bits/stdio.h: Likewise.
78673         * libio/bits/stdio2.h: Likewise.
78674         * libio/libio.h: Likewise.
78675         * libio/libioP.h: Likewise.
78676         * libio/stdio.h: Likewise.
78677         * locale/lc-ctype.c: Likewise.
78678         * locale/locale.h: Likewise.
78679         * login/utmp.h: Likewise.
78680         * malloc/arena.c: Likewise.
78681         * malloc/malloc.c: Likewise.
78682         * malloc/malloc.h: Likewise.
78683         * malloc/mcheck.c: Likewise.
78684         * malloc/mtrace.c: Likewise.
78685         * math/bits/mathcalls.h: Likewise.
78686         * math/fenv.h: Likewise.
78687         * math/math_private.h: Likewise.
78688         * misc/bits/error.h: Likewise.
78689         * misc/bits/syslog.h: Likewise.
78690         * misc/err.h: Likewise.
78691         * misc/error.h: Likewise.
78692         * misc/fstab.h: Likewise.
78693         * misc/mntent.h: Likewise.
78694         * misc/regexp.h: Likewise.
78695         * misc/search.h: Likewise.
78696         * misc/sgtty.h: Likewise.
78697         * misc/sys/mman.h: Likewise.
78698         * misc/sys/syslog.h: Likewise.
78699         * misc/sys/uio.h: Likewise.
78700         * misc/sys/xattr.h: Likewise.
78701         * misc/ttyent.h: Likewise.
78702         * nis/rpcsvc/ypclnt.h: Likewise.
78703         * nss/nss.h: Likewise.
78704         * posix/bits/unistd.h: Likewise.
78705         * posix/fnmatch.h: Likewise.
78706         * posix/glob.h: Likewise.
78707         * posix/sched.h: Likewise.
78708         * posix/spawn.h: Likewise.
78709         * posix/sys/wait.h: Likewise.
78710         * posix/unistd.h: Likewise.
78711         * posix/wordexp.h: Likewise.
78712         * pwd/pwd.h: Likewise.
78713         * resolv/netdb.h: Likewise.
78714         * resource/sys/resource.h: Likewise.
78715         * rt/aio.h: Likewise.
78716         * rt/bits/mqueue2.h: Likewise.
78717         * rt/mqueue.h: Likewise.
78718         * shadow/shadow.h: Likewise.
78719         * signal/signal.h: Likewise.
78720         * socket/send.c: Likewise.
78721         * socket/sendto.c: Likewise.
78722         * socket/sys/socket.h: Likewise.
78723         * stdio-common/printf.h: Likewise.
78724         * stdlib/bits/stdlib.h: Likewise.
78725         * stdlib/fmtmsg.h: Likewise.
78726         * stdlib/monetary.h: Likewise.
78727         * stdlib/stdlib.h: Likewise.
78728         * stdlib/ucontext.h: Likewise.
78729         * streams/stropts.h: Likewise.
78730         * string/argz.h: Likewise.
78731         * string/bits/string2.h: Likewise.
78732         * string/string.h: Likewise.
78733         * string/strings.h: Likewise.
78734         * sunrpc/rpc/auth.h: Likewise.
78735         * sunrpc/rpc/auth_des.h: Likewise.
78736         * sunrpc/rpc/clnt.h: Likewise.
78737         * sunrpc/rpc/netdb.h: Likewise.
78738         * sunrpc/rpc/pmap_clnt.h: Likewise.
78739         * sunrpc/rpc/xdr.h: Likewise.
78740         * sysdeps/generic/inttypes.h: Likewise.
78741         * sysdeps/generic/net/if.h: Likewise.
78742         * sysdeps/generic/sys/swap.h: Likewise.
78743         * sysdeps/gnu/net/if.h: Likewise.
78744         * sysdeps/gnu/utmpx.h: Likewise.
78745         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78746         * sysdeps/i386/i486/bits/string.h: Likewise.
78747         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78748         * sysdeps/s390/bits/string.h: Likewise.
78749         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78750         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78751         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78752         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78753         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78754         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78755         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78756         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78757         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78758         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78759         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78760         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78761         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78762         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78763         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78764         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78765         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78766         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78767         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78768         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78769         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78770         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78771         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78772         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78773         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78774         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78775         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78776         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78777         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78778         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78779         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78780         * sysvipc/sys/ipc.h: Likewise.
78781         * sysvipc/sys/msg.h: Likewise.
78782         * sysvipc/sys/sem.h: Likewise.
78783         * sysvipc/sys/shm.h: Likewise.
78784         * termios/termios.h: Likewise.
78785         * time/sys/time.h: Likewise.
78786         * time/time.h: Likewise.
78787         * wcsmbs/bits/wchar2.h: Likewise.
78788         * wcsmbs/uchar.h: Likewise.
78789         * wcsmbs/wchar.h: Likewise.
78790         * wctype/wctype.h: Likewise.
78792         [BZ #13551]
78793         * Makeconfig: Remove all but ELF support including AIX support.
78794         * Makerules: Likewise.
78795         * config.h.in: Likewise.
78796         * config.make.in: Likewise.
78797         * configure: Likewise.
78798         * configure.in: Likewise.
78799         * csu/Makefile: Likewise.
78800         * csu/version.c: Likewise.
78801         * debug/Makefile: Likewise.
78802         * dlfcn/Makefile: Likewise.
78803         * elf/Makefile: Likewise.
78804         * extra-lib.mk: Likewise.
78805         * iconv/Makefile: Likewise.
78806         * include/libc-symbols.h: Likewise.
78807         * include/shlib-compat.h: Likewise.
78808         * resolv/Makefile: Likewise.
78809         * resolv/res_libc.c: Likewise.
78810         * rt/Makefile: Likewise.
78811         * sysdeps/i386/asm-syntax.h: Likewise.
78812         * sysdeps/i386/sysdep.h: Likewise.
78813         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78814         * sysdeps/mach/sysdep.h: Likewise.
78815         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78816         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78817         * sysdeps/s390/asm-syntax.h: Likewise.
78818         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78819         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78820         * sysdeps/sh/sysdep.h: Likewise.
78821         * sysdeps/unix/sparc/sysdep.h: Likewise.
78822         * sysdeps/wordsize-32/divdi3.c: Likewise.
78823         * sysdeps/x86_64/sysdep.h: Likewise.
78825         * argp/Versions: Remove _argp_unlock_xxx.
78827         [BZ #13559]
78828         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78829         * abilist/libBrokenLocale.abilist: Likewise.
78830         * abilist/libanl.abilist: Likewise.
78831         * abilist/libc.abilist: Likewise.
78832         * abilist/libcrypt.abilist: Likewise.
78833         * abilist/libdl.abilist: Likewise.
78834         * abilist/libm.abilist: Likewise.
78835         * abilist/libnsl.abilist: Likewise.
78836         * abilist/libpthread.abilist: Likewise.
78837         * abilist/libresolv.abilist: Likewise.
78838         * abilist/librt.abilist: Likewise.
78839         * abilist/libthread_db.abilist: Likewise.
78840         * abilist/libutil.abilist: Likewise.
78841         * abilist/libnss_db.abilist: New file.
78843         * scripts/abilist.awk: Add support for indirect functions.
78845         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78847         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78849         * shlib-versions: Remove entries for ports architectures.
78851         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78852         files in ports.
78853         * elf/stackguard-macros.h: Remove support for IA-64.
78854         * elf/tst-auditmod1.c: Likewise.
78855         * sysdeps/generic/ldsodefs.h: Likewise.
78857         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78858         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78859         configure files.
78861         [BZ #13552]
78862         * configure.in: Remove --enable-omitfp support.
78863         * FAQ.in: Adjust.
78864         * config.make.in: Likewise.
78865         * Makeconfig: Likewise.
78866         * manual/install.texi: Likewise.
78868         In case anyone cares, the IA-64 architecture could move to ports.
78869         * sysdeps/ia64/*: Removed.
78870         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78871         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78873         [BZ #13555]
78874         * configure.in: Remove entries for unsupported architectures.
78876         [BZ #13533]
78877         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78878         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78879         routines.
78880         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78881         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78882         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78883         fall back to using wcrtomb.
78884         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78885         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78886         renaming.
78887         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78888         * wcsmbs/tst-c16c32-1.c: New file.
78890         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78891         local variable.
78893         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78895         * elf/tst-unique3.cc: Add explicit declaration of gets.
78896         * elf/tst-unique3lib.cc: Likewise.
78897         * elf/tst-unique3lib2.cc: Likewise.
78898         * elf/tst-unique4.cc: Likewise.
78900         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78902 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78904         [BZ #13566]
78905         * assert/assert.h (static_assert): Don't define for C++.
78906         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78907         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78909 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78911         * iconv/loop.c (single loop): Fix assertion in storing of
78912         remaining bytes.
78914         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78916 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78918         * posix/getconf.c: Update copyright year.
78919         * nss/getent.c: Likewise.
78920         * nss/makedb.c: Likewise.
78921         * iconv/iconvconfig.c: Likewise.
78922         * iconv/iconv_prog.c: Likewise.
78923         * elf/ldconfig.c: Likewise.
78924         * elf/pldd.c: Likewise.
78925         * elf/sotruss.ksh: Likewise.
78926         * catgets/gencat.c: Likewise.
78927         * csu/version.c: Likewise.
78928         * elf/ldd.bash.in: Likewise.
78929         * elf/sprof.c (print_version): Likewise.
78930         * locale/programs/locale.c: Likewise.
78931         * locale/programs/localedef.c: Likewise.
78932         * login/programs/pt_chown.c: Likewise.
78933         * nscd/nscd.c (print_version): Likewise.
78934         * debug/xtrace.sh: Likewise.
78935         * malloc/memusage.sh: Likewise.
78936         * malloc/mtrace.pl: Likewise.
78937         * debug/catchsegv.sh: Likewise.
78939 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78941         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78942         pure attribute.
78944 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78946         [BZ #13533]
78947         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78948         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78949         transformations.
78950         * iconv/gconv_int.h: Likewise.
78951         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78952         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78953         from libc for GLIBC_2.16.
78954         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78955         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78956         * wcsmbs/uchar.h: Really define mbstate_t.
78957         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78958         * wcsmbs/c16rtomb.c: New file.
78959         * wcsmbs/mbrtoc16.c: New file.
78960         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78961         for C/POSIX locale.
78962         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78963         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78965         * wcsmbs/wchar.h: Add missing __restrict.
78967 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78969         [BZ #13532]
78970         * time/Makefile (routines): Add timespec_get.
78971         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78972         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78973         timespec for ISO C11.
78974         * time/timespec_get.c: New file.
78975         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78976         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78978         [BZ #13531]
78979         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78980         * stdlib/stdlib.h: Declare aligned_alloc.
78981         * Versions.def: Add GLIBC_2.16 for libc.
78982         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78984         [BZ 13527]
78985         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78986         ISO C11.
78988         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78989         code.
78991         [BZ #13528]
78992         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78994         [BZ #13529]
78995         * assert/assert.h (static_assert): Define.
78997         * version.h: Update for 2.16 development version.
78999         [BZ #13526]
79000         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79001         _ISOC11_SOURCE.
79003         * version.h (RELEASE): Bump for 2.15 release.
79004         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79006         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79007         Patch by Marek Polacek <mpolacek@redhat.com>.
79009         * bits/byteswap.h: Protect long long constants with __extension__.
79010         * sysdeps/i386/bits/byteswap.h: Likewise.
79011         * sysdeps/ia64/bits/byteswap.h: Likewise.
79012         * sysdeps/s390/bits/byteswap.h: Likewise.
79013         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79015 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79017         [BZ #13540]
79018         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79019         destination buffer.
79020         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79022 2011-12-23  Marek Polacek  <polacek@redhat.com>
79024         * elf/dl-addr.c (determine_info): Add inline keyword.
79025         * elf/tst-auditmod4b.c (check_avx): Likewise.
79026         * elf/tst-auditmod6b.c (check_avx): Likewise.
79027         * elf/tst-auditmod6c.c (check_avx): Likewise.
79028         * elf/tst-auditmod7b.c (check_avx): Likewise.
79030 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79032         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79033         !__SSE_MATH__.
79035 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79037         [BZ #13540]
79038         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79039         processing for last bytes.
79041 2011-08-06  Bruno Haible  <bruno@clisp.org>
79043         [BZ #13061]
79044         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79045         U+0385, not to U+1FEE.
79047         [BZ #13062]
79048         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79049         entry for U+00A5 U+0301.
79051 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79053         [BZ #13166]
79054         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79055         buffer for the output is too small.
79057         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79058         optimization.
79060         [BZ #13185]
79061         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79062         SSE flags if possible.
79064 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79066         [BZ #13540]
79067         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79068         processing for last bytes.
79070 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79072         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79073         (syscall-list-default-options, syscall-list-default-condition)
79074         (syscall-list-includes): Define.
79075         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79076         list of ABIs and options and #if conditions for each ABI.  Do not
79077         handle common syscalls between ABIs specially.
79078         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79079         Remove.
79080         (syscall-list-variants, syscall-list-32bit-options)
79081         (syscall-list-32bit-condition, syscall-list-64bit-options)
79082         (syscall-list-64bit-condition): Define.
79083         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79084         (syscall-list-variants, syscall-list-32bit-options)
79085         (syscall-list-32bit-condition, syscall-list-64bit-options)
79086         (syscall-list-64bit-condition): Define.
79087         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79088         Remove.
79089         (syscall-list-variants, syscall-list-32bit-options)
79090         (syscall-list-32bit-condition, syscall-list-64bit-options)
79091         (syscall-list-64bit-condition): Define.
79092         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79093         Remove.
79094         (syscall-list-variants, syscall-list-32bit-options)
79095         (syscall-list-32bit-condition, syscall-list-64bit-options)
79096         (syscall-list-64bit-condition): Define.
79098 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79100         * locale/iso-639.def: Add brx entry.
79102         [BZ #13328]
79103         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79104         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79106         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79107         __feraiseexcept_renamed.
79109 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79111         [BZ #13538]
79112         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79113         EPOLLET with unsigned values.
79114         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79115         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79117         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79118         to large cancellation.
79119         * math/s_cacoshf.c: Likewise.
79120         * math/s_cacoshl.c: Likewise.
79122 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79124         [BZ #13305]
79125         [BZ #12786]
79126         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79127         * math/s_cacoshf.c: Likewise.
79128         * math/s_cacoshl.c: Likewise.
79130 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79132         [BZ #13439]
79133         * iconv/gconv.h: Define __GCONV_SWAP.
79134         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79135         * iconvdata/utf-16.c: Likewise.
79136         * iconvdata/utf-32.c: Likewise.
79138 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79140         [BZ #13524]
79141         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79142         numerator after shifting it by one limb.
79144 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79146         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79147         under [__USE_EXTERN_INLINES].
79149 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79151         [BZ #13446]
79152         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79154 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79156         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79157         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79158         optimized code.
79159         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79160         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79161         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79162         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79163         for strncasecmp/strncasecmp_l compilation.
79164         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79165         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79167 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79169         [BZ #13484]
79170         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79171         of __asm__.
79173 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79175         [BZ #13506]
79176         * time/tzfile.c (__tzfile_read): Check values from file header.
79178 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79180         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79181         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79182         * powerpc/powerpc32/dl-start.S: Likewise.
79183         * powerpc/powerpc32/elf/start.S: Likewise.
79184         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79185         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79186         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79187         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79188         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79189         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79190         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79191         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79192         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79193         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79194         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79195         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79196         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79197         * powerpc/powerpc32/memset.S: Likewise.
79198         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79199         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79200         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79201         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79202         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79203         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79204         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79205         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79206         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79207         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79208         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79209         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79210         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79212 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79214         * math/libm-test.inc: Added more nearbyint tests.
79215         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79220 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79222         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79223         FD_CLOEXEC.
79225 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79227         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79228         Add wcscpy-ssse3 wcscpy-c.
79229         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79230         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79231         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79232         * sysdeps/x86_64/wcschr.S: New file.
79233         * sysdeps/x86_64/wcsrchr.S: New file.
79234         * string/test-strcmp.c: Remove checking of wcscmp function for
79235         wrong alignments.
79236         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79237         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79238         wcsrchr-sse2 wcsrchr-c.
79239         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79240         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79241         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79242         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79243         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79244         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79245         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79246         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79247         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79248         * wcsmbc/wcschr.c (WCSCHR): New macro.
79250 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79252         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79253         * wcsmbs/test-wcsrchr.c: New file.
79254         * string/test-strrchr.c: Add wcsrchr support.
79255         (WIDE): New macro.
79256         * wcsmbs/test-wcscpy.c: New file.
79257         * string/test-strcpy.c: Add wcscpy support.
79258         (WIDE): New macro.
79260 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79262         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79263         the inner loop.
79265 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79267         [BZ #13472]
79268         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79270 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79272         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79273         Minor optimizations.
79275         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79276         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79277         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79279 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79281         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79282         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79283         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79284         for gcc to avoid warnings.
79285         * inet/Makefile (tests): Add tst-checks.
79286         * inet/tst-checks.c: New file.
79288         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79289         warning.
79291         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79292         __wmemcmp_sse2.
79294         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79295         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79297         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79299 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79301         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79302         problem.
79304         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79306 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79308         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79309         conditional on GCC version.
79310         (__arch_compare_and_exchange_val_8_acq)
79311         (__arch_compare_and_exchange_val_16_acq)
79312         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79313         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79314         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79316 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79318         * sysdeps/sh/backtrace.c: New file.
79320 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79322         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79323         parenthesis.
79325 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79327         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79328         falling back to utime.
79330 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79332         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79333         expectations for float.
79335 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79337         * locale/weight.h (findidx): Add parameter len.
79338         * locale/weightwc.h (findidx): Likewise.
79339         * posix/fnmatch_loop.c (FCT): Adjust caller.
79340         * posix/regcomp.c (build_equiv_class): Likewise.
79341         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79342         * posix/regexec.c (check_node_accept_bytes): Likewise.
79343         * string/strcoll_l.c (STRCOLL): Likewise.
79344         * string/strxfrm_l.c (STRXFRM): Likewise.
79346 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79348         * Makefile.in: Remove CVSOPT handling.
79349         * configure.in: Remove use of AC_REVISION.
79350         * iconvdata/Makefile (distribute): No need to filter out CVS.
79351         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79352         handling.
79354 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79357         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79358         [USE_AS_STRNCASECMP_L]: Likewise.
79359         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79360         NO_TLS_DIRECT_SEG_REFS.
79361         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79362         Fix argument offsets for non-PIC.
79363         [USE_AS_STRNCASECMP_L]: Likewise.
79364         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79365         NO_TLS_DIRECT_SEG_REFS.
79367 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79369         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79370         O_CLOEXEC.
79371         * locale/loadlocale.c (_nl_load_locale): Likewise.
79373 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79375         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79376         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79377         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79378         (SYSCALL_GETTIME): Set errno on error.
79380         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79381         count references to noai6ai_cached.
79383 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79385         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79387         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79388         FD_CLOEXEC for /proc/self/maps.
79390         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79391         FD_CLOEXEC for /proc/meminfo.
79393         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79394         gai.conf.
79396         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79397         FD_CLOEXEC for given file.
79399         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79401         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79402         FD_CLOEXEC for /etc/hosts.
79403         (_gethtent): Likewise.
79405         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79407         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79408         cancellation and set FD_CLOEXEC for /etc/netgroup.
79410         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79411         reading /etc/publickey.
79413         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79414         allow cancellation when reading /etc/group.
79416         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79417         cancellation.
79418         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79420         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79421         when using data file.
79423         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79425         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79426         (write_nis_obj): Use "c" and "e" in fopen.
79428         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79430         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79432         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79434         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79436         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79437         locale.alias.
79439         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79441         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79443         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79445         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79446         file parsing and set FD_CLOEXEC.
79448 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79450         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79452 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79454         * malloc/arena.c (arena_get2): Don't call reused_arena when
79455         _int_new_arena failed.
79457 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79459         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79460         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79461         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79462         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79463         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79464         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79465         to compile strcasecmp and strncasecmp.
79466         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79467         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79469         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79471 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79473         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79474         locale-defines.sym to gen-as-const-headers.
79475         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79476         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79478         to compile strcasecmp and strncasecmp.
79479         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79480         strcasecmp_l and strncasecmp_l.
79481         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79482         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79483         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79484         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79485         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79486         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79487         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79488         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79489         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79490         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79491         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79493 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79495         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79496         result of SYSDEP_GETTIME_CPU to retval.
79497         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79498         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79500         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79501         variable.
79503         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79504         mantissa words.
79505         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79507         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79508         from unused variable.
79510         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79511         DWARF definitions.
79512         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79513         for assembling.
79515         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79516         over namespaces.
79518         * sunrpc/rpc_prot.c (rejected): Fix case value.
79520         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79521         unsigned long long int to avoid warnings in shift.
79523         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79524         of use of trans.
79525         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79526         variable tmp.
79528         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79529         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79530         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79532         * nis/nis_table.c (nis_list): Use variable of correct type for
79533         result of __follow_path call.
79535 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79537         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79538         of math functions ceil, trunc, floor, round, and sqrt, when
79539         avaliable on the platform.
79540         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79541         name clash.
79542         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79543         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79544         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79546 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79548         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79549         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79551 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79553         * include/unistd.h: Fix __readlink return type.
79554         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79556 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79558         * stdlib/ucontext.h: Undo last change for makecontext.
79560 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79562         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79564         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79565         * setjmp/setjmp.h: Mark functions as non-leaf.
79566         * setjmp/bits/setjmp2.h: Likewise.
79567         * stdlib/ucontext.h: Likewise.
79569 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79571         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79572         (reused_arena): Don't check arena limit.
79573         (arena_get2): Atomically check arena limit.
79575 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79577         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79578         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79580         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79581         instructions.
79583 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79585         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79586         handler when locking.
79588         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79589         Fix size of allocated buffer.
79591 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79593         [BZ #10103]
79594         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79595         declarations for long double functions.
79596         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79598         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79600 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79602         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79603         installed.
79605         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79606         is disabled.
79608 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79610         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79612 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79614         * include/alloca.h (stackinfo_alloca_round): Define.
79615         (extend_alloca): Use it.
79616         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79617         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79618         here.
79620         * scripts/check-local-headers.sh: Ignore libaudit.h.
79622         * nscd/Makefile (extra-objs): Make recursively expanded.
79624 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79626         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79627         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79629         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79630         * posix/tst-rfc3484-2.c: Likewise.
79631         * posix/tst-rfc3484-3.c: Likewise.
79633         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79634         process_vm_writev.
79635         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79636         process_vm_writev.
79637         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79638         process_vm_writev from libc using GLIBC_2.15 version.
79640         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79642 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79644         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79645         stack usage.
79647 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79649         [BZ #13367]
79650         * nss/getent.c (initgroups_keys): Show error message in case no group
79651         names are given.
79653         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79654         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79655         __bump_nl_timestamp.
79656         * nscd/connections (nscd_init): When host database is served open
79657         netlink socket and request notification about configuration changes.
79658         (main_loop_poll): Track netlink file descriptor and bump timestamp
79659         in case data becomes available.
79660         (main_loop_epoll): Likewise.
79661         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79662         (database_pers_head): Add extra_data fileds.
79663         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79664         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79665         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79666         Adjust caller.
79667         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79668         in6ai data, call __free_in6ai.
79669         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79670         Add -DHAVE_NETLINK.
79671         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79672         interface information.  Reuse previous data if netlink timestamp
79673         is not changed.
79674         (__bump_nl_timestamp): New function.
79675         (__free_in6ai): New function.
79677 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79679         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79680         close_not_cancel_no_status here.
79681         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79683 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79685         [BZ #13276]
79686         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79687         return value.
79689         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79690         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79691         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79693 2011-07-03  Andreas Jaeger  <aj@suse.de>
79695         [BZ #10709]
79696         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79697         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79698         * math/libm-test.inc (sin_test): Add test case.
79700 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79702         [BZ #13337]
79703         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79704         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79706         * elf/chroot_canon.c (chroot_canon): Cleanups.
79708         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79710         [BZ #13335]
79711         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79712         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79714         * string/test-strchr.c: Make usable for strchrnul testing.
79715         * string/test-strchrnul.c: New file.
79716         * string/Makefile (strop-tests): Add strchrnul.
79718         * po/it.po: Update from translation team.
79719         * po/es.po: Likewise.
79721 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79723         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79724         the three constants needed as parameters.  Drop the others.
79725         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79726         __m128i_strloadu_tolower.
79727         Create and initialize variable zero and use it in all the places
79728         where _mm_setzero_si128 was used.
79730         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79731         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79732         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79733         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79734         anymore.
79735         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79736         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79737         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79738         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79739         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79740         __mpranred, __mptan.
79741         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79742         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79743         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79744         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79745         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79746         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79747         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79748         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79749         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79751 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79753         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79754         redefine if SHARED.
79755         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79758         wide char related routines to wcsmbs subdir.
79760 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79762         [BZ #13344]
79763         * misc/sys/cdefs.h (__THROWNL): Define.
79764         * posix/unistd.h: Use __THREADNL instead of __THREAD
79765         for memory synchronization functions.
79767 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79769         [BZ #13349]
79770         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79771         doesn't exist.
79772         * manual/stdio.texi (Obstack Streams): Node removed.
79774 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79776         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79777         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79778         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79780         * math/math_private.h (math_force_eval): Allow non-addressable
79781         arguments.
79782         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79784 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79786         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79787         file is not needed.
79789         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79791         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79792         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79793         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79794         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79795         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79796         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79797         Add AVX variants.
79798         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79799         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79800         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79801         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79802         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79803         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79804         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79805         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79806         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79807         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79808         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79809         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79810         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79811         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79812         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79813         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79814         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79815         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79816         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79818         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79819         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79821         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79822         place.  Use VEX encoding when compiling for AVX.
79824 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79826         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79827         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79829         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79831 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79833         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79834         useless if() expression.
79835         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79836         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79837         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79839         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79840         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79841         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79842         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79843         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79844         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79845         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79846         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79847         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79848         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79849         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79850         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79851         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79852         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79853         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79855         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79857 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79859         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79860         condition.
79861         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79863 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79865         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79866         .text section.  Avoid duplicate constants.
79867         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79868         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79869         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79870         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79871         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79872         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79873         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79874         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79875         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79876         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79877         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79878         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79879         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79880         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79881         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79882         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79883         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79884         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79885         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79886         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79887         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79888         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79889         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79890         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79891         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79892         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79893         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79894         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79895         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79896         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79897         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79898         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79899         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79900         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79901         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79902         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79903         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79904         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79905         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79906         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79907         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79908         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79909         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79910         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79911         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79913 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79915         * sysdeps/x86_64/dla.h: Move to ...
79916         * sysdeps/x86_64/fpu/dla.h: ...here.
79917         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79918         situations.  Use __builtin_fma only for gcc 4.6 and up.
79920         * config.make.in: Add have-mfma4 entry.
79921         * configure.in: Substitute libc_cv_cc_fma4.
79922         * math/Makefile (dbl-only-routines): Add sincostab.
79923         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79924         Use __sincostab not sincos.
79925         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79926         name is a macro.
79927         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79928         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79929         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79930         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79931         using __copysign.
79932         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79933         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79934         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79935         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79936         and __inv.
79937         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79938         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79939         __copysign.
79940         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79941         define aliases when function name is a macro.
79942         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79943         sysdeps/ieee754/dbl-64/sincos.tbl.
79944         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79945         fma4-enabled routines.
79946         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79947         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79948         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79949         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79950         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79951         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79952         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79953         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79954         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79955         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79956         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79957         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79958         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79959         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79960         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79961         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79962         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79963         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79964         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79965         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79966         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79967         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79968         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79969         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79970         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79971         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79972         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79973         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79974         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79975         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79977         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79978         rename.
79979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79980         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79981         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79982         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79983         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79984         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79985         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79988 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79990         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79992 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79994         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79996         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79997         prediction.
79998         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80000         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80001         Remove unused variable magic_bits.
80002         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80004         * string/strnlen.c: Define and use STRNLEN macro.
80005         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80006         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80007         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80008         * wcsmbs/wcslen.c: Define and use WCSLEN.
80009         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80010         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80011         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80012         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80013         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80014         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80015         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80017 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80019         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80020         strnlen-sse2-no-bsf.
80021         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80022         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80023         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80024         Add strnlen support.
80025         (USE_AS_STRNLEN): New macro.
80026         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80027         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80028         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80029         * sysdeps/x86_64/wcslen.S: New file.
80031 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80033         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80034         XMM-moves are used for copying on small sizes.
80036 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80038         * wcsmbs/Makefile (strop-tests): Add wcschr.
80039         * wcsmbs/test-wcschr.c: New file.
80040         * string/test-strchr.c: Update.
80041         Add wcschr support.
80042         (WIDE): New macro.
80044 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80046         * wcsmbs/Makefile (strop-tests): Add wcslen.
80047         * wcsmbs/test-wcslen.c: New file.
80048         * string/test-strlen.c: Update.
80049         Add wcslen support.
80050         (WIDE): New macro.
80052 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80054         * po/it.po: Update from translation team.
80056 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80058         * sysdeps/x86_64/wcscmp.S: Update.
80059         Fix wrong comparison semantics.
80060         wcscmp shall use signed comparison not unsigned.
80061         Don't use substraction to avoid overflow bug.
80062         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80063         * wcsmbc/wcscmp.c: Likewise.
80064         * string/test-strcmp.c: Likewise.
80065         Add new tests to check cases with negative values.
80067 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80069         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80070         * sysdeps/x86_64/dla.h: ...here.  New file.
80071         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80072         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80074         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80076         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80077         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80078         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80079         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80081 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80084         __ynl_finite aliases.
80086 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80090         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80091         define DLA_FMA.
80092         [DLA_FMA] (EMULV): Use DLA_FMA.
80093         [DLA_FMA] (MUL12): Use EMULV.
80094         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80095         that are not needed.
80096         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80101         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80102         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80104 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80106         * math/s_nan.c: Undef __nan.
80107         * math/s_nanf.c: Undef __nanf.
80108         * math/s_nanl.c: Undef __nanl.
80109         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80110         "math_private.h".
80112 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80114         * math/s_catan.c: Add branch predictions.
80115         * math/s_catanf.c: Likewise.
80116         * math/s_catanh.c: Likewise.
80117         * math/s_catanhf.c: Likewise.
80118         * math/s_catanhl.c: Likewise.
80119         * math/s_catanl.c: Likewise.
80120         * math/s_cexp.c: Likewise.
80121         * math/s_cexpf.c: Likewise.
80122         * math/s_cexpl.c: Likewise.
80123         * math/s_clog.c: Likewise.
80124         * math/s_clog10.c: Likewise.
80125         * math/s_clog10f.c: Likewise.
80126         * math/s_clog10l.c: Likewise.
80127         * math/s_clogf.c: Likewise.
80128         * math/s_clogl.c: Likewise.
80129         * math/s_csqrt.c: Likewise.
80130         * math/s_csqrtf.c: Likewise.
80131         * math/s_csqrtl.c: Likewise.
80132         * math/s_ctanf.c: Likewise.
80133         * math/s_ctanh.c: Likewise.
80134         * math/s_ctanhf.c: Likewise.
80135         * math/s_ctanhl.c: Likewise.
80136         * math/s_ctanl.c: Likewise.
80138         * math/math_private.h: Define __nan, __nanf, __nanl.
80139         * math/s_cacosh.c: Include <math_private.h>.
80140         * math/s_cacoshl.c: Likewise.
80141         * math/s_casinh.c: Likewise.
80142         * math/s_casinhf.c: Likewise.
80143         * math/s_casinhl.c: Likewise.
80144         * math/s_ccos.c: Rely entire on ccosh.
80145         * math/s_ccosf.c: Rely entire on ccoshf.
80146         * math/s_ccosl.c: Rely entirely on ccoshl.
80147         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80148         Remove tests for FE_INVALID.
80149         * math/s_ccoshf.c: Likewise.
80150         * math/s_ccoshl.c: Likewise.
80151         * math/s_csin.c: Likewise.
80152         * math/s_csinf.c: Likewise.
80153         * math/s_csinh.c Likewise.
80154         * math/s_csinhf.c: Likewise.
80155         * math/s_csinhl.c: Likewise.
80156         * math/s_csinl.c: Likewise.
80157         * math/s_ctan.c: Likewise.
80158         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80159         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80160         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80162 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80165         compilation problems.
80167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80168         __builtin_expect.
80170 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80172         * sysdeps/i386/configure.in: Test for -mfma4 option.
80173         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80174         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80175         COMMON_CPUID_INDEX_80000001.
80176         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80177         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80178         use it if FMA3 is not supported.
80179         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80181         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80182         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80184 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80186         [BZ #12892]
80187         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80188         it would create a cycle with a link time dependency.
80190 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80192         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80193         instruction.
80194         * string/Makefile (strop-tests): Add rawmemchr.
80195         * string/test-rawmemchr.c: New file.
80197         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80198         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80199         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80200         when compiling str{,n}casecmp and when AVX is available.  Hook up
80201         new optimized code in initializers.
80203 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80205         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80206         __feraiseexcept instead of feraiseexcept.
80208 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80210         * math/math_private.h: Define defaults for libc_fetestexcept and
80211         libc_feupdateenv.
80212         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80213         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80214         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80215         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80216         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80217         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80218         libc_fetestexcept and libc_feupdateenv.
80220         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80221         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80222         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80223         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80224         libc_feholdexcept_setround.
80226         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80227         Add s_nearbyint-c and s_nearbyintf-c.
80228         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80229         nearbyintf inlines.
80230         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80231         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80232         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80233         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80235         * math/math_private.h: Define defaults for libc_fegetround,
80236         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80237         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80238         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80240         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80241         standard functions.
80242         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80243         Remove comments and hacks for old compiler versions.
80244         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80245         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80246         libc_feholdexceptl.
80248 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80250         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80251         (__feraiseexcept_renamed): Add __NTH.
80252         (feraiseexcept): Add __NTH.  Rename local variables to fix
80253         namespace violations.
80255 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80257         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80259         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80261         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80262         recently added interfaces.
80263         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80265         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80266         about macro parameter expansion.
80268         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80269         __NO_MATH_INLINES is defined.  Cleanups.
80271         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80272         and __floorf is target has SSE4.1.
80273         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80274         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80275         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80276         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80278         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80279         name.
80280         (floorf): Likewise.
80282         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80284 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80286         * misc/sys/cdefs.h: Fix last change.
80288         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80289         database lookup.
80291 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80293         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80295         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80296         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80297         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80298         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80299         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80300         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80301         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80302         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80303         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80304         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80305         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80306         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80307         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80308         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80309         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80310         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80311         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80312         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80313         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80314         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80315         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80316         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80318         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80319         ceil, ceilf, floor, floorf.
80321         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80322         Perform IRELATIVE relocations last.
80324         * elf/do-rel.h: Add another parameter nrelative, replacing the
80325         local variable with the same name.  Change name of the function
80326         to end in Rel or Rela (uppercase).
80327         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80328         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80329         elf_dynamic_do_##reloc function.
80331 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80333         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80334         is sufficient, at least on modern CPUs.
80336         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80338         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80339         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80341         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80342         __expl_finite.
80343         * math/bits/math-finite.h: Add entries for exp.
80344         * math/e_expl.c: Add __*_finite alias.
80345         * sysdeps/i386/fpu/e_exp.S: Likewise.
80346         * sysdeps/i386/fpu/e_expf.S: Likewise.
80347         * sysdeps/i386/fpu/e_expl.c: Likewise.
80348         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80349         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80350         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80351         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80352         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80353         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80354         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80356         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80357         is sufficient, at least on modern CPUs.
80359         * ctype/ctype-info.c (__ctype_init): Define.
80360         * include/ctype.h (__ctype_init): Declare.
80361         (__ctype_b_loc): The variable is always initialized.
80362         (__ctype_toupper_loc): Likewise.
80363         (__ctype_tolower_loc): Likewise.
80364         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80365         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80367 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80369         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80371         * configure.in: Also look in $cxxmachine/include for C++ system
80372         headers.
80374 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80376         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80377         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80378         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80379         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80380         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80381         (USE_AS_WMEMCMP): New macro.
80382         Fixing indents.
80383         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80384         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80385         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80386         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80387         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80388         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80389         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80390         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80391         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80392         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80393         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80394         (USE_AS_WMEMCMP): New macro.
80395         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80396         * sysdeps/string/test-memcmp.c: Update.
80397         Fix simple_wmemcmp.
80398         Add new tests.
80399         * wcsmbs/wmemcmp.c: Update.
80400         (WMEMCMP): New macro.
80401         Fix overflow bug.
80403 2011-10-12  Andreas Jaeger  <aj@suse.de>
80405         [BZ #13268]
80406         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80408 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80410         * libio/iofwide.c (do_length): Avoid warning.
80412         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80414 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80416         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80418         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80419         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80420         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80421         * sysdeps/i386/i686/fpu/e_log.S: New file.
80422         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80423         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80425         * ctype/ctype.h: Add support for inlined isXXX functions when
80426         compiling C++ code.
80428 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80430         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80432         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80434 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80436         [BZ #13291]
80437         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80439 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80441         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80442         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80443         feraiseexcept.
80445         * sysdeps/x86_64/memrchr.S: Check for zero size.
80447         * string/stratcliff.c: Add memrchr tests.
80449 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80452         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80453         rawmemchr-sse2 rawmemchr-sse2-bsf.
80454         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80455         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80456         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80457         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80458         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80459         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80460         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80461         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80462         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80463         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80464         * string/memrchr.c (MEMRCHR): New macro.
80466 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80468         Add integration with gcc's -ffinite-math-only and optimize wrapper
80469         functions in libm.
80470         * Versions.def: Define GLIBC_2.15 version for libm.
80471         * math/Makefile (headers): Add bits/math-finite.h.
80472         * math/bits/math-finite.h: New file.
80473         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80474         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80475         * math/e_acoshl.c: Add __*_finite alias.
80476         * math/e_acosl.c: Likewise.
80477         * math/e_asinl.c: Likewise.
80478         * math/e_atan2l.c: Likewise.
80479         * math/e_atanhl.c: Likewise.
80480         * math/e_coshl.c: Likewise.
80481         * math/e_exp10.c: Likewise.
80482         * math/e_exp10f.c: Likewise.
80483         * math/e_exp10l.c: Likewise.
80484         * math/e_exp2l.c: Likewise.
80485         * math/e_fmodl.c: Likewise.
80486         * math/e_gammal_r.c: Likewise.
80487         * math/e_hypotl.c: Likewise.
80488         * math/e_j0l.c: Likewise.
80489         * math/e_j1l.c: Likewise.
80490         * math/e_jnl.c: Likewise.
80491         * math/e_lgammal_r.c: Likewise.
80492         * math/e_log10l.c: Likewise.
80493         * math/e_log2l.c: Likewise.
80494         * math/e_logl.c: Likewise.
80495         * math/e_powl.c: Likewise.
80496         * math/e_sinhl.c: Likewise.
80497         * math/e_sqrtl.c: Likewise.
80498         * math/e_scalb.c: Completely rewritten and optimized.
80499         * math/e_scalbf.c: Likewise.
80500         * math/e_scalbl.c: Likewise.
80501         * math/w_acos.c: Likewise.
80502         * math/w_acosf.c: Likewise.
80503         * math/w_acosl.c: Likewise.
80504         * math/w_acosh.c: Likewise.
80505         * math/w_acoshf.c: Likewise.
80506         * math/w_acoshl.c: Likewise.
80507         * math/w_asin.c: Likewise.
80508         * math/w_asinf.c: Likewise.
80509         * math/w_asinl.c: Likewise.
80510         * math/w_atan2.c: Likewise.
80511         * math/w_atan2f.c: Likewise.
80512         * math/w_atan2l.c: Likewise.
80513         * math/w_atanh.c: Likewise.
80514         * math/w_atanhf.c: Likewise.
80515         * math/w_atanhl.c: Likewise.
80516         * math/w_exp10.c: Likewise.
80517         * math/w_exp10f.c: Likewise.
80518         * math/w_exp10l.c: Likewise.
80519         * math/w_fmod.c: Likewise.
80520         * math/w_fmodf.c: Likewise.
80521         * math/w_fmodl.c: Likewise.
80522         * math/w_j0.c: Likewise.
80523         * math/w_j0f.c: Likewise.
80524         * math/w_j0l.c: Likewise.
80525         * math/w_j1.c: Likewise.
80526         * math/w_j1f.c: Likewise.
80527         * math/w_j1l.c: Likewise.
80528         * math/w_jn.c: Likewise.
80529         * math/w_jnf.c: Likewise.
80530         * math/w_log.c: Likewise.
80531         * math/w_logf.c: Likewise.
80532         * math/w_logl.c: Likewise.
80533         * math/w_log10.c: Likewise.
80534         * math/w_log10f.c: Likewise.
80535         * math/w_log10l.c: Likewise.
80536         * math/w_log2.c: Likewise.
80537         * math/w_log2f.c: Likewise.
80538         * math/w_log2l.c: Likewise.
80539         * math/w_pow.c: Likewise.
80540         * math/w_powf.c: Likewise.
80541         * math/w_powl.c: Likewise.
80542         * math/w_remainder.c: Likewise.
80543         * math/w_remainderf.c: Likewise.
80544         * math/w_remainderl.c: Likewise.
80545         * math/w_scalb.c: Likewise.
80546         * math/w_scalbf.c: Likewise.
80547         * math/w_scalbl.c: Likewise.
80548         * math/w_sqrt.c: Likewise.
80549         * math/w_sqrtf.c: Likewise.
80550         * math/w_sqrtl.c: Likewise.
80551         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80552         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80553         used.
80554         * math/math_private.h: Declare __kernel_standard_f.
80555         * math/w_cosh.c: Remove cruft and optimize a bit.
80556         * math/w_coshf.c: Likewise.
80557         * math/w_coshl.c: Likewise.
80558         * math/w_exp2.c: Likewise.
80559         * math/w_exp2f.c: Likewise.
80560         * math/w_exp2l.c: Likewise.
80561         * math/w_hypot.c: Likewise.
80562         * math/w_hypotf.c: Likewise.
80563         * math/w_hypotl.c: Likewise.
80564         * math/w_lgamma.c: Likewise.
80565         * math/w_lgamma_r.c: Likewise.
80566         * math/w_lgammaf.c: Likewise.
80567         * math/w_lgammaf_r.c: Likewise.
80568         * math/w_lgammal.c: Likewise.
80569         * math/w_lgammal_r.c: Likewise.
80570         * math/w_sinh.c: Likewise.
80571         * math/w_sinhf.c: Likewise.
80572         * math/w_sinhl.c: Likewise.
80573         * math/w_tgamma.c: Likewise.
80574         * math/w_tgammaf.c: Likewise.
80575         * math/w_tgammal.c: Likewise.
80576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80577         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80578         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80579         Minor optimizations.  Pretty printing.  Remove cruft.
80580         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80581         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80582         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80583         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80584         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80585         * sysdeps/i386/fpu/e_asin.S: Likewise.
80586         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80587         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80588         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80589         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80590         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80591         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80592         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80593         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80594         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80595         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80596         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80597         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80598         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80599         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80600         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80601         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80602         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80603         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80604         * sysdeps/i386/fpu/e_log.S: Likewise.
80605         * sysdeps/i386/fpu/e_log10.S: Likewise.
80606         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80607         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80608         * sysdeps/i386/fpu/e_log2.S: Likewise.
80609         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80610         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80611         * sysdeps/i386/fpu/e_logf.S: Likewise.
80612         * sysdeps/i386/fpu/e_logl.S: Likewise.
80613         * sysdeps/i386/fpu/e_pow.S: Likewise.
80614         * sysdeps/i386/fpu/e_powf.S: Likewise.
80615         * sysdeps/i386/fpu/e_powl.S: Likewise.
80616         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80617         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80618         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80619         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80620         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80621         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80622         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80623         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80624         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80625         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80626         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80627         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80628         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80629         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80630         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80631         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80632         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80633         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80634         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80635         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80636         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80638         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80639         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80640         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80641         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80642         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80643         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80645         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80646         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80647         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80648         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80649         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80650         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80651         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80652         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80653         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80654         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80655         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80656         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80657         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80658         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80659         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80660         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80661         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80662         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80663         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80664         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80665         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80666         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80667         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80668         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80669         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80670         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80671         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80672         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80673         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80675         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80676         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80677         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80678         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80680         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80681         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80682         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80683         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80684         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80685         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80686         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80687         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80688         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80689         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80690         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80691         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80692         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80693         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80694         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80695         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80696         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80698         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80699         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80700         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80701         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80702         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80703         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80704         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80705         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80706         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80708         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80709         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80710         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80712         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80713         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80714         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80715         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80716         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80717         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80718         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80719         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80720         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80721         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80722         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80723         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80724         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80725         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80726         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80727         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80728         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80729         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80730         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80731         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80732         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80733         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80735         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80736         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80737         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80738         (__isnanf): Likewise.
80739         (__isinf_ns): Likewise.
80740         (__isinf_nsf): Likewise.
80741         (__finite): Likewise.
80742         (__finitef): Likewise.
80743         (__ieee754_sqrt): Define as macro.
80744         (__ieee754_sqrtf): Define as macro.
80745         (__ieee754_sqrtl): Define as macro.
80746         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80747         inlined copy.
80748         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80749         __FINITE_MATH_ONLY__ consistent.
80750         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80752 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80754         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80755         of rawmemchr.
80757         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80759 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80761         * po/ja.po: Update from translation team.
80763 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80765         * locale/programs/locarchive.c (prepare_address_space): New function.
80766         (create_archive, enlarge_archive, open_archive): Use it.
80768         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80769         inside [SHARED], where it is used.
80771         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80773         * nss/getent.c (netgroup_keys): Remove unused variable.
80774         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80776 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80778         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80779         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80781         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80782         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80783         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80784         * math/Makefile (libm-calls): Add s_isinf_ns.
80785         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80786         * math/multc3.c: Likewise.
80787         * math/s_casin.c: Likewise.
80788         * math/s_casinf.c: Likewise.
80789         * math/s_casinl.c: Likewise.
80790         * math/s_ccos.c: Likewise.
80791         * math/s_ccosf.c: Likewise.
80792         * math/s_ccosl.c: Likewise.
80793         * math/s_ctan.c: Likewise.
80794         * math/s_ctanf.c: Likewise.
80795         * math/s_ctanh.c: Likewise.
80796         * math/s_ctanhf.c: Likewise.
80797         * math/s_ctanhl.c: Likewise.
80798         * math/s_ctanl.c: Likewise.
80799         * math/w_fmod.c: Likewise.
80800         * math/w_fmodf.c: Likewise.
80801         * math/w_fmodl.c: Likewise.
80802         * math/w_remainder.c: Likewise.
80803         * math/w_remainderf.c: Likewise.
80804         * math/w_remainderl.c: Likewise.
80805         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80806         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80807         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80809         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80810         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80811         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80812         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80814         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80815         of the number.
80816         * stdio-common/printf_fphex.c: Likewise.
80817         * stdio-common/printf_size.c: Likewise.
80819         * math/e_exp10.c: Include math_private.h using <...> not "...".
80820         * math/e_exp10f.c: Likewise.
80821         * math/e_exp10l.c: Likewise.
80822         * math/e_exp2l.c: Likewise.
80823         * math/e_j0l.c: Likewise.
80824         * math/e_j1l.c: Likewise.
80825         * math/e_jnl.c: Likewise.
80826         * math/e_lgammal_r.c: Likewise.
80827         * math/e_rem_pio2l.c: Likewise.
80828         * math/e_scalb.c: Likewise.
80829         * math/e_scalbf.c: Likewise.
80830         * math/e_scalbl.c: Likewise.
80831         * math/k_cosl.c: Likewise.
80832         * math/k_sinl.c: Likewise.
80833         * math/k_tanl.c: Likewise.
80834         * math/s_cacoshf.c: Likewise.
80835         * math/s_catan.c: Likewise.
80836         * math/s_catanf.c: Likewise.
80837         * math/s_catanh.c: Likewise.
80838         * math/s_catanhf.c: Likewise.
80839         * math/s_catanhl.c: Likewise.
80840         * math/s_catanl.c: Likewise.
80841         * math/s_ccosh.c: Likewise.
80842         * math/s_ccoshf.c: Likewise.
80843         * math/s_ccoshl.c: Likewise.
80844         * math/s_cexp.c: Likewise.
80845         * math/s_cexpf.c: Likewise.
80846         * math/s_cexpl.c: Likewise.
80847         * math/s_clog.c: Likewise.
80848         * math/s_clog10.c: Likewise.
80849         * math/s_clog10f.c: Likewise.
80850         * math/s_clog10l.c: Likewise.
80851         * math/s_clogf.c: Likewise.
80852         * math/s_clogl.c: Likewise.
80853         * math/s_csin.c: Likewise.
80854         * math/s_csinf.c: Likewise.
80855         * math/s_csinh.c: Likewise.
80856         * math/s_csinhf.c: Likewise.
80857         * math/s_csinhl.c: Likewise.
80858         * math/s_csinl.c: Likewise.
80859         * math/s_csqrt.c: Likewise.
80860         * math/s_csqrtf.c: Likewise.
80861         * math/s_csqrtl.c: Likewise.
80862         * math/s_ctan.c: Likewise.
80863         * math/s_ctanf.c: Likewise.
80864         * math/s_ctanh.c: Likewise.
80865         * math/s_ctanhf.c: Likewise.
80866         * math/s_ctanhl.c: Likewise.
80867         * math/s_ctanl.c: Likewise.
80868         * math/s_ldexp.c: Likewise.
80869         * math/s_ldexpf.c: Likewise.
80870         * math/s_ldexpl.c: Likewise.
80871         * math/s_significand.c: Likewise.
80872         * math/s_significandf.c: Likewise.
80873         * math/s_significandl.c: Likewise.
80874         * math/w_acos.c: Likewise.
80875         * math/w_acosf.c: Likewise.
80876         * math/w_acosh.c: Likewise.
80877         * math/w_acoshf.c: Likewise.
80878         * math/w_acoshl.c: Likewise.
80879         * math/w_acosl.c: Likewise.
80880         * math/w_asin.c: Likewise.
80881         * math/w_asinf.c: Likewise.
80882         * math/w_asinl.c: Likewise.
80883         * math/w_atan2.c: Likewise.
80884         * math/w_atan2f.c: Likewise.
80885         * math/w_atan2l.c: Likewise.
80886         * math/w_atanh.c: Likewise.
80887         * math/w_atanhf.c: Likewise.
80888         * math/w_atanhl.c: Likewise.
80889         * math/w_cosh.c: Likewise.
80890         * math/w_coshf.c: Likewise.
80891         * math/w_coshl.c: Likewise.
80892         * math/w_dremf.c: Likewise.
80893         * math/w_exp10.c: Likewise.
80894         * math/w_exp10f.c: Likewise.
80895         * math/w_exp10l.c: Likewise.
80896         * math/w_exp2.c: Likewise.
80897         * math/w_exp2f.c: Likewise.
80898         * math/w_fmod.c: Likewise.
80899         * math/w_fmodf.c: Likewise.
80900         * math/w_fmodl.c: Likewise.
80901         * math/w_hypot.c: Likewise.
80902         * math/w_hypotf.c: Likewise.
80903         * math/w_hypotl.c: Likewise.
80904         * math/w_j0.c: Likewise.
80905         * math/w_j0f.c: Likewise.
80906         * math/w_j0l.c: Likewise.
80907         * math/w_j1.c: Likewise.
80908         * math/w_j1f.c: Likewise.
80909         * math/w_j1l.c: Likewise.
80910         * math/w_jn.c: Likewise.
80911         * math/w_jnf.c: Likewise.
80912         * math/w_jnl.c: Likewise.
80913         * math/w_lgamma.c: Likewise.
80914         * math/w_lgamma_r.c: Likewise.
80915         * math/w_lgammaf.c: Likewise.
80916         * math/w_lgammaf_r.c: Likewise.
80917         * math/w_lgammal.c: Likewise.
80918         * math/w_lgammal_r.c: Likewise.
80919         * math/w_log.c: Likewise.
80920         * math/w_log10.c: Likewise.
80921         * math/w_log10f.c: Likewise.
80922         * math/w_log10l.c: Likewise.
80923         * math/w_log2.c: Likewise.
80924         * math/w_log2f.c: Likewise.
80925         * math/w_log2l.c: Likewise.
80926         * math/w_logf.c: Likewise.
80927         * math/w_logl.c: Likewise.
80928         * math/w_pow.c: Likewise.
80929         * math/w_powf.c: Likewise.
80930         * math/w_powl.c: Likewise.
80931         * math/w_remainder.c: Likewise.
80932         * math/w_remainderf.c: Likewise.
80933         * math/w_remainderl.c: Likewise.
80934         * math/w_scalb.c: Likewise.
80935         * math/w_scalbf.c: Likewise.
80936         * math/w_scalbl.c: Likewise.
80937         * math/w_sinh.c: Likewise.
80938         * math/w_sinhf.c: Likewise.
80939         * math/w_sinhl.c: Likewise.
80940         * math/w_sqrt.c: Likewise.
80941         * math/w_sqrtf.c: Likewise.
80942         * math/w_sqrtl.c: Likewise.
80943         * math/w_tgamma.c: Likewise.
80944         * math/w_tgammaf.c: Likewise.
80945         * math/w_tgammal.c: Likewise.
80947         * po/ja.po: Update from translation team.
80949 2011-09-29  Andreas Jaeger  <aj@suse.de>
80951         [BZ #13179]
80952         * sunrpc/netname.c (netname2host): Fix logic.
80954         [BZ #6779]
80955         [BZ #6783]
80956         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80957         correctly.
80958         * math/w_remainder.c (__remainder): Likewise.
80959         * math/w_remainderf.c (__remainderf): Likewise.
80960         * math/libm-test.inc (remainder_test): Add test cases.
80962 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80964         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80965         sdiv_qrnnd.
80967 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80969         * string/test-memcmp.c: Avoid unncessary #defines.
80970         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80972 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80974         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80975         Use new sse2 version for core i3 - i7 as it's faster
80976         than sse42 version.
80977         (bit_Prefer_PMINUB_for_stringop): New.
80978         * sysdeps/x86_64/rawmemchr.S: Update.
80979         Replace with faster SSE2 version.
80980         * sysdeps/x86_64/memrchr.S: New file.
80981         * sysdeps/x86_64/memchr.S: Update.
80982         Replace with faster SSE2 version.
80984 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80986         * elf/dl-load.c (lose): Add cast to avoid warning.
80988 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80990         * po/ca.po: Update from translation team.
80992         * inet/getnetgrent_r.c: Hook up nscd.
80993         * nscd/Makefile (routines): Add nscd_netgroup.
80994         (nscd-modules): Add netgroupcache.
80995         (CFLAGS-netgroupcache.c): Define.
80996         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80997         (cache_search): Add const to second parameter.
80998         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80999         INNETGR.
81000         (dbs): Add netgrdb entry.
81001         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81002         (verify_persistent_db): Handle netgrdb.
81003         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81004         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81005         GETFDNETGR.
81006         (netgroup_response_header): Define.
81007         (innetgroup_response_header): Define.
81008         (datahead): Add netgroup_response_header and innetgroup_response_header
81009         elements.
81010         * nscd/nscd.conf: Add entries for netgroup cache.
81011         * nscd/nscd.h (dbtype): Add netgrdb.
81012         (_PATH_NSCD_NETGROUP_DB): Define.
81013         (netgroup_iov_disabled): Declare.
81014         (xmalloc, xcalloc, xrealloc): Move declarations here.
81015         (cache_search): Adjust prototype.
81016         Add netgroup-related prototypes.
81017         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81018         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81019         (__nscd_innetgr): Declare.
81020         * nscd/selinux.c (perms): Use access_vector_t as element type and
81021         add netgroup-related initializers.
81022         * nscd/netgroupcache.c: New file.
81023         * nscd/nscd_netgroup.c: New file.
81024         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81025         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81026         For four parameters use innetgr.
81027         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81028         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81029         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81030         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81032         * nscd/connections.c (register_traced_file): Don't register file
81033         for disabled databases.
81035 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81037         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81039         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81040         from tree and freeing node.
81042 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81044         * nss/nsswitch.c (__nss_database_lookup): Handle
81045         nss_parse_service_list out of memory case.
81047 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81049         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81050         out of memory case.
81052 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81054         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81055         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81056         pass it down.
81057         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81058         elf_machine_rela, elf_machine_lazy_rel.
81059         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81060         (ELF_DYNAMIC_DO_REL): Likewise.
81061         (ELF_DYNAMIC_DO_RELA): Likewise.
81062         (ELF_DYNAMIC_RELOCATE): Likewise.
81063         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81064         to ELF_DYNAMIC_DO_REL.
81065         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81066         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81067         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81068         elf_machine_rela.
81069         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81070         skip_ifunc, don't call ifunc function if non-zero.
81071         (elf_machine_rela): Likewise.
81072         (elf_machine_lazy_rel): Likewise.
81073         (elf_machine_lazy_rela): Likewise.
81074         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81075         (elf_machine_lazy_rel): Likewise.
81076         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81077         Likewise.
81078         (elf_machine_lazy_rel): Likewise.
81079         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81080         Likewise.
81081         (elf_machine_lazy_rel): Likewise.
81082         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81083         (elf_machine_lazy_rel): Likewise.
81084         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81085         (elf_machine_lazy_rel): Likewise.
81086         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81087         (elf_machine_lazy_rel): Likewise.
81088         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81089         (elf_machine_lazy_rel): Likewise.
81090         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81091         (elf_machine_lazy_rel): Likewise.
81092         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81093         (elf_machine_lazy_rel): Likewise.
81095 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81097         * nss/nss_files/files-init.c (_nss_files_init): Use static
81098         initialization for all the *_traced_file variables.
81100 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81102         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81104 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81106         [BZ #13226]
81107         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81109 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81111         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81112         Reread the line before reparsing it.
81114 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81116         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81118 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81119             Maxim Kuvyrkov  <maxim@codesourcery.com>
81120             Joseph Myers  <joseph@codesourcery.com>
81122         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81123         if needed for __stack_chk_guard.
81125 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81127         * sysdeps/posix/spawni.c (script_execute): Always define it.
81128         It will be optimized away if unused.
81129         (maybe_script_execute): New function.
81130         (__spawni): Call it.
81132         * Makerules: Don't include tls.make.
81133         (config-tls): Always set to thread.
81134         * tls.make.c: File removed.
81136 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81138         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81139         * config.make.in (CPPFLAGS-config): New substituted variable.
81141 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81145         [BZ #13192]
81146         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81147         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81149 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81151         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81152         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81153         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81154         (CALL_FAIL): Likewise.
81155         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81156         (CALL_FAIL): Macro removed.
81157         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81159 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81161         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81162         for __FINITE_MATH_ONLY__ == 1.
81164 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81166         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81167         __ieee754_sqrt instead of sqrt.
81168         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81169         __ieee754_sqrtf instead of sqrtf.
81170         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81171         __floorf instead of floorf.
81172         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81173         __floorf, __truncf instead of floorf, truncf.
81175 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81177         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81179         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81180         __extern_always_inline.
81181         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81182         32-bit.
81184 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81186         * elf/rtld.c (dl_main): Also relocate in dependency order when
81187         doing symbol dependency testing.
81189 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81191         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81192         Always define `refsym'.
81194 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81196         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81197         (__FD_ELT): Renamed from __FDELT.
81198         * misc/bits/select2.h (__FD_ELT): Likewise.
81199         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81200         __FD_MASK instead of __FDELT, __FDMASK.
81201         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81202         Likewise.
81203         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81204         Likewise.
81206         * elf/Makefile (gen-ldd): Fix pattern.
81208         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81209         (init_tls): Likewise.
81211 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81213         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81215 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81217         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81218         `struct cmsghdr *' instead of `void *'.
81219         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81220         Likewise.
81222 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81224         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81225         if non-absolute.
81226         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81227         ldd_rewrite_script.
81229 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81231         * configure.in: Remove --with-tls option.
81232         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81233         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81234         out in case it is missing.
81235         * sysdeps/ia64/elf/configure.in: Likewise.
81236         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81237         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81238         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81239         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81240         * sysdeps/sh/elf/configure.in: Likewise.
81241         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81242         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81243         * sysdeps/x86_64/elf/configure.in: Likewise.
81244         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81245         * sysdeps/mach/hurd/tls.h: Likewise.
81247         [BZ #13067]
81248         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81250         [BZ #13090]
81251         * configure.in: Fix use of AC_INIT.
81253         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81255 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81257         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81258         __set_errno.
81259         * malloc/hooks.c: Likewise.
81261         [BZ #11929]
81262         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81263         variables statically.
81264         (narenas): Initialize.
81265         (list_lock): Initialize.
81266         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81267         initializtion of main_arena and list_lock.  Small cleanups.
81268         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81269         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81270         Add initializers to main_arena and mp_.
81271         (malloc_state): Remove pagesize member.  Change all users to use
81272         GLRO(dl_pagesize).
81274         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81275         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81276         is always initialized.
81278         * malloc/malloc.c: Removed unused configurations and dead code.
81279         * malloc/arena.c: Likewise.
81280         * malloc/hooks.c: Likewise.
81281         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81283         * include/tls.h: Removed.  USE___THREAD must always be defined.
81284         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81285         * elf/dl-libc.c: Likewise.
81286         * elf/dl-tsd.c: Likewise.
81287         * include/errno.h: Likewise.
81288         * include/netdb.h: Likewise.
81289         * include/resolv.h: Likewise.
81290         * inet/herrno-loc.c: Likewise.
81291         * inet/herrno.c: Likewise.
81292         * malloc/arena.c: Likewise.
81293         * malloc/hooks.c: Likewise.
81294         * malloc/malloc.c: Likewise.
81295         * resolv/res-state.c: Likewise.
81296         * resolv/res_libc.c: Likewise.
81297         * sysdeps/i386/dl-machine.h: Likewise.
81298         * sysdeps/ia64/dl-machine.h: Likewise.
81299         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81300         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81301         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81302         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81303         * sysdeps/sh/dl-machine.h: Likewise.
81304         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81305         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81306         * sysdeps/unix/i386/sysdep.S: Likewise.
81307         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81308         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81313         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81314         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81315         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81316         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81317         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81318         * sysdeps/x86_64/dl-machine.h: Likewise.
81319         * tls.make.c: Likewise.
81321         * configure.in: Remove --with-__thread option.  Make tests for
81322         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81323         tls_model attribute fail if no support is available.  Remove
81324         USE_IN_LIBIO.
81325         * Makeconfig: Adjust for dropped configure option.  All features are
81326         now mandatory.
81327         * Makerules: Likewise.
81328         * Versions.def: Likewise.
81329         * argp/argp-fmtstream.c: Likewise.
81330         * argp/argp-fmtstream.h: Likewise.
81331         * argp/argp-help.c: Likewise.
81332         * assert/assert.c: Likewise.
81333         * config.h.in: Likewise.
81334         * config.make.in: Likewise.
81335         * configure: Likewise.
81336         * configure.in: Likewise.
81337         * csu/Versions: Likewise.
81338         * csu/init.c: Likewise.
81339         * elf/tst-audit2.c: Likewise.
81340         * elf/tst-tls10.c: Likewise.
81341         * elf/tst-tls10.h: Likewise.
81342         * elf/tst-tls11.c: Likewise.
81343         * elf/tst-tls12.c: Likewise.
81344         * elf/tst-tls14.c: Likewise.
81345         * elf/tst-tlsmod11.c: Likewise.
81346         * elf/tst-tlsmod12.c: Likewise.
81347         * elf/tst-tlsmod13.c: Likewise.
81348         * elf/tst-tlsmod13a.c: Likewise.
81349         * elf/tst-tlsmod14a.c: Likewise.
81350         * elf/tst-tlsmod15b.c: Likewise.
81351         * elf/tst-tlsmod16a.c: Likewise.
81352         * elf/tst-tlsmod16b.c: Likewise.
81353         * elf/tst-tlsmod7.c: Likewise.
81354         * elf/tst-tlsmod8.c: Likewise.
81355         * elf/tst-tlsmod9.c: Likewise.
81356         * gmon/gmon.c: Likewise.
81357         * grp/fgetgrent_r.c: Likewise.
81358         * grp/putgrent.c: Likewise.
81359         * hurd/fopenport.c: Likewise.
81360         * include/libc-symbols.h: Likewise.
81361         * include/tls.h: Likewise.
81362         * intl/gettextP.h: Likewise.
81363         * intl/loadinfo.h: Likewise.
81364         * locale/global-locale.c: Likewise.
81365         * locale/localeinfo.h: Likewise.
81366         * mach/devstream.c: Likewise.
81367         * malloc/arena.c: Likewise.
81368         * malloc/set-freeres.c: Likewise.
81369         * misc/err.c: Likewise.
81370         * misc/getttyent.c: Likewise.
81371         * misc/mntent_r.c: Likewise.
81372         * posix/getopt.c: Likewise.
81373         * posix/wordexp.c: Likewise.
81374         * pwd/fgetpwent_r.c: Likewise.
81375         * resolv/Versions: Likewise.
81376         * resolv/res_hconf.c: Likewise.
81377         * shadow/fgetspent_r.c: Likewise.
81378         * shadow/putspent.c: Likewise.
81379         * stdio-common/printf_fphex.c: Likewise.
81380         * stdio-common/tmpfile.c: Likewise.
81381         * stdlib/abort.c: Likewise.
81382         * stdlib/fmtmsg.c: Likewise.
81383         * sunrpc/auth_unix.c: Likewise.
81384         * sunrpc/clnt_perr.c: Likewise.
81385         * sunrpc/clnt_tcp.c: Likewise.
81386         * sunrpc/clnt_udp.c: Likewise.
81387         * sunrpc/clnt_unix.c: Likewise.
81388         * sunrpc/openchild.c: Likewise.
81389         * sunrpc/svc_simple.c: Likewise.
81390         * sunrpc/svc_tcp.c: Likewise.
81391         * sunrpc/svc_udp.c: Likewise.
81392         * sunrpc/svc_unix.c: Likewise.
81393         * sunrpc/xdr.c: Likewise.
81394         * sunrpc/xdr_array.c: Likewise.
81395         * sunrpc/xdr_rec.c: Likewise.
81396         * sunrpc/xdr_ref.c: Likewise.
81397         * sunrpc/xdr_stdio.c: Likewise.
81399 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81401         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81403 2011-07-03  Andreas Jaeger  <aj@suse.de>
81405         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81406         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81407         regenerate with gen-libm-tests.pl.
81409 2010-05-12  Petr Baudis  <pasky@suse.cz>
81411         [BZ #11589]
81412         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81413         around j0() zero points by switching to j1().
81414         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81417         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81419 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81421         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81422         instead of 0.
81423         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81424         instead of 0.
81425         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81426         Patch in part by Pavel Roskin <proski@gnu.org>.
81428         [BZ #13138]
81429         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81430         realloc.
81431         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81432         Free memory block if necessary.
81434         [BZ #12847]
81435         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81436         be NULL.  Don't lock in this case.
81438 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81440         * elf/elf.h (ELFOSABI_GNU): New macro.
81441         (ELFOSABI_LINUX): Define to that.
81443 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81445         * string/strncat.c (strncat): Undef the symbol in case it has been
81446         defined in bits/string.h.
81448 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81450         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81452         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81453         link map.
81455 2011-08-17  Andreas Jaeger  <aj@suse.de>
81457         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81459 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81460             Ian Lance Taylor  <iant@google.com>
81462         * math/libm-test.inc (lround_test): New testcase.
81463         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81465 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81467         * Makefile: Remove support for automatic cvs check-ins.
81468         * Makerules: Likewise.
81469         * config.make.in: Likewise.
81470         * configure.in: Likewise.
81471         * intl/Makefile: Likewise.
81472         * locale/Makefile: Likewise.
81473         * po/Makefile: Likewise.
81474         * posix/Makefile: Likewise.
81475         * sysdeps/gnu/Makefile: Likewise.
81476         * sysdeps/mach/hurd/Makefile: Likewise.
81477         * sysdeps/sparc/sparc32/Makefile: Likewise.
81479         [BZ #13118]
81480         * posix/Makefile (bug-regex32-ENV): Define.
81481         Patch by John Stanley <jpsinthemix@verizon.net>.
81483         * misc/Makefile (headers): Add bits/select2.h.
81484         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81485         * misc/bits/select2.h: New file.
81486         * include/bits/select2.h: New file.
81487         * debug/Makefile (routines): Add fdelt_chk.
81488         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81489         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81490         FD_ISSET.
81491         * debug/fdelt_chk.c: New file.
81493         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81494         * wcsmbs/test-wmemcmp.c: Likewise.
81495         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81496         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81498 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81500         * string/Makefile (strop-tests): Add memcmp.
81501         * string/test-wmemcmp.c: New file.
81502         * string/test-memcmp.c: Add wmemcmp support.
81504 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81506         [BZ #13153]
81507         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81508         2011-07-19 change.
81510         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81511         garbage value in a __mach_port_mod_refs call in the cases of the
81512         task-self and thread-self ports.
81514 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81516         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81518 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81520         * elf/dl-load.c (lose): Check for non-null L.
81522 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81524         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81526         * elf/dl-libc.c (dlerror_run): Pass back error code from
81527         dl_catch_error.
81529         [BZ #13123]
81530         * elf/dl-load.c (lose): Free l_origin if it is valid.
81532         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81533         names.
81534         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81535         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81536         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81537         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81538         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81539         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81541 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81543         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81544         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81545         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81546         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81547         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81548         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81549         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81550         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81551         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81552         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81554 2011-08-15  Alan Modra  <amodra@gmail.com>
81556         [BZ #13092]
81557         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81558         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81559         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81560         ppc_mcount to static-only-routines.
81561         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81562         __mcount_internal.
81563         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81564         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81566 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81568         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81569         for finite and infinity parameters.
81571 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81573         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81574         and add nop instructions for throughput optimization.
81575         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81577 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81579         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81580         aligned copy for power7 with vector-scalar instructions.
81581         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81583 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81585         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81586         AVX check.
81588 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81590         [BZ #13144]
81591         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81592         last change.
81594 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81596         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81597         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81598         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81600         clock_gettime.
81602 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81604         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81605         Forgot to demangle the pointer.
81607         * sysdeps/i386/sysdep.h: Define atom_text_section.
81608         * sysdeps/x86_64/sysdep.h: Likewise.
81609         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81610         section with atom_text_section.
81611         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81612         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81613         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81614         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81615         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81617         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81618         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81619         already be defined.  Change to take two parameters and don't assign
81620         result to variable.  Adjust all users.
81621         Define INTERNAL_GETTIME if not already defined.
81622         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81623         call.
81624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81625         HAVE_CLOCK_GETTIME_VSYSCALL.
81626         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81628         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81629         gettimeofday vsyscall, just use time.
81631 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81633         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81634         <errno.h>.
81636 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81638         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81639         syscall on x86-64.
81640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81641         syscall.
81642         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81643         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81644         syscall if possible.
81646 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81648         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81649         e_ident.  Don't pass to find_mapsXX.
81650         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81652 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81654         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81655         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81656         * sysdeps/x86_64/multiarch/strchr.S: Update.
81657         Check bit_slow_BSF bit.
81658         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81659         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81660         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81662 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81664         [BZ #13134]
81665         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81666         before glibc 2.15.
81667         (tryshell): Define.
81668         (__spawni): Change last parameter to be flag.  Test
81669         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81670         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81671         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81672         * posix/spawni.c: Likewise.
81673         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81674         * posix/spawnp.c: Likewise.  Change normal version to use
81675         SPAWN_XFLAGS_USE_PATH.
81676         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81677         SPAWN_XFLAGS_TRY_SHELL.
81679         [BZ #13150]
81680         * posix/glob.h: Remove gcc 1.x support.
81682         [BZ #13068]
81683         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81685 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81688         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81689         strrchr-sse2-bsf
81690         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81691         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81692         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81693         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81694         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81695         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81697 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81699         * sysdeps/x86_64/wcscmp.S: New file.
81701         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81702         wcscmp-c wcscmp-sse2
81703         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81704         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81705         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81706         * wcsmbs/wcscmp.c: Allow renaming.
81708 2011-09-05  David S. Miller  <davem@davemloft.net>
81710         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81711         stack slot, rather than the struct return pointer slot.
81712         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81713         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81715         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81717 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81719         * po/ja.po: Update from translation team.
81721         [BZ #13144]
81722         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81723         kernel in 64-bit binaries.
81725 2011-09-01  David S. Miller  <davem@davemloft.net>
81727         * elf/elf.h (HWCAP_SPARC_*): Move to..
81728         * sysdeps/sparc/sysdep.h: this new file and add new values.
81729         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81730         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81731         _DL_HWCAP_COUNT to 24.
81732         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81733         entries.
81734         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81735         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81736         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81737         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81738         instead of magic constants.
81739         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81741 2011-08-31  David S. Miller  <davem@davemloft.net>
81743         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81744         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81745         Reimplement to do errno handling inline.
81746         (SYSCALL_ERROR_HANDLER): New macro.
81747         (__SYSCALL_STRING): Do not do errno handling in asm.
81748         (__CLONE_SYSCALL_STRING): Delete.
81749         (__INTERNAL_SYSCALL_STRING): Delete.
81750         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81751         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81752         (PSEUDO): Reimplement to do errno handling inline.
81753         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81754         (SYSCALL_ERROR_HANDLER): New macro.
81755         (__SYSCALL_STRING): Do not do errno handling in asm.
81756         (__CLONE_SYSCALL_STRING): Delete.
81757         (__INTERNAL_SYSCALL_STRING): Delete.
81758         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81759         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81760         i386.
81761         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81762         (inline_syscall*): Add 'err' argument.
81763         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81764         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81765         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81766         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81768         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81769         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81771 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81773         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81775 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81777         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81778         directive.
81780 2011-08-24  David S. Miller  <davem@davemloft.net>
81782         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81784 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81786         * elf/Makefile: Add rules to build and run unload8 test.
81787         * elf/unload8.c: New file.
81788         * elf/unload8mod1.c: New file.
81789         * elf/unload8mod1x.c: New file.
81790         * elf/unload8mod2.c: New file.
81791         * elf/unload8mod3.c: New file.
81793         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81794         it wasn't used.
81796 2011-08-23  David S. Miller  <davem@davemloft.net>
81798         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81799         subtract stack bias.
81800         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81801         %sp not %fp in calculations.
81802         (_JMPBUF_UNWINDS_ADJ): Likewise.
81804         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81805         (aio_suspend): Call it to force an exception region around the
81806         AIO_MISC_WAIT() invocation.
81808 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81810         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81811         backslash.
81813 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81815         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81816         protection macro.
81817         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81818         and <dl-machine.h>.
81819         (Elf64_FuncDesc): Remove.
81821 2011-08-22  David S. Miller  <davem@davemloft.net>
81823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81824         sigaltstack check, add missing cfi directives.
81825         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81826         missing cfi directives, and sigaltstack handling.
81828 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81830         [BZ #11724]
81831         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81832         object is seen twice.
81833         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81835         * elf/Makefile (distribute): Add tst-initorder2.c.
81836         (tests): Add tst-initorder2.
81837         (modules-names): Add tst-initorder2a tst-initorder2b
81838         tst-initorder2c tst-initorder2d.  Add rules to build them.
81839         ($(objpfx)tst-initorder2.out): New rule.
81840         * elf/tst-initorder2.c: New file.
81841         * elf/tst-initorder2.exp: New file.
81843 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81845         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81847         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81848         dependencies back to end of function.
81850         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81851         $(elfobjdir)/ld.so.
81853 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81856         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81857         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81858         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81859         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81860         of __vdso_gettimeofday.
81861         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81862         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81863         attribute_hidden.
81864         (_libc_vdso_platform_setup): Remove initialization of
81865         __vdso_gettimeofday and __vdso_time.
81867 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81869         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81870         and fgetc_unlocked.
81871         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81872         getc_unlocked.
81874         * elf/dl-open.c (add_to_global): Report additions to the global scope
81875         for LD_DEBUG=scopes.
81876         (dl_open_worker): Also print scope of newly loaded dependencies.
81877         (_dl_show_scope): Indicate if there is no scope.
81879         [BZ #13114]
81880         * stdio-common/Makefile (tests): Add bug24.
81881         * stdio-common/bug24.c: New file.
81883 2011-08-19  Andreas Jaeger  <aj@suse.de>
81885         [BZ #13114]
81886         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81887         non-existant file when using close-on-exec mode.
81889 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81891         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81892         the very first instruction.
81894         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81895         the CFI state in the end.
81896         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81897         inclusion of dl-trampoline.h.
81898         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81900 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81902         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81903         expectations for long double.
81905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81906         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81908 2011-08-14  David S. Miller  <davem@davemloft.net>
81910         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81911         artificual limit depends upon the system page size.
81913 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81915         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81916         * resolv/Makefile: Define CFLAGS-libresolv.
81918 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81920         * nss/makedb.c (compute_tables): Make variables used in nested
81921         function static.
81923 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81925         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81926         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81927         if buffer was too small.
81929         * elf/pldd.c (main): Attach to all threads in the process.
81930         Rewrite /proc handling to use *at functions.
81932 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81934         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81935         specifies first scope to show.
81936         (dl_open_worker): Update callers.  Move printing scope of new
81937         object to before the relocation.
81938         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81939         * sysdeps/generic/ldsodefs.h: Update declaration.
81941         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81942         string for the scope number.
81944 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81946         * nscd/servicescache.c (cache_addserv): Make sure written is always
81947         initialized.
81949 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81951         * sysdeps/i386/i486/bits/atomic.h
81952         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81953         statement expression, so as to suppress "set but not used" warning.
81954         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81956         * string/strncat.c (STRNCAT): Use prototype definition.
81958         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81959         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81960         -Iprograms here.
81961         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81962         (localedef-modules): Add localedef.
81963         (locale-modules): Add locale.
81965         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81966         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81967         to avoid a warning.
81969 2011-08-14  David S. Miller  <davem@davemloft.net>
81971         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81972         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81974 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81976         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81977         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81978         * elf/rtld.c (dl_main): Set l_name of vDSO.
81979         Call _dl_show_scope when DL_DEBUG_SCOPES.
81980         (process_dl_debug): Recognize scopes flag and also set it for all.
81981         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81982         Declare _dl_show_scope.
81984         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81985         (do_dlopen): Pass caller_dlopen to dl_open.
81986         (__libc_dlopen_mode): Initialize caller_dlopen.
81988         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81989         of libc.  Make tolower call locale-independent.  Optimize a bit by
81990         using isdigit instead of isalnum.
81991         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81993 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81995         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81996         was a dependency or dynamically loaded.
81998 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82000         * intl/l10nflist.c: Allow architecture-specific pop function.
82001         * sysdeps/x86_64/l10nflist.c: New file.
82003         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82004         classification.
82006 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82008         * include/dirent.h: Add libc_hidden_proto for scandirat and
82009         scandirat64.  Don't declare __scandirat64.
82010         * dirent/scandirat.c: Add libc_hidden_def.
82011         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82012         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82014 2011-08-10  David S. Miller  <davem@davemloft.net>
82016         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82017         enum.
82018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82019         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82020         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82022 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82024         * Versions.def [libc]: Add GLIBC_2.15.
82025         * dirent/Makefile (routines): Add scandirat and scandirat64.
82026         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82027         GLIBC_2.15.
82028         * dirent/dirent.h: Declare scandirat and scandirat64.
82029         * dirent/scandirat.c: New file.
82030         * dirent/scandirat64.c: New file.
82031         * sysdeps/wordsize-64/scandirat.c: New file.
82032         * sysdeps/wordsize-64/scandirat64.c: New file.
82033         * dirent/opendir.c: Define opendirat.
82034         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82035         using scandirat.
82036         * dirent/scandir64.c: Adjust for scandir.c change.
82037         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82038         __scandirat64, and __scandir_cancel_handler.
82039         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82040         additional parameter and use openat instead of open (outside of ld.so).
82041         Add new __opendir as wrapper around __opendirat.
82042         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82043         here without requiring old scandirat implementation.
82045 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82047         * dirent/scandir.c (cancel_handler): Renamed to
82048         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82049         defined.  Adjust users.
82050         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82051         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82053 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82055         * string/test-string.h (IMPL): Use __STRING to expand name and then
82056         stringify it.
82058         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82059         of cleanups.
82061 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82063         * string/Makefile: Update.
82064         (strop-tests): Append strncat.
82065         * string/test-wcscmp.c: New file.
82066         New comprehensive test for wcscmp.
82067         * string/test-strcmp.c: Update.
82068         (WIDE): New define.
82070 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82072         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82073         line.
82075 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82077         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82078         encoding to ACE if AI_IDN.
82080 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82082         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82083         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82085 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82087         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82088         Fix overflow bug in strncat.
82089         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82091         * string/test-strncat.c: Update.
82092         Add new tests for checking overflow bugs.
82094 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82096         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82097         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82098         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82099         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82100         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82101         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82102         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82103         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82104         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82107         (USE_AS_STRCAT): Define.
82108         Add strcat and strncat support.
82109         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82111 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82113         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82114         __n bigger than INT_MAX+1.
82115         (__strncmp_g): Likewise.
82117 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82119         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82120         * libio/stido.h: Likewise.
82122         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82123         (AF_NFC): Define.
82124         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82125         (AF_NFC): Define.
82127         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82128         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82129         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82130         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82131         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82133         [BZ #13021]
82134         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82135         installed.
82137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82138         typo.
82139         (_dl_x86_64_save_sse): Likewise.
82141 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82143         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82144         OSXSAVE.
82145         (_dl_x86_64_save_sse): Likewise.
82147         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82149         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82151 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82153         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82154         change.
82155         (_dl_x86_64_save_sse): Use correct AVX check.
82157 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82159         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82160         bug in strncpy/strncat.
82161         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82163 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82165         * string/tester.c (test_strcat): Add tests for different alignments
82166         of source and destination.
82167         (test_strncat): Likewise.
82169 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82171         [BZ #12852]
82172         * posix/glob.c (glob): Check passed in values before using them in
82173         expressions to avoid some overflows.
82174         (glob_in_dir): Likewise.
82176         [BZ #13007]
82177         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82178         check for AVX enablement so that we don't crash with old kernels and
82179         new hardware.
82180         * elf/tst-audit4.c: Add same checks here.
82181         * elf/tst-audit6.c: Likewise.
82183         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82185 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82187         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82189 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82191         * po/cs.po: Update from translation team.
82192         * po/bg.po: Likewise.
82194 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82196         * misc/sys/cdefs.h: Add support for const attribute.
82197         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82198         to gnu_dev_{major,minor,makedev} functions.
82200 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82202         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82204 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82206         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82207         strlen results.
82209 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82211         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82212         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82213         register in order to avoid conflicts with the soft frame pointer
82214         being held in r11 when necessary.
82215         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82216         (INTERNAL_VSYSCALL_NCS): Likewise.
82218 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82220         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82221         * elf/dl-fini.c (_dl_fini): Adjust caller.
82222         * elf/dl-close.c (_dl_close_worker): Likewise.
82223         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82225 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82227         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82228         "aux_cache->nlibs < 0".
82230         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82231         in the reload-count case.
82233 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82236         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82237         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82238         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82239         * sysdeps/x86_64/multiarch/strcat.S: New file.
82240         * sysdeps/x86_64/multiarch/strncat.S: New file.
82241         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82242         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82243         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82244         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82245         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82246         (USE_AS_STRCAT): Define.
82247         Add strcat and strncat support.
82248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82249         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82250         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82251         * string/strncat.c: Update.
82252         (USE_AS_STRNCAT): Define.
82253         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82254         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82255         and i7.
82256         * sysdeps/x86_64/multiarch/init-arch.h
82257         (bit_Prefer_PMINUB_for_stringop): New.
82258         (index_Prefer_PMINUB_for_stringop): Likewise.
82259         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82260         bit_Prefer_PMINUB_for_stringop.
82262 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82264         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82265         buffer64.
82266         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82267         of casting of buffer.
82268         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82269         buffer32 and buffer64.
82270         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82271         writes instead of casting of buffer.
82272         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82273         buffer32.
82274         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82275         casting of buffer.
82277 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82279         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82281 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82283         * nscd/nscd.c (termination_handler): Don't do anything for a database
82284         if it has not yet been initialized.
82286 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82288         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82290 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82292         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82294 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82296         * po/nl.po: Update from translation team.
82297         * po/sv.po: Likewise.
82299 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82301         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82302         now disallowed by GCC.
82304         * configure.in (use-default-link): Default to yes if a test -shared
82305         link meets our qualifications.
82306         * configure: Regenerated.
82308         * config.make.in (output-format): New variable.
82309         * configure.in: Check for ld --print-output-format support.
82310         * configure: Regenerated.
82311         * Makerules ($(common-objpfx)format.lds)
82312         [$(output-format) != unknown]: Just use $(output-format),
82313         instead of the linker-script munging.
82315 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82317         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82318         of $(common-objpfx)shlib.lds.
82319         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82321         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82322         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82324         * configure.in (-z relro check): Adjust test code to add a large
82325         writable data section after it.
82326         * configure: Regenerated.
82328 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82330         * configure.in (-z relro check): Fix test code to make the variable
82331         truly const.
82332         * configure: Regenerated.
82334 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82336         * nscd/nscd.h (struct traced_file): Define.
82337         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82338         elements.  Add traced_files.
82339         (inotify_fd): Declare.
82340         (register_traced_file): Declare.
82341         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82342         (inotify_fd): Export.
82343         (resolv_conf_descr): Remove.
82344         (nscd_init): Move inotify descriptor creation to main.
82345         Don't register files for notification here.
82346         (register_traced_file): New function.
82347         (invalidate_cache): Don't use reset_res to determine whether to call
82348         res_init, go through the list of registered files.
82349         (main_loop_poll): The inotify descriptors are now stored in the
82350         structures for the traced files.
82351         (main_loop_epoll): Likewise.
82352         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82353         to __nss_disable_nscd.
82354         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82355         for a database anymore.  Check the records for all the registered
82356         files instead.
82357         * nss/Makefile (libnss_files-routines): Add files-init.
82358         (libnss_db-routines): Add db-init.
82359         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82360         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82361         * nss/nss_db/db-init.c: New file.
82362         * nss/nss_files/files-init.c: New file.
82363         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82364         __nss_lookup_function.
82365         (__nss_lookup_function): Call nss_load_library.
82366         (nss_load_all_libraries): New function.
82367         (__nss_disable_nscd): Take parameter with callback function for files
82368         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82369         used for the cached services.
82370         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82371         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82372         options for features to all the files in nscd.
82374         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82376 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82378         * csu/elf-init.c (__libc_csu_init): Comment typo.
82380 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82382         * po/pl.po: Update from translation team.
82383         * po/ja.po: Likewise.
82384         * po/ru.po: Likewise.
82385         * po/ko.po: Likewise.
82386         * po/fr.po: Likewise.
82388 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82390         * configure.in (.ctors/.dtors header and trailer check):
82391         Use an empirical test on a built program.
82392         * configure: Regenerated.
82394         * configure.in (-z relro check): Use an empirical test on a built DSO.
82395         Detect, but do not require, on ia64.
82396         * configure: Regenerated.
82398         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82399         Update tests that use readelf to use $READELF instead.
82400         * configure: Regenerated.
82402 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82404         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82405         if the result is not used.
82407 2011-07-05  Andreas Jaeger  <aj@suse.de>
82409         [BZ#9696]
82410         * stdlib/tst-strtod.c: Add testcase.
82412 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82414         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82415         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82416         The latter has a higher limit.  Take additional parameter to pass to
82417         the new function.
82418         (__pathconf): Pass file to __statfs_link_max.
82419         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82420         __statfs_link_max.
82421         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82422         __statfs_link_max.
82424         [BZ #12868]
82425         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82426         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82427         Handle Lustre.
82428         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82429         (__statfs_filesize_max): Likewise.
82430         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82432 2011-07-05  Andreas Jaeger  <aj@suse.de>
82434         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82436 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82438         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82439         `status' variable.
82440         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82441         Likewise.
82443 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82445         * Makefile (strop-tests): Add strncat.
82446         * string/test-strncat.c: New file.
82448 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82450         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82452 2011-06-21  Andreas Jaeger  <aj@suse.de>
82454         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82455         Copy rule from iconvdata/Makefile.
82457 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82459         [BZ #12922]
82460         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82461         but no long options are defined, just return 'W'.
82463 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82465         [BZ #9696]
82466         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82468 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82470         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82471         netgroups to read.
82472         (innetgr): Likewise.
82474 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82476         * config.make.in (install_root): Default to $(DESTDIR).
82478 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82480         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82482 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82484         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82486         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82487         containing directory rather than embedding absolute directory names.
82489         * scripts/check-local-headers.sh: Rewritten using awk.
82490         Match by word, not by line.  Print error messages for matches.
82491         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82493         * Makerules [shlib-lds-flags empty]:
82494         ($(common-objpfx)libc_pic.opts): New target.
82495         ($(common-objpfx)libc_pic.os.clean): New target.
82496         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82498         * config.make.in (OBJCOPY): New variable.
82499         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82500         * configure: Regenerated.
82502         * config.make.in (use-default-link): New variable.
82503         * configure.in (use_default_link): Grok --with-default-link to set it.
82504         * configure: Regenerated.
82505         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82506         (shlib-lds, shlib-lds-flags): Define to empty.
82508         * Makerules (shlib-lds): New variable.
82509         (shlib-lds-flags): New variable.
82510         (build-shlib, build-moduile, build-module-asneeded): Use it.
82511         ($(common-objpfx)libc.so): Use $(shlib-lds).
82512         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82513         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82515         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82516         DT_FLAGS/DT_FLAGS_1 with zero flags.
82518         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82519         linker script munging.
82521 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82523         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82524         as 128-bit value.
82525         * crypt/sha512.c (sha512_process_block): Perform total addition using
82526         128-bit if possible.
82527         (__sha512_finish_ctx): Likewise.
82528         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82529         as 64-bit value.
82530         * crypt/sha256.c (SWAP64): Define.
82531         (sha256_process_block): Perform total addition using 64-bit if
82532         possible.
82533         (__sha256_finish_ctx): Likewise.
82535 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82537         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82538         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82539         * nscd/hstcache.c (cache_addhst): Likewise.
82540         * nscd/grpcache.c (cache_addgr): Likewise.
82541         * nscd/aicache.c (addhstaiX): Likewise.
82542         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82544 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82546         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82548         * nscd/hstcache.c (cache_addhst): Likewise.
82549         * nscd/grpcache.c (cache_addgr): Likewise.
82550         * nscd/aicache.c (addhstaiX): Likewise.
82552 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82554         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82555         domain only when needed.
82557 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82559         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82560         is always restored.
82562 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82564         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82565         are re-adding the entry.
82566         * nscd/servicescache.c (cache_addserv): Likewise.
82568 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82570         * sysdeps/generic/dl-irel.h: fix protection against multiple
82571         inclusions.
82572         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82574 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82576         [BZ #12935]
82577         * malloc/memusage.sh: Fix quoting in message.
82578         * debug/xtrace.sh: Likewise.
82580         * configure.in: Remove support for --experimental-malloc option, make
82581         it the default.
82582         * config.make.in: Likewise.
82583         * malloc/Makefile: Likewise.
82585 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82587         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82588         two-byte characters.
82590 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82592         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82593         AC_CACHE_CHECK invocation.
82594         * configure: Regenerated.
82596         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82598 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82600         [BZ #12350]
82601         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82602         bit from old_res_options.
82604         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82606         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82607         value type for setfct.
82609 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82611         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82612         __gettimeofday instead of gettimeofday.
82614 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82616         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82618 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82620         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82623         info.
82625 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82627         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82628         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82629         strcpy-sse2-unaligned strncpy-sse2-unaligned
82630         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82631         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82632         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82633         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82634         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82635         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82636         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82637         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82638         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82639         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82640         (STRCPY): Support SSE2 and SSSE3 versions.
82642 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82644         [BZ #12874]
82645         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82646         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82647         kernels which artificially limit size of requests.
82649 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82652         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82653         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82654         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82655         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82656         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82657         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82658         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82661         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82662         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82663         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82664         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82665         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82667         Enable unaligned load optimization for Intel Core i3, i5 and i7
82668         processors.
82669         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82670         Define.
82671         (index_Fast_Unaligned_Load): Define.
82672         (HAS_FAST_UNALIGNED_LOAD): Define.
82674 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82676         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82678 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82680         [BZ #12907]
82681         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82682         until it is clear that the information is realy needed.
82683         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82685 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82687         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82689 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82691         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82692         /sys/devices/system/cpu/online if it is usable.
82694         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82695         reading the information from the /proc filesystem to once a second.
82697 2011-06-21  Andreas Jaeger  <aj@suse.de>
82699         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82700         NULL after inclusion of kernel headers.
82702 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82704         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82705         calls to internal_setent.
82707         [BZ #12885]
82708         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82709         addresses using gethostbyname4_r ignore IPv4 addresses.
82711         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82712         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82714         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82716 2011-06-20  David S. Miller  <davem@davemloft.net>
82718         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82719         inclusions.
82720         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82722         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82723         (elf_irel): Use it.
82724         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82725         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82726         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82727         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82728         * sysdeps/x86_64/dl-irel.h: Likewise.
82730         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82731         * elf/dl-sym.c: Likewise.
82733 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82735         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82736         need to dereference resplen2.
82738 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82740         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82742 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82744         * Makeconfig: Define vardbdir and inst_vardbdir.
82745         * nss/Makefile: Add rules to install db-Makefile.
82747         * nss/nss_db/db-XXX.c: Cleanup.
82749         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82750         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82751         GLIBC_PRIVATE.
82752         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82753         * nss/makedb.c: Implement -g option to specify that value strings
82754         are generated and should not be added to table iterated over for
82755         get*ent calls.
82756         * nss/nss_db/db-initgroups.c: New file.
82758         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82759         interface.
82761         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82762         (internal_getgrouplist): Adjust to name change.
82763         Update use_initgroups_entry if this is not the first call.
82764         * nss/databases.def: Add initgroups entry.
82766         * nss/makedb.c (compute_tables): Check result of multiple hash table
82767         sizes to minimize maximum chain length.
82769 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82771         * Versions.def: Add entry for libnss_db.
82772         * shlib-versions: Likewise.
82773         * nss/Makefile: Add rules to build libnss_db.
82774         * nss/Versions: Add libnss_db information.  Organize libnss_files
82775         entries better.
82776         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82777         makedb progra.  Some minor improvements to generate smaller files.
82778         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82779         here from...
82780         * nss/makedb.c: ...here.
82781         Improve database format to be smaller and require less memory at
82782         runtime.
82783         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82784         db anymore.
82785         * nss/nss_db/db-netgrp.c: Likewise.
82786         * nss/nss_db/db-open.c: Likewise.
82787         * nss/nss_files/flies-XXX.x: Adjust comments.
82788         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82789         * nss/nss_files/files-grp.c: Likewise.
82790         * nss/nss_files/files-hosts.c: Likewise.
82791         * nss/nss_files/files-network.c: Likewise.
82792         * nss/nss_files/files-proto.c: Likewise.
82793         * nss/nss_files/files-pwd.c: Likewise.
82794         * nss/nss_files/files-rpc.c: Likewise.
82795         * nss/nss_files/files-service.c: Likewise.
82796         * nss/nss_files/files-sgrp.c: Likewise.
82797         * nss/nss_files/files-spwd.c: Likewise.
82798         * nss/nss_db/db-alias.c: Removed.
82799         * nss/nss_db/dummy-db.h: Removed.
82801 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82803         * nss/makedb.c: Rewritten to not use database library.
82804         * nss/Makefile: Update to build new makedb program.
82806 2011-06-14  Andreas Jaeger  <aj@suse.de>
82808         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82809         memset declaration.
82811 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82814         tmpbuf.
82816 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82818         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82819         * elf/Makefile ($(objpfx)ld.so): Likewise.
82821         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82822         Don't list ld.so twice in dependencies.
82824         * posix/bug-regex31.c: Include <stdlib.h>.
82826         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82828         * nis/nss_compat/compat-spwd.c
82829         (getspent_next_nss_netgr): Remove unused variable.
82830         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82832         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82833         nonmembers" output to use the right array.
82835         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82837         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82839         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82840         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82841         * catgets/gencat.c (read_input_file): Likewise.
82842         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82844         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82845         variable definition inside #if's controlling its use.
82847         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82849         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82851         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82853         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82854         unreachable code.
82856         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82858         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82859         * configure: Regenerated.
82861         * Makerules: Revert last change.
82862         * elf/Makefile: Likewise.
82864 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82866         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82867         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82868         (reloc-link): Likewise.
82870 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82872         * elf/Makefile: Add rules to build pldd.
82873         * elf/pldd.c: New file.
82874         * elf/pldd-xx.c: New file.
82876 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82878         * version.h: Update for 2.15 development version.
82880 2011-06-07  David S. Miller  <davem@davemloft.net>
82882         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82883         ifuncs.
82884         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82885         elf_machine_lazy_rel): Likewise.
82886         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82887         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82888         elf_machine_lazy_rel): Likewise.
82889         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82890         dl_hwcap via passed in argument.
82891         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82892         Likewise.
82894 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82896         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82898 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82900         [BZ #12849]
82901         * manual/fdl-1.1.texi: New file, verbatim from:
82902         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82903         * manual/lgpl-2.1.texi: New file, verbatim from:
82904         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82905         * manual/Makefile (licenses): New variable, list those new file names.
82906         (texis): Use it.
82907         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82909         * manual/fdl.texi: File removed.
82910         * manual/lesser.texi: File removed.
82911         * manual/libc.texinfo (Copying, Documentation License):
82912         Use new @include file names, put @appendix directive before @include.
82914 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82916         [BZ #12841]
82917         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82918         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82919         (mq_open): Add __NTH.
82921 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82924         Assume Intel Core i3/i5/i7 processor if AVX is available.
82926 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82928         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82929         typo.
82931 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82933         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82934         memory.  Use alloca_account.  Fix memory leak when retrying.
82936 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82938         * version.h (RELEASE): Bump for 2.14 release.
82939         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82941         * config.make.in (RANLIB): Remove entry.
82943 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82945         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82946         (libc.pot): Work around missing support for .ksh extension in xgettext.
82948         [BZ #12684]
82949         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82950         if both request failed.
82951         (send_dg): In case of server errors clear resplen or *resplen2.
82953         [BZ #12454]
82954         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82955         when there are multiple maps.
82956         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82957         (_dl_fini): Remove test here.
82959         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82961 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82963         [BZ #12350]
82964         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82965         bit from old_res_options.
82966         (gaih_inet): Likewise.
82968         [BZ #11099]
82969         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82970         as signed.
82972         * resolv/res_init.c (res_setoptions): Make the code more compact.
82974         [BZ #11558]
82975         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82976         set RES_USEVC.
82978         [BZ #11634]
82979         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82981         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82983         [BZ #11781]
82984         * malloc/malloc.h: Declare malloc hook variables as volatile.
82986         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82987         in last patch.
82989         [BZ #11799]
82990         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82991         raise in the comment.
82992         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82993         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82994         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82996 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82998         [BZ #12811]
82999         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83000         grow the buffers more if it already has to be sufficient.
83001         (build_wcs_upper_buffer): Likewise.
83002         * posix/regexec.c (check_matching): Likewise.
83003         (clean_state_log_if_needed): Likewise.
83004         (extend_buffers): Don't enlarge buffers beyond size of the input
83005         buffer.
83006         Patches mostly by Emil Wojak <emil@wojak.eu>.
83007         * posix/bug-regex32.c: New file.
83008         * posix/Makefile (tests): Add bug-regex32.
83010         * locale/findlocale.c (_nl_find_locale): Return right away if
83011         _nl_explode_name failed.
83012         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83014         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83016         * debug/xtrace.sh: Unify messages.
83017         * malloc/memusage.sh: Likewise.
83019         [BZ #12813]
83020         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83021         time symbol from vDSO.  Substitute with vsyscall if not available.
83022         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83023         __vdso_time.
83025         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83026         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83027         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83028         Add sendmmsg and internal_sendmmsg.
83029         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83030         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83031         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83033         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83034         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83035         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83037 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83039         [BZ #12813]
83040         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83041         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83042         available.
83043         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83044         __vdso_getcpu.
83046         [BZ #12814]
83047         * iconvdata/Makefile (tests): Add bug-iconv9.
83048         * iconvdata/bug-iconv9.c: New file.
83050 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83052         [BZ #12814]
83053         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83055 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83058         (struct user_regs_struct): Change intcs field back to cs.
83060 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83062         * po/ja.po: Update from translation team.
83064 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83066         [BZ #12795]
83067         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83068         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83070 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83072         * stdlib/longlong.h: Update from GCC.
83074 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83076         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83077         parameter name.
83078         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83079         Add parameter name.
83080         (__sysconf): Pass it down.
83082 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83084         [BZ #12671]
83085         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83086         some situations.
83087         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83088         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83089         add in in __libc_use_alloca calls.  Adjust callers.
83090         (glob): Use malloc in some situations.
83092         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83093         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83094         pltexit.
83096 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83098         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83099         and CLOCK_BOOTTIME_ALARM.
83101         [BZ #12782]
83102         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83103         is returned.
83105         * string/_strerror.c (__strerror_r): Print negative errors as signed
83106         numbers.
83108         [BZ #12777]
83109         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83110         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83111         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83113         * configure.in: Fix typo in redirection and correct removal of test
83114         files in two cases.
83116         [BZ #12788]
83117         * locale/setlocale.c (new_composite_name): Fix test to check for
83118         identical name of all categories.
83120         [BZ #12792]
83121         * libio/filedoalloc.c (local_isatty): New function.
83122         (_IO_file_doallocate): Use local_isatty.
83123         * stdio-common/perror.c (perror): In case a new stream is used
83124         forward the stream error.
83125         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83126         error flag.
83128 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83130         [BZ #11884]
83131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83132         alloca.
83133         * include/alloca.h (extend_alloca_account): Define.
83135         [BZ #11857]
83136         * posix/regex.h: Fix comments with documentation of user-accessible
83137         fields after compilation and describe correct free'ing of pattern
83138         after re_compile_pattern.
83139         Patch by Reuben Thomas <rrt@sc3d.org>.
83141 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83143         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83144         and -mno-altivec to prevent the compiler from using Altivec and/or
83145         VSX instructions when the corresponding registers are not available.
83147 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83149         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83151 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83153         * libio/freopen.c (freopen): Use __dup2, not dup2.
83154         * libio/freopen64.c (freopen64): Likewise.
83156 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83158         [BZ #12775]
83159         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83160         * math/Makefile (tests): Add test-powl.
83161         (CFLAGS-test-powl.c): Define.
83162         * math/test-powl.c: New file.
83164 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83166         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83168 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83170         [BZ #11837]
83171         * iconvdata/gb18030.c: Update to GB18020-2005.
83173 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83175         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83176         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83177         Patch by Aharon Robbins <arnold@skeeve.com>.
83179         [BZ #11892]
83180         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83181         on the stack.
83183         [BZ #11895]
83184         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83185         through underflows.
83187         [BZ #12766]
83188         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83189         point to strings before performing equality test for error_one_per_line
83190         mode.
83192         [BZ #11697]
83193         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83195         [BZ #11820]
83196         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83197         (struct user_fpregs_struct): Avoid __uint*_t types.
83199         [BZ #6420]
83200         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83201         symbol info.  Use it instead of calling _dl_addr locally.
83202         (lock_and_info): New function.
83203         (tr_freehook): Call lock_and_info and pass symbol info as additional
83204         parameter to tr_where.
83205         (tr_mallochook): Likewise.
83206         (tr_reallochook): Likewise.
83207         (tr_memalignhook): Likewise.
83209         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83210         used and couldn't be at all thread-safe.
83212 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83214         * libio/freopen.c (freopen): Don't close old file descriptor
83215         before the new one is opened.  Instead dup the new file descriptor
83216         to the old one after the new stream is created.
83217         * libio/freopen64.c (freopen64): Likewise.
83218         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83219         * libio/fileops.c (_IO_new_file_close_it): Handle new
83220         _IO_FLAGS2_NOCLOSE flag.
83221         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83222         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83223         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83224         _IO_FLAGS2_NOCLOSE flag.
83225         * include/unistd.h: Add hidden_proto for dup3.
83226         Define __have_dup3.
83227         * io/dup3.c: Define hidden symbol.
83228         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83230         [BZ #7101]
83231         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83232         when an incomplete long option is used.
83233         * posix/tst-getopt_long1.c: New file.
83234         * posix/Makefile (tests): Add tst-getopt_long1.
83236         [BZ #10138]
83237         * scripts/config.guess: Update from autoconf-2.68.
83238         * scripts/config.sub: Likewise.
83240         [BZ #10157]
83241         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83242         tests into ...
83243         (has_cpuclock): ...this.  New function.
83244         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83245         macro here based on has_cpuclock code.
83247         [BZ #10149]
83248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83249         First byte (not low byte) is now always NUL.
83250         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83252         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83253         Use non-cancelable interfaces.
83255         [BZ #9809]
83256         * locale/iso-639.def: Add entry for Sorani.
83258         [BZ #11901]
83259         * include/stdlib.h: Move include protection to the right place.
83260         Define abort_msg_s.  Declare __abort_msg with it.
83261         * stdlib/abort.c (__abort_msg): Adjust type.
83262         * assert/assert.c (__assert_fail_base): New function.  Majority
83263         of code from __assert_fail.  Allocate memory for __abort_msg with
83264         mmap.
83265         (__assert_fail): Now call __assert_fail_base.
83266         * assert/assert-perr.c: Remove bulk of implementation.  Use
83267         __assert_fail_base.
83268         * include/assert.hL Declare __assert_fail_base.
83269         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83270         mmap.
83271         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83273 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83275         [BZ #11952]
83276         [BZ #12453]
83277         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83278         until all modules are registered in the DTV.
83279         * elf/Makefile: Add rules to build and run tst-tls19.
83280         * elf/tst-tls19.c: New file.
83281         * elf/tst-tls19mod1.c: New file.
83282         * elf/tst-tls19mod2.c: New file.
83283         * elf/tst-tls19mod3.c: New file.
83284         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83286         [BZ #12083]
83287         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83288         correctly.
83290         [BZ #12601]
83291         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83292         two-byte sequence errors.
83293         * iconvdata/Makefile (tests): Add bug-iconv8.
83294         * iconvdata/bug-iconv8.c: New file.
83296         [BZ #12626]
83297         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83298         buf2 definition.
83300         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83302         [BZ #12432]
83303         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83304         (dummy_getcfa): New function.
83305         (init): Get _Unwind_GetCFA address, use dummy if not found.
83306         (backtrace_helper): In recursion check, also check whether CFA changes.
83307         (__backtrace): Completely initialize arg.
83309         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83310         storing incomplete byte sequence in state object.  Avoid testing for
83311         guaranteed too small input if we know there is enough data available.
83313 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83315         * Makeconfig (+link-pie): Indent.
83316         * Rules (binaries-pie): Define if $(have-fpie) and
83317         $(build-shared).
83318         (binaries-shared): Also filter out $(binaries-pie).
83319         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83320         * nscd/Makefile (others-pie): Add nscd.
83321         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83322         ($(objpfx)nscd): Remove command override.
83323         * login/Makefile (others-pie): Add pt_chown.
83324         ($(objpfx)pt_chown): Remove command override.
83325         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83326         remove command overrides.
83328 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83330         * libio/tst_putwc.c: Fix error messages.
83332         [BZ #12724]
83333         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83334         currently writing and seek to current position when not.
83335         * libio/Makefile (tests): Add bug-fclose1.
83336         * libio/bug-fclose1.c: New file.
83338 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83340         [BZ #12511]
83341         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83342         don't set DF_1_NODELETE here.
83343         (do_lookup_x): When entering new entry test for copy relocation
83344         and if necessary set DF_1_NODELETE flag.
83345         * elf/tst-unique4.cc: New file.
83346         * elf/tst-unique4.h: New file.
83347         * elf/tst-unique4lib.cc: New file.
83348         * elf/Makefile: Add rules to build and run tst-unique4.
83349         Patch by Piotr Bury <pbury@goahead.com>.
83351 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83353         [BZ #12052]
83354         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83356         [BZ #12625]
83357         * misc/mntent_r.c (addmntent): Flush the stream after the output
83359         [BZ #12393]
83360         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83361         (is_trusted_path_normalize): Skip initial colon.  Append slash
83362         to empty buffer.  Duplicate is_trusted_path code but allow
83363         constructed patch to be prefix.
83364         (is_dst): Allow $ORIGIN followed by /.
83365         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83366         Correct testing of result of is_trusted_path_normalize
83367         (decompose_rpath): Fix warning.
83369 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83371         [BZ #11257]
83372         * grp/initgroups.c (internal_getgrouplist): When we found the service
83373         list through the initgroups entry in nsswitch.conf do not always
83374         continue on a successful lookup.  Don't always use the
83375         __nss_group_database value if it is set.
83376         * nss/nsswitch.conf (initgroups): Change action for successful db
83377         lookup to continue for compatibility.
83379 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83381         [BZ #11532]
83382         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83383         and CP774 modules.
83384         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83385         and CP774 modules.
83386         * iconvdata/tst-tables.sh: Likewise.
83387         * iconvdata/cp770.c: New file.
83388         * iconvdata/cp771.c: New file.
83389         * iconvdata/cp772.c: New file.
83390         * iconvdata/cp773.c: New file.
83391         * iconvdata/cp774.c: New file.
83392         * iconvdata/testdata/CP770: New file.
83393         * iconvdata/testdata/CP770..UTF8: New file.
83394         * iconvdata/testdata/CP771: New file.
83395         * iconvdata/testdata/CP771..UTF8: New file.
83396         * iconvdata/testdata/CP772: New file.
83397         * iconvdata/testdata/CP772..UTF8: New file.
83398         * iconvdata/testdata/CP773: New file.
83399         * iconvdata/testdata/CP773..UTF8: New file.
83400         * iconvdata/testdata/CP774: New file.
83401         * iconvdata/testdata/CP774..UTF8: New file.
83403         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83404         END CHARMAP line.
83405         * iconvdata/gen-8bit-gap.sh: Likewise.
83406         * iconvdata/gen-8bit.sh: Likewise.
83408         * locale/iso-639.def: Add ary entry.
83410         [BZ #11258]
83411         * locale/C-translit.h.in: Add U20A1 transliteration.
83413         [BZ #12178]
83414         * locale/iso-639.def: Add wae entry.
83415         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83417         [BZ #12545]
83418         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83419         for n.
83421         [BZ #12711]
83422         * locale/C-translit.h.in: Add entry for U20B9.
83423         Patch by pravin.d.s@gmail.com.
83425 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83427         [BZ #12713]
83428         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83429         ENAMETOOLONG use generic getcwd.
83430         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83431         in rtld.  Use *stat64.
83432         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83433         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83434         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83435         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83436         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83437         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83438         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83439         __fstatat64 macros.
83440         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83441         * dirent/rewinddir.c: Add libc_hidden_def.
83442         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83443         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83445         * include/dirent.h (__alloc_dir): Add flags parameter.
83446         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83447         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83448         __alloc_dir.
83449         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83450         from fdopendir if O_CLOEXEC is already set.
83452 2011-03-15  Alan Modra  <amodra@gmail.com>
83454         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83455         l_tls_firstbyte_offset non-zero.  Save padding offset in
83456         l_tls_firstbyte_offset for later use.
83457         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83458         freeing static tls block.
83460 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83462         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83463         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83464         being defined by the kernel headers.
83466 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83468         [BZ #12734]
83469         * resolv/resolv.h: Define RES_NOTLDQUERY.
83470         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83471         no-tld-query and set RES_NOTLDQUERY.
83472         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83473         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83474         modern BIND to search name as TLD unless forbidden.
83476 2011-05-07  Petr Baudis  <pasky@suse.cz>
83477             Ulrich Drepper  <drepper@gmail.com>
83479         [BZ #12393]
83480         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83481         (is_trusted_path): ...to here.
83482         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83483         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83484         using is_trusted_path_normalize() in setuid scripts.
83486 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83488         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83489         __BEGIN/__END_DECLS.
83491 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83493         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83494         NSS_STATUS_NOTFOUND if no record was found.
83496 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83498         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83499         (headers-not-in-tirpc): Remove rpc/netdb.h
83500         * resolv/netdb.h: Revert last change.
83502 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83504         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83505         circular dependency between libgcc.a and libc.a.
83507 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83509         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83510         * nis/Makefile: Don't install rpcsvc/*.
83511         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83512         instead of <rpc/types.h>.
83513         (MAXHOSTNAMELEN): Define.
83515 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83517         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83519 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83521         [BZ #12714]
83522         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83523         gethostbyname4_r when IPv6 results are possible.
83525 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83527         [BZ #12723]
83528         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83529         _PC_PIPE_BUF handling.
83531 2011-04-30  Bruno Haible  <bruno@clisp.org>
83533         [BZ #12717]
83534         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83535         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83536         to 'int'.
83537         * inet/getnameinfo.c (getnameinfo): Likewise.
83539 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83541         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83542         to groups setting in database lookup.
83543         * nss/nsswitch.conf: Add initgroups entry.
83545 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83547         [BZ #12685]
83548         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83549         mode string.
83550         Patch by Eric Blake <eblake@redhat.com>.
83552 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83554         * sunrpc/Makefile (need-export-routines): Add svc_run.
83555         (routines): Remove svc_run.
83556         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83557         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83558         * sunrpc/svc_run.c (svc_run): Likewise.
83559         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83561 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83563         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83564         problem in reallocation in last patch.
83566 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83568         * sunrpc/Makefile: Move inclusion of Rules.
83570 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83572         * nss/nss_files/files-initgroups.c: New file.
83573         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83574         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83575         _nss_files_initgroups_dyn.
83577 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83579         * elf/elf.h (R_ARM_IRELATIVE): Define.
83581 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83583         * po/ru.po: Update from translation team.
83585 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83587         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83588         dependencies.
83590 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83592         [BZ #12653]
83593         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83594         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83595         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83596         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83599 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83601         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83602         differing bytes.
83603         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83604         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83605         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83607 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83609         [BZ #12420]
83610         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83611         storing it.
83612         * stdlib/bug-getcontext.c: New file.
83613         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83615 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83617         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83618         instructions into .machine "z9-109".
83619         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83620         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83622 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83624         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83625         between environment variables and auxiliary vector.
83627 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83629         * Makefile: Add rules to build linkobj/libc.so.
83630         * include/libc-symbols.h: Define libc_hidden_nolink.
83631         * include/rpc/auth.h: Mark functions which are to be hidden.
83632         * include/rpc/auth_des.h: Likewise.
83633         * include/rpc/auth_unix.h: Likewise.
83634         * include/rpc/clnt.h: Likewise.
83635         * include/rpc/des_crypt.h: Likewise.
83636         * include/rpc/key_prot.h: Likewise.
83637         * include/rpc/pmap_clnt.h: Likewise.
83638         * include/rpc/pmap_prot.h: Likewise.
83639         * include/rpc/pmap_rmt.h: Likewise.
83640         * include/rpc/rpc_msg.h: Likewise.
83641         * include/rpc/svc.h: Likewise.
83642         * include/rpc/svc_auth.h: Likewise.
83643         * include/rpc/xdr.h: Likewise.
83644         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83645         * nss/Makefile: Likewise.
83646         * sunrpc/Makefile: Don't install headers.  Build library with normal
83647         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83648         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83649         for the compat linking library.  Remove use of INTDEF/INTUSE.
83650         * sunrpc/auth_none.c: Likewise.
83651         * sunrpc/auth_unix.c: Likewise.
83652         * sunrpc/authdes_prot.c: Likewise.
83653         * sunrpc/authuxprot.c: Likewise.
83654         * sunrpc/clnt_gen.c: Likewise.
83655         * sunrpc/clnt_perr.c: Likewise.
83656         * sunrpc/clnt_raw.c: Likewise.
83657         * sunrpc/clnt_simp.c: Likewise.
83658         * sunrpc/clnt_tcp.c: Likewise.
83659         * sunrpc/clnt_udp.c: Likewise.
83660         * sunrpc/clnt_unix.c: Likewise.
83661         * sunrpc/des_crypt.c: Likewise.
83662         * sunrpc/des_soft.c: Likewise.
83663         * sunrpc/get_myaddr.c: Likewise.
83664         * sunrpc/key_call.c: Likewise.
83665         * sunrpc/key_prot.c: Likewise.
83666         * sunrpc/netname.c: Likewise.
83667         * sunrpc/pm_getmaps.c: Likewise.
83668         * sunrpc/pm_getport.c: Likewise.
83669         * sunrpc/pmap_clnt.c: Likewise.
83670         * sunrpc/pmap_prot.c: Likewise.
83671         * sunrpc/pmap_prot2.c: Likewise.
83672         * sunrpc/pmap_rmt.c: Likewise.
83673         * sunrpc/publickey.c: Likewise.
83674         * sunrpc/rpc_cmsg.c: Likewise.
83675         * sunrpc/rpc_common.c: Likewise.
83676         * sunrpc/rpc_dtable.c: Likewise.
83677         * sunrpc/rpc_prot.c: Likewise.
83678         * sunrpc/rpc_thread.c: Likewise.
83679         * sunrpc/rtime.c: Likewise.
83680         * sunrpc/svc.c: Likewise.
83681         * sunrpc/svc_auth.c: Likewise.
83682         * sunrpc/svc_authux.c: Likewise.
83683         * sunrpc/svc_raw.c: Likewise.
83684         * sunrpc/svc_run.c: Likewise.
83685         * sunrpc/svc_simple.c: Likewise.
83686         * sunrpc/svc_tcp.c: Likewise.
83687         * sunrpc/svc_udp.c: Likewise.
83688         * sunrpc/svc_unix.c: Likewise.
83689         * sunrpc/svcauth_des.c: Likewise.
83690         * sunrpc/xcrypt.c: Likewise.
83691         * sunrpc/xdr.c: Likewise.
83692         * sunrpc/xdr_array.c: Likewise.
83693         * sunrpc/xdr_float.c: Likewise.
83694         * sunrpc/xdr_intXX_t.c: Likewise.
83695         * sunrpc/xdr_mem.c: Likewise.
83696         * sunrpc/xdr_rec.c: Likewise.
83697         * sunrpc/xdr_ref.c: Likewise.
83698         * sunrpc/xdr_sizeof.c: Likewise.
83699         * sunrpc/xdr_stdio.c: Likewise.
83701 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83703         [BZ #12650]
83704         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83705         * sysdeps/ia64/dl-tls.h: Likewise.
83706         * sysdeps/powerpc/dl-tls.h: Likewise.
83707         * sysdeps/s390/dl-tls.h: Likewise.
83708         * sysdeps/sh/dl-tls.h: Likewise.
83709         * sysdeps/sparc/dl-tls.h: Likewise.
83710         * sysdeps/x86_64/dl-tls.h: Likewise.
83711         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83713 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83715         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83716         rpath element also skip the following colon.
83717         (expand_dynamic_string_token): Add is_path parameter and pass
83718         down to DL_DST_REQUIRED and _dl_dst_substitute.
83719         (decompose_rpath): Call expand_dynamic_string_token with
83720         non-zero is_path.  Ignore empty rpaths.
83721         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83722         with zero is_path.
83724 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83727         Make cancelable.
83729 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83731         [BZ #12655]
83732         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83733         Patch by Filipe David Manana <fdmanana@apache.org>.
83735 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83737         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83738         Maintain aligned stack.
83739         (CHECK_RSP): Remove unused macro.
83741 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83743         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83744         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83746 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83748         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83750         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83752 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83754         [BZ #12518]
83755         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83756         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83757         * sysdeps/x86_64/memmove.c: New file.
83758         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83759         (memcpy): Renamed to ...
83760         (__new_memcpy): This.
83761         (memcpy): Provide GLIBC_2_14 memcpy.
83762         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83763         (memcpy): Provide GLIBC_2_2_5 memcpy.
83765 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83767         [BZ #12631]
83768         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83770 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83772         * misc/syncfs.c: New file.
83773         * misc/Makefile (routines): Add syncfs.
83774         * posix/unistd.h: Declare syncfs.
83775         * sysdeps/unix/syscalls.list: Add syncfs.
83777 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83779         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83780         open_by_handle_at.
83781         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83782         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83783         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83785         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83786         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83787         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83789 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83791         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83792         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83793         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83794         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83795         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83797         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83799         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83800         sync_file_range.c with -fexceptions.
83801         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83802         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83803         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83804         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83805         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83806         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83807         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83808         sync_file_range as cancellation point
83809         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83810         now a wrapper around __call_sync_file_range with cancellation handling.
83811         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83812         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83813         function name to __call_sync_file_range.
83814         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83815         Add call_sync_file_range.
83817 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83820         bits/timex.h.
83822 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83824         * iconv/iconv.h: Fix typo in comment.
83825         * io/fcntl.h: Likewise.
83826         * libio/stdio.h: Likewise.
83827         * posix/spawn.h: Likewise.
83828         * posix/unistd.h: Likewise.
83829         * stdlib/stdlib.h: Likewise.
83830         * time/time.h: Likewise.
83831         * wcsmbs/wchar.h: Likewise.
83833         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83834         open_by_handle): Add.
83835         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83836         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83837         Augment a few comments.
83838         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83839         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83840         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83842         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83843         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83844         open_by_handle.
83846         * io/fcntl.h (AT_EMPTY_PATH): Define.
83848 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83850         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83851         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83852         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83853         to...
83854         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83855         * Versions.def: Add GLIBC_2.14.
83856         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83857         Export.
83859 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83861         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83862         round counter.
83863         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83865 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83867         [BZ #12597]
83868         * string/test-strncmp.c (do_page_test): New function.
83869         (check2): Likewise.
83870         (test_main): Call check2.
83871         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83873 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83875         [BZ #12587]
83876         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83877         Handle cache information in CPU leaf 4.
83878         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83880 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83882         [BZ #12583]
83883         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83884         character representation.
83885         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83887 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83889         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83890         END(__isnan) to END(__isnanf) to match function entry point/label
83891         EALIGN(__isnanf,...).
83893 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83895         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83897 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83899         [BZ #12510]
83900         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83901         copy from the symbol referenced in the relocation to initialize the
83902         used variable.
83903         Patch by Piotr Bury <pbury@goahead.com>.
83904         * elf/Makefile: Add rules to build and tst-unique3.
83905         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83906         * elf/tst-unique3.cc: New file.
83907         * elf/tst-unique3.h: New file.
83908         * elf/tst-unique3lib.cc: New file.
83909         * elf/tst-unique3lib2.cc: New file.
83911         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83913 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83915         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83916         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83917         to _start.
83919 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83921         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83922         to-be-loaded object along a path to loader is ld.so.
83924 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83925             Ulrich Drepper  <drepper@gmail.com>
83927         * sysdeps/x86_64/memset.S: After aligning destination, code
83928         branches to different locations depending on the value of
83929         misalignment, when multiarch is enabled. Fix this.
83931 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83933         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83934         Set _x86_64_preferred_memory_instruction for AMD processsors.
83935         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83936         Set bit_Prefer_SSE_for_memop for AMD processors.
83938 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83940         * libio/fmemopen.c (fmemopen): Optimize a bit.
83942 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83944         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83946 2011-03-03  Roland McGrath  <roland@redhat.com>
83948         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83950 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83952         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83953         __bzero_ultra1 instead of __memset_ultra1.
83955 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83956             Ulrich Drepper  <drepper@gmail.com>
83958         [BZ #12509]
83959         * include/link.h (struct link_map): Add l_orig_initfini.
83960         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83961         returning unsuccessfully.
83962         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83963         close of a file loaded at startup, restore the original l_initfini
83964         list.
83965         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83966         list, store the pointer.
83967         * elf/Makefile ($(objpfx)noload-mem): New rule.
83968         (noload-ENV): Define.
83969         (tests): Add $(objpfx)noload-mem.
83970         * elf/noload.c: Include <memcheck.h>.
83971         (main): Call mtrace.  Close all opened handles.
83973 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83975         [BZ #12454]
83976         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83977         dependencies are missing.
83979 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83981         Fix __if_freereq crash: Unlike the generic version which uses free,
83982         Hurd needs munmap.
83983         * sysdeps/mach/hurd/ifreq.h: New file.
83985 2011-01-27  Petr Baudis  <pasky@suse.cz>
83986             Ulrich Drepper  <drepper@gmail.com>
83988         [BZ 12445]#
83989         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83990         to extend_alloca().
83991         * stdio-common/bug23.c: New file.
83992         * stdio-common/Makefile (tests): Add bug23.
83994 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83995             Ulrich Drepper  <drepper@gmail.com>
83997         [BZ #12489]
83998         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83999         before performing relro protection.  At old place add assertion
84000         to make sure nothing changed.
84002 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84003             Glauber de Oliveira Costa  <glommer@gmail.com>
84005         * elf/elf.h: Add new ARM TLS relocs.
84007 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84010         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84011         cast from r3.
84012         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84013         'tests' variable.
84014         * sysdeps/wordsize-64/tst-writev.c: New file.
84016 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84018         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84019         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84020         insns in _dl_start to prevent a TOC reference before relocs are
84021         resolved.
84023 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84025         [BZ #12469]
84026         * Makeconfig: Remove RANLIB definition.
84027         * Makerules: Don't use RANLIB.
84028         * aclocal.m4: Remove ranlib test.
84029         * configure.in: No need to check for ranlib.
84030         * elf/rtld-Rules: Don't use RANLIB.
84032 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84034         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84035         protection macro.
84036         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84037         inclusion protection macro.
84039         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84040         SIGRTMIN and SIGRTMAX and print information in that case only when
84041         SIGRTMIN is defined.
84043 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84045         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84046         arginfo fn returning -1.
84048         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84049         and thousands string is zero terminated.
84051 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84054         sysdeps/unix/sysv/linux/bits/socket.h.
84056 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84058         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84059         (__CPU_COUNT): Remove old macros.
84060         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84061         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84062         (__CPU_ALLOC, __CPU_FREE): Add macros.
84063         (__sched_cpualloc, __sched_cpufree): Add declarations.
84065 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84067         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84068         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84069         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84070         (readdhstai): Return value of addhstaiX call.
84071         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84072         (addgrbyX): Return value returned by cache_addgr.
84073         (readdgrbyname): Return value returned by addgrbyX.
84074         (readdgrbygid): Likewise.
84075         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84076         (addpwbyX): Return value returned by cache_addpw.
84077         (readdpwbyname): Return value returned by addhstbyX.
84078         (readdpwbyuid): Likewise.
84079         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84080         (addservbyX): Return value returned by cache_addserv.
84081         (readdservbyname): Return value returned by addservbyX:
84082         (readdservbyport): Likewise.
84083         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84084         (addhstbyX): Return value returned by cache_addhst.
84085         (readdhstbyname): Return value returned by addhstbyX.
84086         (readdhstbyaddr): Likewise.
84087         (readdhstbynamev6): Likewise.
84088         (readdhstbyaddrv6): Likewise.
84089         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84090         (readdinitgroups): Return value returned by addinitgroupsX.
84091         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84092         (prune_cache): Keep track of timeout value of re-added entries.
84093         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84094         * nscd/nscd.h: Adjust prototypes of readd* functions.
84096 2011-02-04  Roland McGrath  <roland@redhat.com>
84098         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84099         (nis_stats): Likewise.
84100         * nis/nis_modify.c (nis_modify): Likewise.
84101         * nis/nis_remove.c (nis_remove): Likewise.
84102         * nis/nis_add.c (nis_add): Likewise.
84104         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84106         * posix/fnmatch_loop.c: Add some consts.
84108         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84110 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84112         [BZ #12460]
84113         * config.make.in (config-cflags-novzeroupper): Define.
84114         * configure.in: Substitute libc_cv_cc_novzeroupper.
84115         * elf/Makefile (AVX-CFLAGS): Define.
84116         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84117         (CFLAGS-tst-auditmod4a.c): Likewise.
84118         (CFLAGS-tst-auditmod4b.c): Likewise.
84119         (CFLAGS-tst-auditmod6b.c): Likewise.
84120         (CFLAGS-tst-auditmod6c.c): Likewise.
84121         (CFLAGS-tst-auditmod7b.c): Likewise.
84122         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84124 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84126         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84127         function to the callback.
84128         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84130 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84132         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84133         of errno.
84135 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84137         [BZ #11724]
84138         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84139         of constructors.
84140         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84141         of destructors.
84142         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84144         [BZ #11724]
84145         * elf/Makefile: Add rules to build and run new test.
84146         * elf/tst-initorder.c: New file.
84147         * elf/tst-initorder.exp: New file.
84148         * elf/tst-initordera1.c: New file.
84149         * elf/tst-initordera2.c: New file.
84150         * elf/tst-initordera3.c: New file.
84151         * elf/tst-initordera4.c: New file.
84152         * elf/tst-initorderb1.c: New file.
84153         * elf/tst-initorderb2.c: New file.
84154         * elf/tst-order-a1.c: New file.
84155         * elf/tst-order-a2.c: New file.
84156         * elf/tst-order-a3.c: New file.
84157         * elf/tst-order-a4.c: New file.
84158         * elf/tst-order-b1.c: New file.
84159         * elf/tst-order-b2.c: New file.
84160         * elf/tst-order-main.c: New file.
84161         New test case by George Gensure <werkt0@gmail.com>.
84163 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84165         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84166         decoding ACE if AI_CANONIDN.
84168 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84170         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84172 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84174         * version.h (RELEASE): Bump for 2.13 release.
84175         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84177         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84179         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84180         MADV_NOHUGEPAGE.
84181         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84182         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84183         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84184         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84185         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84186         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84188         * posix/getconf.c: Update copyright year.
84189         * catgets/gencat.c: Likewise.
84190         * csu/version.c: Likewise.
84191         * debug/catchsegv.sh: Likewise.
84192         * debug/xtrace.sh: Likewise.
84193         * elf/ldconfig.c: Likewise.
84194         * elf/ldd.bash.in: Likewise.
84195         * elf/sprof.c (print_version): Likewise.
84196         * iconv/iconv_prog.c: Likewise.
84197         * iconv/iconvconfig.c: Likewise.
84198         * locale/programs/locale.c: Likewise.
84199         * locale/programs/localedef.c: Likewise.
84200         * malloc/memusage.sh: Likewise.
84201         * malloc/mtrace.pl: Likewise.
84202         * nscd/nscd.c (print_version): Likewise.
84203         * nss/getent.c: Likewise.
84205         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84206         PF_CAIF, and PF_ALG.
84207         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84209 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84211         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84212         (modules-names): Use them.
84213         (ifunc-test-modules, ifunc-pie-tests): Define.
84214         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84215         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84216         (test-extras): Likewise.
84217         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84218         $(compile-command.c).
84219         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84220         (all-built-dso): Define.
84221         (check-textrel.out, check-execstack.out): Depend on it.
84223         * configure.in: Don't override --enable-multi-arch.
84225 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84227         [BZ #6812]
84228         * nscd/hstcache.c (tryagain): Define.
84229         (cache_addhst): Return tryagain not notfound for temporary errors.
84230         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84231         failed.
84233 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84235         [BZ #10563]
84236         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84237         to make the syscall.
84238         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84240         [BZ #12378]
84241         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84242         and fall back to matching as normal character if the string ends before
84243         the matching ']' is found.  This is what POSIX requires.
84244         * posix/testfnm.c: Adjust test result.
84245         * posix/globtest.sh: Adjust test result.  Add new test.
84246         * posix/tst-fnmatch.input: Likewise.
84247         * posix/tst-fnmatch2.c: Add new test.
84249 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84251         * elf/Makefile (check-execstack): Revert last change.  Depend on
84252         check-execstack.h.
84253         (check-execstack.h): New target.
84254         (generated): Add check-execstack.h.
84255         * elf/check-execstack.c: Include "check-execstack.h".
84256         (main): Revert last change.
84257         (handle_file): Return zero if GNU_STACK is absent and
84258         DEFAULT_STACK_PERMS doesn't include PF_X.
84260 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84262         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84263         in child fails because the descriptor is already closed.
84264         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84265         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84266         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84268         [BZ #12397]
84269         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84270         syscall.
84272         [BZ #10484]
84273         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84274         temporary buffer used to handle multi lookups locally.
84275         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84277 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84279         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84280         loader is ld.so.
84282 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84284         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84285         alignment for SSE2.
84287 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84289         [BZ #12394]
84290         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84291         characters.  When rounding increased number of integer digits recompute
84292         number of groups.
84293         * stdio-common/tst-grouping.c: New file.
84294         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84296 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84298         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84299         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84301         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84302         void.
84303         * bits/select.h: Likewise.
84305 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84307         * po/ja.po: Update from translation team.
84309 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84311         [BZ #11155]
84312         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84313         implementation just like for lxstat, fxstatat, et al.
84315 2010-12-27  Jim Meyering  <meyering@redhat.com>
84317         [BZ #12348]
84318         * posix/regexec.c (build_trtable): Return failure indication upon
84319         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84321 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84323         [BZ #12201]
84324         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84325         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84326         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84327         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84329         [BZ #12207]
84330         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84332         [BZ #12204]
84333         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84334         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84336 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84338         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84339         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84340         script has SORT_BY_INIT_PRIORITY.
84341         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84342         NO_CTORS_DTORS_SECTIONS is defined.
84343         * elf/soinit.c: Likewise.
84344         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84345         NO_CTORS_DTORS_SECTIONS is defined.
84346         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84347         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84348         * sysdeps/sh/init-first.c: Likewise.
84349         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84351 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84353         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84354         always use the slow path.
84356 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84358         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84359         similar rule which adds the sysdep directories to the header search in
84360         order to pick up the correct platform stackinfo.h.
84361         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84362         perform test if it is, otherwise return successfully without testing.
84363         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84364         DEFAULT_STACK_PERMS define in stackinfo.h.
84365         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84366         defined in stackinfo.h.
84367         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84368         DEFAULT_STACK_PERMS defined in stackinfo.h.
84369         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84370         * sysdeps/ia64/stackinfo.h: Likewise.
84371         * sysdeps/s390/stackinfo.h: Likewise.
84372         * sysdeps/sh/stackinfo.h: Likewise.
84373         * sysdeps/sparc/stackinfo.h: Likewise.
84374         * sysdeps/x86_64/stackinfo.h: Likewise.
84375         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84376         PF_X for powerpc64.  Retain PF_X for powerpc32.
84378 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84380         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84381         accurately.
84382         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84383         GETDENTS_64BIT_ALIGNED.
84385 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84387         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84389 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84391         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84392         _GNU_SOURCE.
84394         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84395         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84396         Remove __restrict.
84397         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84398         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84400 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84402         [BZ #11655]
84403         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84404         are initialized.
84406 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84408         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84410 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84412         * po/it.po: Update from translation team.
84414 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84417         unused codes.
84419 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84421         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84423 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84425         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84426         specially.
84427         (gaih_getanswer_slice): Likewise.
84429 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84431         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84433 2010-05-31  Petr Baudis  <pasky@suse.cz>
84435         [BZ #11149]
84436         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84437         silently even in the chroot mode.
84439 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84441         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84442         last patch a bit.  Pretty printing
84444 2010-05-31  Petr Baudis <pasky@suse.cz>
84446         [BZ #10085]
84447         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84448         initialization of skip_initgroups_dyn.
84450 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84452         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84453         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84455 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84457         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84459 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84461         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84462         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84463         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84464         ($(objpfx)tst-fnmatch-mem): New rule.
84465         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84466         * posix/tst-fnmatch.c (main): Call mtrace.
84468 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84471         Support Intel processor model 6 and model 0x2c.
84473 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84475         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84476           signed comparison.
84478 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84480         [BZ #12205]
84481         * string/test-strncasecmp.c (check_result): New function.
84482         (do_one_test): Use it.
84483         (check1): New function.
84484         (test_main): Use it.
84485         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84486         Support strcasecmp and strncasecmp.
84488 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84490         [BZ #12194]
84491         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84492         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84494 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84496         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84497         IFUNC support.
84498         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84499         memset-x86-64.
84500         * sysdeps/x86_64/multiarch/bzero.S: New file.
84501         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84502         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84503         * sysdeps/x86_64/multiarch/memset.S: New file.
84504         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84505         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84506         Set bit_Prefer_SSE_for_memop for Intel processors.
84507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84508         Define.
84509         (index_Prefer_SSE_for_memop): Define.
84510         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84512 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84514         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84515         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84517 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84519         [BZ #12191]
84520         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84521         (__x86_64_raw_data_cache_size_half): Likewise.
84522         (__x86_64_raw_shared_cache_size): Likewise.
84523         (__x86_64_raw_shared_cache_size_half): Likewise.
84525         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84526         (__x86_64_raw_data_cache_size_half): Likewise.
84527         (__x86_64_raw_shared_cache_size): Likewise.
84528         (__x86_64_raw_shared_cache_size_half): Likewise.
84529         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84530         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84531         and __x86_64_raw_shared_cache_size_half.  Round
84532         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84533         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84534         to multiple of 256 bytes.
84536 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84538         [BZ #12167]
84539         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84540         of inacessible symlinks.  Verify result of symlink before returning it.
84541         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84542         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84544 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84546         * math/math.h (isinf): Fix typo in comment.
84548 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84550         * po/da.po: Update from translation team.
84552 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84554         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84555         is added to the list.
84557 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84558             Ulrich Drepper  <drepper@gmail.com>
84560         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84561         the global list here.  Move code to...
84562         (_dl_add_to_namespace_list): ...here.  New function.
84563         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84564         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84565         * elf/dl-load.c (lose): Don't remove the element from the list.
84566         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84567         (_dl_map_object): Likewise.
84569 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84571         [BZ #12159]
84572         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84573         into all bytes of SSE register.
84574         Patch by Richard Li <richardpku@gmail.com>.
84576 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84578         [BZ #12140]
84579         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84580         perturbing.
84582 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84584         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84585         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84586         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84587         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84589         submachine.
84590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84592 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84594         * include/dlfcn.h (__RTLD_SECURE): Define.
84595         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84596         mode & __RTLD_SECURE instead.
84597         (open_path): Rename preloaded parameter to secure.
84598         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84599         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84600         * elf/dl-deps.c (openaux): Likewise.
84601         * elf/rtld.c (struct map_args): Remove is_preloaded.
84602         (map_doit): Don't use it.
84603         (dl_main): Likewise.
84604         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84605         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84607 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84609         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84610         (sysd-rules-targets): Remove duplicates.
84611         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84612         rtld-%.$o dependency.
84614 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84616         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84617         _dl_map_object do it.
84619 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84621         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84622         fast fma builtins, define the macros in the C99 standard.
84623         (FP_FAST_FMAF): Likewise.
84624         (FP_FAST_FMAL): Likewise.
84625         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84627         * bits/mathdef.h: Update copyright year.
84628         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84630 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84632         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84633         builtins, define the macros in the C99 standard.
84634         (FP_FAST_FMAF): Likewise.
84635         (FP_FAST_FMAL): Likewise.
84636         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84637         multiply/add.
84638         (FP_FAST_FMAF): Likewise.
84640 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84642         [BZ #3268]
84643         * math/libm-test.inc (fma_test): Some new testcases.
84644         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84645         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84646         y and infinite z.  Do multiplication by C already in long double.
84647         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84649         y and infinite z.  Do bitwise or of inexact bit into u.d.
84650         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84651         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84652         * sysdeps/i386/fpu/s_fma.S: Removed.
84653         * sysdeps/i386/fpu/s_fmal.S: Removed.
84655 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84657         [BZ #3268]
84658         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84659         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84660         computation is not scheduled after fetestexcept.  Fix value
84661         of minimum denormal long double.
84663 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84665         [BZ #3268]
84666         * math/libm-test.inc (fma_test): Add some more tests.
84667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84668         correctly.
84670 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84672         * scripts/data/localplt-s390-linux-gnu.data: New file.
84673         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84675 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84677         [BZ #3268]
84678         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84679         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84680         instead of dbl-64.
84681         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84682         inlines.
84683         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84684         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84685         if one of x and y is very large and the other is subnormal.
84686         * sysdeps/s390/fpu/s_fmaf.c: New file.
84687         * sysdeps/s390/fpu/s_fma.c: New file.
84688         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84689         * sysdeps/powerpc/fpu/s_fma.S: New file.
84690         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84691         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84692         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84694 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84696         [BZ #3268]
84697         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84698         fma tests.
84699         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84700         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84701         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84702         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84703         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84704         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84705         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84707 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84709         [BZ #12078]
84710         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84711         * posix/bug-regex31.input: Add test case.
84713 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84715         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84716         * posix/bug-regex31.input: New file.
84718         [BZ #12078]
84719         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84720         (parse_sub_exp): Fix last change, use postorder.
84722         * posix/bug-regex31.c: New file.
84723         * posix/Makefile: Add rules to build and run bug-regex31.
84725         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84727         [BZ #12078]
84728         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84730         [BZ #12108]
84731         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84732         to have entries in sys_siglist.
84734         [BZ #12093]
84735         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84736         be NULL.
84738 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84740         [BZ #3268]
84741         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84742         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84743         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84744         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84745         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84746         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84747         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84748         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84749         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84750         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84751         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84752         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84753         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84754         * math/ftestexcept.c (fetestexcept): Likewise.
84755         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84756         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84757         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84758         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84759         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84760         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84761         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84763 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84765         [BZ #12107]
84766         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84767         newline.
84769 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84771         * string/bug-strstr1.c: New file.
84772         * string/Makefile: Add rules to build and run bug-strstr1.
84774 2010-10-05  Eric Blake  <eblake@redhat.com>
84776         [BZ #12092]
84777         * string/str-two-way.h (two_way_long_needle): Always clear memory
84778         when skipping input due to the shift table.
84780 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84782         [BZ #12005]
84783         * malloc/mcheck.c: Handle large requests.
84785         [BZ #12077]
84786         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84787         for strncmp and strncasecmp.
84788         * string/stratcliff.c: Add tests for strcmp and strncmp.
84789         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84791 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84793         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84794         __set_fpscr.
84796 2010-09-30  Andreas Jaeger  <aj@suse.de>
84798         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84799         (CGROUP_SUPER_MAGIC): Define.
84800         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84801         Handle btrfs and cgroup file systems.
84802         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84803         Likewise.
84805 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84807         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84808         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84810 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84812         [BZ #12067]
84813         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84814         trying to locate the ELF header.
84816 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84818         [BZ #11611]
84819         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84820         Mask out sign-bit copies when constructing f_fsid.
84822 2010-09-24  Petr Baudis <pasky@suse.cz>
84824         * debug/stack_chk_fail_local.c: Add missing licence exception.
84825         * debug/warning-nop.c: Likewise.
84827 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84829         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84830         implementing getdents64 using getdents syscall, set d_type if
84831         __ASSUME_GETDENTS32_D_TYPE.
84833 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84835         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84836         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84838 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84840         [BZ #12037]
84841         * posix/unistd.h: Undo change of feature selection for ftruncate from
84842         2010-01-11.
84844 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84846         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84847         detection.
84849 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84851         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84852         fanotify_mark.
84853         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84855 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84857         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84858         variables after CHECK_SP call.
84859         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84861 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84862             Ulrich Drepper  <drepper@redhat.com>
84864         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84865         re-relocationg ld.so.
84866         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84867         _dl_init_paths call.
84868         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84869         here anymore.
84871 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84873         * resolv/res_init.c (__res_vinit): Count the default server we added.
84875 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84876             Ulrich Drepper  <drepper@redhat.com>
84878         [BZ #11968]
84879         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84880         (____longjmp_chk): Use %ebx for saving value across system call.
84881         Add unwind info.
84883 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84885         * manual/Makefile: Don't mix pattern rules with normal rules.
84887 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84889         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84890         operation.
84891         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84892         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84893         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84894         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84895         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84896         Likewise.
84898 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84900         [BZ #11979]
84901         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84902         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84904 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84906         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84907         * sysdeps/x86_64/addmul_1.S: Likewise.
84908         * sysdeps/x86_64/lshift.S: Likewise.
84909         * sysdeps/x86_64/mul_1.S: Likewise.
84910         * sysdeps/x86_64/rshift.S: Likewise.
84911         * sysdeps/x86_64/sub_n.S: Likewise.
84912         * sysdeps/x86_64/submul_1.S: Likewise.
84914 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84916         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84917         Define __sched_param instead of SCHED_* and sched_param when
84918         <bits/sched.h> is included with __need_schedparam defined.
84919         * bits/sched.h [__need_schedparam]
84920         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84921         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84922         (__defined_schedparam): Define to 1.
84923         (__sched_param): New structure, identical to sched_param.
84924         (__need_schedparam): Undefine.
84926 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84928         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84929         (epoll_create1): Declare.
84931         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84933 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84935         [BZ #7066]
84936         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84937         shifting retval into place.
84939 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84941         * nis/rpcsvc/nis.h: Update copyright notice.
84942         * nis/rpcsvc/nis.x: Likewise.
84943         * nis/rpcsvc/nis_callback.h: Likewise.
84944         * nis/rpcsvc/nis_callback.x: Likewise.
84945         * nis/rpcsvc/nis_object.x: Likewise.
84946         * nis/rpcsvc/nis_tags.h: Likewise.
84947         * nis/rpcsvc/yp.h: Likewise.
84948         * nis/rpcsvc/yp.x: Likewise.
84949         * nis/rpcsvc/ypupd.h: Likewise.
84950         * nis/yp_xdr.c: Likewise.
84951         * nis/ypupdate_xdr.c: Likewise.
84953         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84954         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84955         (pmap_getport): Use __libc_rpc_getport.
84956         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84957         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84958         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84960 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84963         fanotify_mark.
84965 2010-08-27  Roland McGrath  <roland@redhat.com>
84967         * sysdeps/i386/i686/multiarch/Makefile
84968         (CFLAGS-varshift.c): New variable.
84970 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84972         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84973         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84975         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84977         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84979 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84981         * sysdeps/x86_64/strlen.S: Unroll the loop.
84982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84983         strlen-sse2 strlen-sse2-bsf.
84984         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84985         __strlen_no_bsf if bit_Slow_BSF is set.
84986         (__strlen_sse42): Removed.
84987         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84988         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84990 2010-08-25  Roland McGrath  <roland@redhat.com>
84992         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84993         * sysdeps/x86_64/multiarch/varshift.c: New file.
84994         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84995         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84996         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84997         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84999 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85001         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85002         strlen-sse2 strlen-sse2-bsf.
85003         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85004         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85005         (__strlen_sse2): Removed.
85006         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85007         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85009         bit_Slow_BSF for Atom.
85010         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85011         (index_Slow_BSF): Define.
85012         (HAS_SLOW_BSF): Define.
85014 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85016         [BZ #10851]
85017         * resolv/res_init.c (__res_vinit): When no server address at all
85018         is given default to loopback.
85020 2010-08-24  Roland McGrath  <roland@redhat.com>
85022         * configure.in: Remove config-name.h generation.
85023         * configure: Regenerated.
85024         * config-name.in: File removed.
85025         * scripts/config-uname.sh: New file.
85026         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85027         ($(objdir)config-name.h): New target.
85029         * sunrpc/rpc_parse.h: Avoid nested comment.
85031 2010-08-24  Richard Henderson  <rth@redhat.com>
85032             Ulrich Drepper  <drepper@redhat.com>
85033             H.J. Lu  <hongjiu.lu@intel.com>
85035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85036         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85037         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85038         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85039         _mm_alignr_epi8 with _mm_loadu_si128.
85040         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85041         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85042         (__m128i_shift_right): Removed.
85043         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85044         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85045         * sysdeps/x86_64/multiarch/varshift.h: New file.
85046         * sysdeps/x86_64/multiarch/varshift.S: New file.
85048 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85050         * configure.in: Move assembler checks to before sysdep dir checking.
85052 2010-08-20  Petr Baudis  <pasky@suse.cz>
85054         * LICENSES: Sync the sunrpc license.
85056 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85058         * sunrpc/auth_des.c: Update copyright notice once again.
85059         * sunrpc/auth_none.c: Likewise.
85060         * sunrpc/auth_unix.c: Likewise.
85061         * sunrpc/authdes_prot.c: Likewise.
85062         * sunrpc/authuxprot.c: Likewise.
85063         * sunrpc/bindrsvprt.c: Likewise.
85064         * sunrpc/clnt_gen.c: Likewise.
85065         * sunrpc/clnt_perr.c: Likewise.
85066         * sunrpc/clnt_raw.c: Likewise.
85067         * sunrpc/clnt_simp.c: Likewise.
85068         * sunrpc/clnt_tcp.c: Likewise.
85069         * sunrpc/clnt_udp.c: Likewise.
85070         * sunrpc/clnt_unix.c: Likewise.
85071         * sunrpc/des_crypt.c: Likewise.
85072         * sunrpc/des_soft.c: Likewise.
85073         * sunrpc/get_myaddr.c: Likewise.
85074         * sunrpc/getrpcport.c: Likewise.
85075         * sunrpc/key_call.c: Likewise.
85076         * sunrpc/key_prot.c: Likewise.
85077         * sunrpc/openchild.c: Likewise.
85078         * sunrpc/pm_getmaps.c: Likewise.
85079         * sunrpc/pm_getport.c: Likewise.
85080         * sunrpc/pmap_clnt.c: Likewise.
85081         * sunrpc/pmap_prot.c: Likewise.
85082         * sunrpc/pmap_prot2.c: Likewise.
85083         * sunrpc/pmap_rmt.c: Likewise.
85084         * sunrpc/rpc/auth.h: Likewise.
85085         * sunrpc/rpc/auth_unix.h: Likewise.
85086         * sunrpc/rpc/clnt.h: Likewise.
85087         * sunrpc/rpc/des_crypt.h: Likewise.
85088         * sunrpc/rpc/key_prot.h: Likewise.
85089         * sunrpc/rpc/netdb.h: Likewise.
85090         * sunrpc/rpc/pmap_clnt.h: Likewise.
85091         * sunrpc/rpc/pmap_prot.h: Likewise.
85092         * sunrpc/rpc/pmap_rmt.h: Likewise.
85093         * sunrpc/rpc/rpc.h: Likewise.
85094         * sunrpc/rpc/rpc_des.h: Likewise.
85095         * sunrpc/rpc/rpc_msg.h: Likewise.
85096         * sunrpc/rpc/svc.h: Likewise.
85097         * sunrpc/rpc/svc_auth.h: Likewise.
85098         * sunrpc/rpc/types.h: Likewise.
85099         * sunrpc/rpc/xdr.h: Likewise.
85100         * sunrpc/rpc_clntout.c: Likewise.
85101         * sunrpc/rpc_cmsg.c: Likewise.
85102         * sunrpc/rpc_common.c: Likewise.
85103         * sunrpc/rpc_cout.c: Likewise.
85104         * sunrpc/rpc_dtable.c: Likewise.
85105         * sunrpc/rpc_hout.c: Likewise.
85106         * sunrpc/rpc_main.c: Likewise.
85107         * sunrpc/rpc_parse.c: Likewise.
85108         * sunrpc/rpc_parse.h: Likewise.
85109         * sunrpc/rpc_prot.c: Likewise.
85110         * sunrpc/rpc_sample.c: Likewise.
85111         * sunrpc/rpc_scan.c: Likewise.
85112         * sunrpc/rpc_scan.h: Likewise.
85113         * sunrpc/rpc_svcout.c: Likewise.
85114         * sunrpc/rpc_tblout.c: Likewise.
85115         * sunrpc/rpc_util.c: Likewise.
85116         * sunrpc/rpc_util.h: Likewise.
85117         * sunrpc/rpcinfo.c: Likewise.
85118         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85119         * sunrpc/rpcsvc/key_prot.x: Likewise.
85120         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85121         * sunrpc/rpcsvc/mount.x: Likewise.
85122         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85123         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85124         * sunrpc/rpcsvc/rex.x: Likewise.
85125         * sunrpc/rpcsvc/rstat.x: Likewise.
85126         * sunrpc/rpcsvc/rusers.x: Likewise.
85127         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85128         * sunrpc/rpcsvc/spray.x: Likewise.
85129         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85130         * sunrpc/rtime.c: Likewise.
85131         * sunrpc/svc.c: Likewise.
85132         * sunrpc/svc_auth.c: Likewise.
85133         * sunrpc/svc_authux.c: Likewise.
85134         * sunrpc/svc_raw.c: Likewise.
85135         * sunrpc/svc_run.c: Likewise.
85136         * sunrpc/svc_simple.c: Likewise.
85137         * sunrpc/svc_tcp.c: Likewise.
85138         * sunrpc/svc_udp.c: Likewise.
85139         * sunrpc/svc_unix.c: Likewise.
85140         * sunrpc/svcauth_des.c: Likewise.
85141         * sunrpc/xcrypt.c: Likewise.
85142         * sunrpc/xdr.c: Likewise.
85143         * sunrpc/xdr_array.c: Likewise.
85144         * sunrpc/xdr_float.c: Likewise.
85145         * sunrpc/xdr_mem.c: Likewise.
85146         * sunrpc/xdr_rec.c: Likewise.
85147         * sunrpc/xdr_ref.c: Likewise.
85148         * sunrpc/xdr_sizeof.c: Likewise.
85149         * sunrpc/xdr_stdio.c: Likewise.
85151         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85152         handling.
85154 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85156         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85158 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85160         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85161         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85162         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85163         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85164         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85165         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85166         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85167         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85168         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85169         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85170         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85171         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85172         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85173         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85175 2010-07-26  Anton Blanchard  <anton@samba.org>
85177         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85178         * malloc/arena.c (heap_trim): Likewise.
85180 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85182         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85183         here.  Not...
85184         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85185         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85187 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85189         * sysdeps/i386/elf/Makefile: New file.
85191 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85193         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85194         from fanotify_init.
85195         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85196         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85198 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85200         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85201         of strncasecmp_l.
85202         * sysdeps/multiarch/strcmp.S: Likewise.
85204 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85206         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85207         strncase_l-nonascii.
85208         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85209         Add strncase_l-ssse3.
85210         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85211         * sysdeps/x86_64/strcmp.S: Likewise.
85212         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85213         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85214         * sysdeps/x86_64/strncase.S: New file.
85215         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85216         * sysdeps/x86_64/strncase_l.S: New file.
85217         * string/Makefile (strop-tests): Add strncasecmp.
85218         * string/test-strncasecmp.c: New file.
85220         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85221         warning.
85223         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85224         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85226 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85228         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85230 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85232         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85233         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85234         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85236 2010-05-01  Alan Modra  <amodra@gmail.com>
85238         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85239         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85240         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85241         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85242         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85243         tidying.  Don't tail-call __sigjmp_save for static lib.
85244         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85245         save location.
85246         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85247         (CALL_MCOUNT): Add eh info, and nop after bl.
85248         (TAIL_CALL_SYSCALL_ERROR): New macro.
85249         (PSEUDO_RET): Use it.
85250         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85251         Correct save location of integer regs and cr.
85252         (_dl_profile_resolve): Correct cr save location.  Delete nops
85253         after bl when SHARED.  Reduce cfi size a little by better
85254         placement of cfi directives.
85255         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85256         make a stack frame.  Instead use parm save area as a temp.
85257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85258         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85260         Don't make a stack frame for parent, use parm save area.
85261         Increase child stack frame to 112 bytes.  Don't save unused reg,
85262         and adjust reg usage.  Set up cfi on error recovery and
85263         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85265         (__makecontext): Add dummy nop after jump to exit.
85266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85267         Use correct parm save area and cr save, reduce stack frame.
85268         Correct cfi for possible PSEUDO_RET frame setup.
85269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85270         Branch to local label emitted by PSEUDO_RET rather than
85271         __syscall_error.
85273 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85275         [BZ #11904]
85276         * locale/programs/locale.c (print_assignment): New function.
85277         (show_locale_vars): Use it.
85279 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85281         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85282         field.
85283         (struct statfs64): Likewise.
85284         (_STATFS_F_FLAGS): Define.
85285         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85286         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85287         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85288         (ST_VALID): Define locally.
85289         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85290         __statvfs_getflags, use the provided value.
85291         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85292         __ASSUME_STATFS_F_FLAGS.
85294         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85296         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85297         Add sys/fanotify.h.
85298         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85299         fanotify_mask for GLIBC_2.13.
85300         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85301         fanotify_init and fanotify_mark.
85302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85303         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85305         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85306         Add prlimit.
85307         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85308         prlimit64 for GLIBC_2.13.
85309         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85310         prlimit64.
85311         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85312         syscall.
85313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85314         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85315         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85316         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85317         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85318         add prlimit alias.
85319         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85321         [BZ #11903]
85322         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85323         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85325         * nss/Makefile: Add rules to build and run tst-nss-test1.
85326         * shlib-versions: Add entry for libnss_test1.
85327         * nss/nss_test1.c: New file.
85328         * nss/tst-nss-test1.c: New file.
85330         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85331         (__nss_configure_lookup): Set appropriate entry in
85332         __nss_configure_lookup to true.
85333         * nss/nsswitch.h: Define enum with indeces of databases in
85334         databases and __nss_database_custom arrays.  Declare
85335         __nss_database_custom.
85336         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85337         to avoid using nscd when custom rules are installed.
85338         * nss/getXXbyYY_r.c: Likewise.
85339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85341         * nss/nss_files/files-parse.c: Whitespace fixes.
85343 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85345         [BZ #11883]
85346         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85347         * posix/fnmatch_loop.c: Likewise.
85349 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85351         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85352         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85353         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85354         * Versions.def [GLIBC_2.13]: Add.
85356 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85358         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85359         Also fail if tpwd after pwuid call is NULL.
85361 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85363         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85364         when converting to ms.
85366 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85368         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85369         EOPNOTSUPP errors with ENOTTY.
85370         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85371         EOPNOTSUPP errors with ENOTTY.
85373 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85375         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85376         Add strcasecmp_l-ssse3.
85377         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85378         strcasecmp.
85379         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85380         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85381         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85383 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85385         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85387         * string/Makefile (strop-tests): Add strcasecmp.
85388         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85389         strcasecmp_l-nonascii.
85390         (gen-as-const-headers): Add locale-defines.sym.
85391         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85392         * sysdeps/x86_64/strcasecmp.S: New file.
85393         * sysdeps/x86_64/strcasecmp_l.S: New file.
85394         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85395         * sysdeps/x86_64/locale-defines.sym: New file.
85396         * string/test-strcasecmp.c: New file.
85398         * string/test-strcasestr.c: Test both ends of the range of characters.
85399         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85401 2010-07-29  Roland McGrath  <roland@redhat.com>
85403         [BZ #11856]
85404         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85406 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85408         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85409         for ld.so.
85411 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85413         * manual/memory.texi (Malloc Tunable Parameters): Document
85414         M_PERTURB.
85416 2010-07-26  Roland McGrath  <roland@redhat.com>
85418         [BZ #11840]
85419         * configure.in (-fgnu89-inline check): Set and substitute
85420         gnu89_inline, not libc_cv_gnu89_inline.
85421         * configure: Regenerated.
85422         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85424 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85426         * string/test-strnlen.c: New file.
85427         * string/Makefile (strop-tests): Add strnlen.
85428         * string/tester.c (test_strnlen): Add a few more test cases.
85429         * string/tst-strlen.c: Better error reporting.
85431         * sysdeps/x86_64/strnlen.S: New file.
85433 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85435         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85436         lower-latency instructions.
85438 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85440         * string/test-strcasestr.c: New file.
85441         * string/test-strstr.c: New file.
85442         * string/Makefile (strop-tests): Add strstr and strcasestr.
85443         * string/str-two-way.h: Don't undefine MAX.
85444         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85446 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85448         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85449         strcasestr-nonascii.
85450         (CFLAGS-strcasestr-nonascii.c): Define.
85451         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85452         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85453         Remove unused attribute.
85455 2010-07-20  Roland McGrath  <roland@redhat.com>
85457         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85458         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85459         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85460         like LD_HWCAP_MASK can disable hwcaps.
85462 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85464         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85466 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85468         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85469         call in strcasestr.
85470         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85471         __strcasestr_sse42_nonascii.
85472         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85473         strcasestr-nonascii.c.
85474         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85476 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85479         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85480         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85481         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85483 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85485         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85486         fcntl.
85488 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85490         [BZ #11577]
85491         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85492         dl_signal_cerror.
85494 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85496         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85497         _PC_PIPE_BUF using F_GETPIPE_SZ.
85499 2010-07-05  Roland McGrath  <roland@redhat.com>
85501         * manual/arith.texi (Rounding Functions): Fix rint description
85502         implicit in round description.
85504 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85506         * elf/Makefile: Fix linking for a few tests to make recent linker
85507         happy.
85509 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85511         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85512         $(common-objpfx)libc_nonshared.a.
85514 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85516         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85517         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85518         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85519         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85520         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85521         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85522         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85523         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85538         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85539         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85540         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85541         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85542         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85543         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85544         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85545         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85546         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85547         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85548         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85549         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85565 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85567         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85568         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85569         * string/memmove.c (memmove): Renamed to ...
85570         (MEMMOVE): ...this.  Default to memmove.
85571         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85572         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85573         (END_CHK): Define.
85574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85575         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85576         mempcpy-ssse3-back memmove-ssse3-back.
85577         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85578         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85579         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85580         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85581         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85582         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85583         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85584         * sysdeps/x86_64/multiarch/memmove.c: New file.
85585         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85586         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85587         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85588         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85590         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85591         Define.
85592         (index_Fast_Copy_Backward): Define.
85593         (HAS_ARCH_FEATURE): Define.
85594         (HAS_FAST_REP_STRING): Define.
85595         (HAS_FAST_COPY_BACKWARD): Define.
85597 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85599         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85600         Restore proper fallback handling.
85602 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85604         [BZ #11701]
85605         * posix/group_member.c (__group_member): Correct checking loop.
85607         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85608         OOM in getpwuid_r correctly.  Return error number when the caller
85609         should return, otherwise -1.
85610         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85611         call returning > 0 value.
85612         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85614 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85616         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85617         libc_nonshared.a from targets in modules-names.
85619 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85621         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85622         requires it.
85624 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85626         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85627         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85628         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85629         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85631 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85633         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85635 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85637         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85638         and F_GETPIPE_SZ.
85639         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85640         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85641         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85642         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85643         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85644         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85646 2010-06-14  Roland McGrath  <roland@redhat.com>
85648         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85650 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85652         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85653         __REDIRECT followed by __THROW.
85654         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85655         * posix/getopt.h (getopt): Likewise.
85657 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85659         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85660         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85661         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85662         in AT_FLAGS.
85663         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85664         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85666 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85668         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85670 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85672         [BZ #11640]
85673         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85674         Properly check family and model.
85676 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85678         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85680 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85682         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85684 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85686         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85687         symbol reference.
85689 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85691         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85692         symbol reference.
85694 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85696         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85697         and internal_recvmmsg.
85698         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85699         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85700         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85701         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85703         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85704         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85705         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85707 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85709         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85711 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85713         POWER7 optimizations.
85714         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85715         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85717 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85719         * version.h: Update for 2.13 development version.
85721 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85723         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85724         exceptions.  Return 0.
85726 2010-05-07  Roland McGrath  <roland@redhat.com>
85728         * elf/ldconfig.c (main): Add a const.
85730 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85732         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85733         (args_options): Add no-idn option.
85734         (ahosts_keys_int): Add idn_flags to ai_flags.
85735         (parse_option): Handle 'i' option to clear idn_flags.
85737         * malloc/malloc.c (_int_free): Possible race in the most recently
85738         added check.  Only act on the data if no current modification
85739         happened.
85741 See ChangeLog.17 for earlier changes.